blob: 7138dab4869ba48c60d55af2bd3500fdb7ea759f [file] [log] [blame]
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +00001<?xml version="1.0" encoding="UTF-8"?>
Jaroslaw Cwiklikb1e2e062013-11-15 21:10:50 +00002<!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +000010
Jaroslaw Cwiklikb1e2e062013-11-15 21:10:50 +000011 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
Jaroslaw Cwiklik266dcfd2018-04-30 18:57:27 +000019--><!-- This pom serves as the release top level project for the multi-module
20 project UIMA-DUCC --><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +000021 <modelVersion>4.0.0</modelVersion>
22
23 <parent>
24 <groupId>org.apache.uima</groupId>
25 <artifactId>uima-ducc-parent</artifactId>
Jaroslaw Cwiklik15f3e2f2019-04-02 18:32:16 +000026 <version>3.0.1-SNAPSHOT</version>
Jaroslaw Cwiklikdee2db42013-01-07 22:29:22 +000027 <relativePath>uima-ducc-parent/pom.xml</relativePath>
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +000028 </parent>
29
30 <artifactId>uima-ducc</artifactId>
31 <packaging>pom</packaging>
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +000032 <name>Apache UIMA-DUCC: ${project.artifactId}</name>
33 <description>The top project for UIMA-DUCC</description>
34 <url>${uimaWebsiteUrl}</url>
35
Jaroslaw Cwiklika9079702013-04-25 18:34:17 +000036
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +000037 <!-- Special inheritance note even though the <scm> element that follows
38 is exactly the same as those in super poms, it cannot be inherited because
39 there is some special code that computes the connection elements from the
40 chain of parent poms, if this is omitted. Keeping this a bit factored allows
41 cutting/pasting the <scm> element, and just changing the following two properties -->
42 <scm>
43 <connection>
Jaroslaw Cwiklik15f3e2f2019-04-02 18:32:16 +000044 scm:svn:http://svn.apache.org/repos/asf/uima/uima-ducc/trunk
Jaroslaw Cwiklika9079702013-04-25 18:34:17 +000045 </connection>
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +000046 <developerConnection>
Jaroslaw Cwiklik15f3e2f2019-04-02 18:32:16 +000047 scm:svn:https://svn.apache.org/repos/asf/uima/uima-ducc/trunk
Jaroslaw Cwiklika9079702013-04-25 18:34:17 +000048 </developerConnection>
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +000049 <url>
Jaroslaw Cwiklik15f3e2f2019-04-02 18:32:16 +000050 http://svn.apache.org/viewvc/uima/uima-ducc/trunk
Jaroslaw Cwiklika9079702013-04-25 18:34:17 +000051 </url>
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +000052 </scm>
Jaroslaw Cwiklika9079702013-04-25 18:34:17 +000053
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +000054 <!-- override pom setting in the build project. JIRA 5.1 needs different
55 URL -->
56 <issueManagement>
57 <system>Jira</system>
58 <url>https://issues.apache.org/jira/browse/UIMA</url>
59 </issueManagement>
60
61 <!-- name the artifacts (zip,tar) -->
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +000062 <properties>
63 <assemblyFinalName>uima-ducc-${project.version}</assemblyFinalName>
64 </properties>
65
66 <!-- declare dependency on each DUCC project -->
Jaroslaw Cwiklikefc46122013-12-11 21:59:42 +000067 <dependencyManagement>
68 <dependencies>
Jaroslaw Cwiklik525ed462016-01-08 20:38:14 +000069
70 <dependency>
71 <groupId>org.apache.uima</groupId>
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +000072 <artifactId>uima-ducc-common</artifactId>
73 <version>${project.version}</version>
74 </dependency>
Jaroslaw Cwiklik525ed462016-01-08 20:38:14 +000075
76
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +000077 <dependency>
78 <groupId>org.apache.uima</groupId>
79 <artifactId>uima-ducc-transport</artifactId>
80 <version>${project.version}</version>
81 </dependency>
82 <dependency>
83 <groupId>org.apache.uima</groupId>
84 <artifactId>uima-ducc-agent</artifactId>
85 <version>${project.version}</version>
86 </dependency>
87 <dependency>
88 <groupId>org.apache.uima</groupId>
89 <artifactId>uima-ducc-pm</artifactId>
90 <version>${project.version}</version>
91 </dependency>
92 <dependency>
93 <groupId>org.apache.uima</groupId>
94 <artifactId>uima-ducc-rm</artifactId>
95 <version>${project.version}</version>
96 </dependency>
97 <dependency>
98 <groupId>org.apache.uima</groupId>
99 <artifactId>uima-ducc-sm</artifactId>
100 <version>${project.version}</version>
101 </dependency>
102 <dependency>
103 <groupId>org.apache.uima</groupId>
104 <artifactId>uima-ducc-orchestrator</artifactId>
105 <version>${project.version}</version>
106 </dependency>
107 <dependency>
108 <groupId>org.apache.uima</groupId>
109 <artifactId>uima-ducc-cli</artifactId>
110 <version>${project.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>org.apache.uima</groupId>
Jaroslaw Cwiklikfe538cc2013-01-11 16:24:46 +0000114 <artifactId>uima-ducc-web</artifactId>
115 <version>${project.version}</version>
116 </dependency>
Jim Challengera7c30532013-01-24 18:13:55 +0000117 <dependency>
118 <groupId>org.apache.uima</groupId>
119 <artifactId>uima-ducc-examples</artifactId>
120 <version>${project.version}</version>
121 </dependency>
Jaroslaw Cwiklik88e88c62014-03-17 18:01:27 +0000122 <dependency>
123 <groupId>org.apache.uima</groupId>
Jim Challenger74098e72015-09-15 14:31:24 +0000124 <artifactId>uima-ducc-database</artifactId>
125 <version>${project.version}</version>
126 </dependency>
127 <dependency>
128 <groupId>org.apache.uima</groupId>
Jaroslaw Cwiklik442f3ad2014-10-27 19:50:57 +0000129 <artifactId>uima-ducc-user</artifactId>
130 <version>${project.version}</version>
131 </dependency>
132 <dependency>
133 <groupId>org.apache.uima</groupId>
Jaroslaw Cwiklik8a35bf72019-01-23 19:57:01 +0000134 <artifactId>uima-ducc-workitem-v2</artifactId>
135 <version>${project.version}</version>
136 </dependency>
137 <dependency>
138 <groupId>org.apache.uima</groupId>
139 <artifactId>uima-ducc-workitem-v3</artifactId>
140 <version>${project.version}</version>
141 </dependency>
142 <dependency>
143 <groupId>org.apache.uima</groupId>
Jaroslaw Cwiklik442f3ad2014-10-27 19:50:57 +0000144 <artifactId>uima-ducc-container</artifactId>
145 <version>${project.version}</version>
146 </dependency>
Jaroslaw Cwiklikefc46122013-12-11 21:59:42 +0000147 </dependencies>
148 </dependencyManagement>
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +0000149
Jaroslaw Cwiklikefc46122013-12-11 21:59:42 +0000150 <dependencies>
Jaroslaw Cwiklik525ed462016-01-08 20:38:14 +0000151
Jaroslaw Cwiklik2ca2c2f2016-03-04 16:01:53 +0000152 <!--dependency>
Jaroslaw Cwiklik525ed462016-01-08 20:38:14 +0000153 <groupId>org.apache.uima</groupId>
154 <artifactId>uima-as</artifactId>
155 <type>tar.gz</type>
Jaroslaw Cwiklik2ca2c2f2016-03-04 16:01:53 +0000156 </dependency -->
Jaroslaw Cwiklik525ed462016-01-08 20:38:14 +0000157
158
Jaroslaw Cwiklikefc46122013-12-11 21:59:42 +0000159 <dependency>
160 <groupId>org.apache.uima</groupId>
161 <artifactId>uima-ducc-common</artifactId>
162 </dependency>
163 <dependency>
164 <groupId>org.apache.uima</groupId>
165 <artifactId>uima-ducc-transport</artifactId>
166 </dependency>
167 <dependency>
168 <groupId>org.apache.uima</groupId>
169 <artifactId>uima-ducc-agent</artifactId>
170 </dependency>
171 <dependency>
172 <groupId>org.apache.uima</groupId>
173 <artifactId>uima-ducc-pm</artifactId>
174 </dependency>
175 <dependency>
176 <groupId>org.apache.uima</groupId>
177 <artifactId>uima-ducc-rm</artifactId>
178 </dependency>
179 <dependency>
180 <groupId>org.apache.uima</groupId>
181 <artifactId>uima-ducc-sm</artifactId>
182 </dependency>
183 <dependency>
184 <groupId>org.apache.uima</groupId>
185 <artifactId>uima-ducc-orchestrator</artifactId>
186 </dependency>
187 <dependency>
188 <groupId>org.apache.uima</groupId>
189 <artifactId>uima-ducc-cli</artifactId>
190 </dependency>
191 <dependency>
192 <groupId>org.apache.uima</groupId>
Jaroslaw Cwiklikefc46122013-12-11 21:59:42 +0000193 <artifactId>uima-ducc-web</artifactId>
194 </dependency>
195 <dependency>
196 <groupId>org.apache.uima</groupId>
197 <artifactId>uima-ducc-examples</artifactId>
198 </dependency>
Jaroslaw Cwiklik88e88c62014-03-17 18:01:27 +0000199 <dependency>
200 <groupId>org.apache.uima</groupId>
Jim Challenger74098e72015-09-15 14:31:24 +0000201 <artifactId>uima-ducc-database</artifactId>
202 </dependency>
203 <dependency>
204 <groupId>org.apache.uima</groupId>
Jaroslaw Cwiklik442f3ad2014-10-27 19:50:57 +0000205 <artifactId>uima-ducc-user</artifactId>
206 </dependency>
207 <dependency>
208 <groupId>org.apache.uima</groupId>
Jaroslaw Cwiklik8a35bf72019-01-23 19:57:01 +0000209 <artifactId>uima-ducc-workitem-v2</artifactId>
210 </dependency>
211 <dependency>
212 <groupId>org.apache.uima</groupId>
213 <artifactId>uima-ducc-workitem-v3</artifactId>
214 </dependency>
215
216 <dependency>
217 <groupId>org.apache.uima</groupId>
Jaroslaw Cwiklik442f3ad2014-10-27 19:50:57 +0000218 <artifactId>uima-ducc-container</artifactId>
219 </dependency>
Jaroslaw Cwiklikefc46122013-12-11 21:59:42 +0000220 </dependencies>
Jim Challenger74098e72015-09-15 14:31:24 +0000221 <build>
Jaroslaw Cwiklike32a08c2019-02-12 15:42:52 +0000222 <resources />
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +0000223
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +0000224
225
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +0000226 <plugins>
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +0000227
Jaroslaw Cwiklik29181ac2018-02-13 01:58:57 +0000228<plugin>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-resources-plugin</artifactId>
Jaroslaw Cwiklik29181ac2018-02-13 01:58:57 +0000231 <executions>
232 <execution>
233 <id>readme-releasenotes-version-replace</id>
234 <phase>process-resources</phase>
235 <goals>
236 <goal>copy-resources</goal>
237 </goals>
238 <configuration>
239 <outputDirectory>${project.basedir}/target</outputDirectory>
240 <resources>
241 <resource>
242 <directory>${project.basedir}</directory>
243 <includes>
244 <include>README</include>
245 <include>RELEASE_NOTES.html</include>
246 </includes>
247 <filtering>true</filtering>
248 </resource>
249 </resources>
250 <encoding>UTF-8</encoding>
251 </configuration>
252 </execution>
253 </executions>
254</plugin>
255
256
257
Jaroslaw Cwiklike49b63a2013-11-18 22:03:44 +0000258 <!-- This java doc config is for building the ones distributed with the
259 bin packaging, and also posted on our website. -->
260 <plugin>
261 <artifactId>maven-javadoc-plugin</artifactId>
262 <executions>
263 <execution>
264 <id>javadocs-distr</id>
265 <phase>prepare-package</phase> <!-- must be before assembly -->
266 <!--phase>deploy</phase --> <!-- comment above and uncomment to disable javadocs, for testing/experimentation,
267 with assembly:assembly -->
268 <goals>
269 <goal>javadoc</goal>
270 </goals>
271 <configuration>
Burn L. Lewisb18e82a2017-03-31 14:58:57 +0000272 <source>1.7</source>
Jaroslaw Cwiklike49b63a2013-11-18 22:03:44 +0000273 <quiet>true</quiet>
274 <groups>
275 <group>
276 <title>Packages</title>
277 <packages>*</packages>
278 </group>
279 </groups>
280
281 <!--verbose>true</verbose -->
282 <sourcepath>
283 uima-ducc-common/src/main/java:uima-ducc-cli/src/main/java
284 </sourcepath>
285
286 <show>
Jim Challengerf7cef492014-06-13 13:07:47 +0000287 package
Jaroslaw Cwiklike49b63a2013-11-18 22:03:44 +0000288 </show>
289
290 <subpackages>org.apache.uima</subpackages>
291
292 <excludePackageNames>
293 org.apache.uima.ducc.cli.*:org.apache.uima.ducc.api.*:org.apache.uima.ducc.common.*:org.apache.uima.ducc.transport.*:org.apache.uima.ducc.agent.*:org.apache.uima.ducc.examples.*:org.apache.uima.ducc.orchestrator.*:org.apache.uima.ducc.pm.*:org.apache.uima.ducc.rm.*:org.apache.uima.ducc.sm.*:
294 </excludePackageNames>
295
296 <!-- add a few classes in impl packages that are directly used by
297 user code -->
298 <additionalparam>
Jaroslaw Cwiklikafdef292017-08-01 14:18:15 +0000299
Jaroslaw Cwiklike49b63a2013-11-18 22:03:44 +0000300 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/IServiceStatistics.java
Jim Challengere30003c2015-04-17 20:04:57 +0000301 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/main/DuccRmAdmin.java
302 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/DuccAdminEvent.java
303 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmAdminQLoad.java
304 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmAdminQLoadReply.java
305 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmAdminQOccupancy.java
306 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmAdminQOccupancyReply.java
307 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmAdminReconfigure.java
308 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmAdminReply.java
309 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmAdminVaryOff.java
310 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmAdminVaryOn.java
311 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmQueriedClass.java
312 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmQueriedMachine.java
313 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmQueriedNodepool.java
314 ${basedir}/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/admin/event/RmQueriedShare.java
Jaroslaw Cwiklike49b63a2013-11-18 22:03:44 +0000315
316 ${basedir}/uima-ducc-transport/src/main/java/org/apache/uima/ducc/transport/event/sm/IServiceReply.java
317 ${basedir}/uima-ducc-transport/src/main/java/org/apache/uima/ducc/transport/event/sm/IServiceDescription.java
318
319 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/AServicePing.java
320 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/DuccJobCancel.java
321 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/DuccJobSubmit.java
322 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/DuccManagedReservationCancel.java
323 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/DuccManagedReservationSubmit.java
324 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/DuccReservationCancel.java
325 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/DuccReservationSubmit.java
326 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/DuccServiceApi.java
327 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/DuccServiceCancel.java
328 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/DuccServiceSubmit.java
329 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/IDuccCallback.java
330 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/IDuccMonitor.java
331 ${basedir}/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java
332
333 </additionalparam>
334
335 <!-- Link these to the uimaj javadocs on apache.org -->
336 <!-- links>
337 <link>http://uima.apache.org/d/uimaj-${uimajDependencyVersion}/apidocs</link>
338 </links -->
339 <doctitle>Apache UIMA DUCC Java SDK ${project.version} User-Level
340 API Documentation</doctitle>
341 <windowtitle>Apache UIMA DUCC Java SDK ${project.version}
342 User-Level API Documentation</windowtitle>
343 </configuration>
344 </execution>
345 </executions>
346
347 </plugin>
Burn L. Lewis5627d7c2015-03-11 18:56:45 +0000348 <!-- Ducc includes the full UIMA-AS binary distribution
349 We get an unzipped version of that and unpack it into
350 target/uima-as -->
Jaroslaw Cwiklike49b63a2013-11-18 22:03:44 +0000351
Jaroslaw Cwiklik668038f2014-05-13 18:30:11 +0000352 <!-- must come before the unpack -->
353
Jaroslaw Cwiklik2ca2c2f2016-03-04 16:01:53 +0000354 <plugin>
Jaroslaw Cwiklik668038f2014-05-13 18:30:11 +0000355 <groupId>org.apache.uima</groupId>
356 <artifactId>uima-build-helper-maven-plugin</artifactId>
357 <executions>
358 <execution>
Burn L. Lewis0564b9a2015-03-10 21:48:02 +0000359 <id>get-uima-as</id>
Jaroslaw Cwiklik668038f2014-05-13 18:30:11 +0000360 <phase>prepare-package</phase>
361 <goals><goal>copy-from-apache-dist</goal></goals>
362 <configuration>
363 <version>${org.apache.uima.as.version}</version>
364 <artifactId>uima-as</artifactId>
365 <type>tar.gz</type>
366 </configuration>
367 </execution>
368 </executions>
Jaroslaw Cwiklik2ca2c2f2016-03-04 16:01:53 +0000369 </plugin>
Jaroslaw Cwiklik668038f2014-05-13 18:30:11 +0000370
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +0000371 <plugin>
Jaroslaw Cwiklik668038f2014-05-13 18:30:11 +0000372
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +0000373 <groupId>org.apache.maven.plugins</groupId>
374 <artifactId>maven-dependency-plugin</artifactId>
375 <executions>
Burn L. Lewisc4ebd7d2015-02-06 15:51:16 +0000376
Jaroslaw Cwiklik525ed462016-01-08 20:38:14 +0000377
378
379
380
Jaroslaw Cwiklik33ec3c72014-05-13 17:10:36 +0000381 <execution>
382 <!-- use the dependency:unpack goal to unpack the
383 base binary uima-as distribution -->
384 <id>unpack uima-as Bin</id>
385 <phase>prepare-package</phase>
386 <goals><goal>unpack</goal></goals>
387 <configuration>
388 <overWriteIfNewer>true</overWriteIfNewer>
389 <artifactItems>
390 <artifactItem>
391 <groupId>org.apache.uima</groupId>
392 <artifactId>uima-as</artifactId>
393 <version>${org.apache.uima.as.version}</version>
394 <type>tar.gz</type>
Jaroslaw Cwiklik2ca2c2f2016-03-04 16:01:53 +0000395 <classifier>bin</classifier>
Jaroslaw Cwiklik33ec3c72014-05-13 17:10:36 +0000396 <outputDirectory>${project.build.directory}/uima-as</outputDirectory>
397 </artifactItem>
398 </artifactItems>
399 </configuration>
400 </execution>
401
Jim Challenger10f43112015-11-01 14:09:47 +0000402 <execution>
403 <!-- use the dependency:unpack goal to unpack the
404 base binary uima-as distribution -->
405 <id>unpack cassandra Bin</id>
406 <phase>prepare-package</phase>
407 <goals><goal>unpack</goal></goals>
408 <configuration>
409 <overWriteIfNewer>true</overWriteIfNewer>
410 <artifactItems>
411 <artifactItem>
412 <groupId>org.apache.cassandra</groupId>
413 <artifactId>apache-cassandra</artifactId>
414 <version>${cassandra.server.version}</version>
415 <type>tar.gz</type>
416 <classifier>bin</classifier>
417 <outputDirectory>${project.build.directory}/cassandra</outputDirectory>
418 </artifactItem>
419 </artifactItems>
420 </configuration>
421 </execution>
422
Jaroslaw Cwiklik33ec3c72014-05-13 17:10:36 +0000423
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +0000424 <execution>
425 <!-- use the dependency:unpack goal to unpack the Jetty release -->
426 <id>unpack-jetty-distro</id>
427 <phase>prepare-package</phase>
428 <goals>
429 <goal>unpack</goal>
430 </goals>
431 <configuration>
432 <overWriteIfNewer>true</overWriteIfNewer>
433 <artifactItems>
434 <artifactItem>
435 <groupId>org.eclipse.jetty</groupId>
436 <artifactId>jetty-distribution</artifactId>
437 <version>${jetty.version}</version>
438 <type>zip</type>
439 <outputDirectory>${project.build.directory}/jetty</outputDirectory>
440 </artifactItem>
441 </artifactItems>
442 </configuration>
443 </execution>
444
445
446 </executions>
447 </plugin>
448
Jaroslaw Cwiklikc7ee3142015-07-14 17:46:12 +0000449 <!--plugin>
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +0000450 <artifactId>maven-resources-plugin</artifactId>
451 <version>2.5</version>
452 <executions>
453 <execution>
454 <id>copy-resources</id>
455 <phase>process-resources</phase>
456 <goals>
457 <goal>copy-resources</goal>
458 </goals>
459 <configuration>
460 <overwrite>true</overwrite>
461 <outputDirectory>target/maven-shared-archive-resources/META-INF</outputDirectory>
462 <resources>
463 <resource>
464 <directory>.</directory>
465 <includes>
466 <include>LICENSE</include>
467 <include>NOTICE</include>
468 </includes>
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +0000469
470
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +0000471 </resource>
472 </resources>
473 </configuration>
474 </execution>
475 </executions>
Jaroslaw Cwiklik006040b2013-12-02 20:58:00 +0000476 </plugin -->
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +0000477
Jaroslaw Cwiklik2127b822016-06-14 15:47:08 +0000478<plugin>
479 <artifactId>maven-antrun-plugin</artifactId>
480 <executions>
481 <execution>
Jaroslaw Cwiklikea0f24d2016-06-15 13:53:53 +0000482 <phase>package</phase>
Jaroslaw Cwiklik2127b822016-06-14 15:47:08 +0000483 <configuration>
484 <tasks>
485
Jaroslaw Cwiklik20e239b2016-07-13 18:12:40 +0000486 <replace dir="${project.build.directory}/uima-as/apache-uima-as-${org.apache.uima.as.version}/bin">
Jaroslaw Cwiklike32a08c2019-02-12 15:42:52 +0000487 <include name="**/dd2spring.xsl" />
488 <replacefilter token="scope=&quot;singleton&quot;" value="" />
489 <replacefilter token="spring-beans.dtd" value="spring-beans-2.0.dtd" />
Jaroslaw Cwiklik2127b822016-06-14 15:47:08 +0000490 </replace>
Jaroslaw Cwiklikf2cac9c2016-07-13 16:15:30 +0000491
Jaroslaw Cwiklike32a08c2019-02-12 15:42:52 +0000492 <chmod file="${project.build.directory}/uima-as/apache-uima-as-${org.apache.uima.as.version}/bin/dd2spring.xsl" perm="ugo+rx" />
Jaroslaw Cwiklik2127b822016-06-14 15:47:08 +0000493 </tasks>
494 </configuration>
495 <goals>
496 <goal>run</goal>
497 </goals>
498 </execution>
499 </executions>
500 </plugin>
Jaroslaw Cwiklik7a2b2dc2013-11-13 14:39:19 +0000501
Jaroslaw Cwiklik1a6d7e92013-11-15 19:26:05 +0000502 <!-- Override default assemble plug-in to use newer version of assembly
503 plugin Version 2.4 fixes a bug http://jira.codehaus.org/browse/PLXCOMP-176 -->
504 <plugin>
505 <artifactId>maven-assembly-plugin</artifactId>
Jaroslaw Cwiklik1a6d7e92013-11-15 19:26:05 +0000506 <executions>
507 <execution>
508 <id>default-cli</id>
509 <configuration>
510 <descriptors>
511 <descriptor>do-not-use--mvn-assembly-assembly--instead-use-mvn-install</descriptor>
512 </descriptors>
513 </configuration>
514 </execution>
515 <execution>
Jaroslaw Cwiklikaff0c5f2013-12-03 14:30:38 +0000516 <!-- keep the id of this plugin the same as in the uima-parent's pom.
517 Otherwise, maven will run this plugin and the parents plugin
518 and will build ducc's tgz twice -->
519 <id>uima-distr</id>
Jaroslaw Cwiklik1a6d7e92013-11-15 19:26:05 +0000520 <phase>integration-test</phase>
521 <goals>
522 <goal>single</goal>
523 </goals>
524 <configuration>
525 <descriptors>
526 <descriptor>src/main/assembly/bin.xml</descriptor>
527 </descriptors>
528 <finalName>uima-ducc-${project.version}</finalName>
529 <tarLongFileMode>gnu</tarLongFileMode>
530 </configuration>
531 </execution>
532 </executions>
533 </plugin>
Burn L. Lewis5627d7c2015-03-11 18:56:45 +0000534 <!-- May need to disable this because of a JIRA bug causing only 100 JIRas to be included.
Jaroslaw Cwiklik1fc31b32014-10-16 17:14:52 +0000535 -->
Jaroslaw Cwiklik2641f9a2016-12-20 19:54:30 +0000536 <plugin>
Jaroslaw Cwiklik51e32542014-10-13 17:55:58 +0000537 <groupId>org.apache.maven.plugins</groupId>
538 <artifactId>maven-changes-plugin</artifactId>
539 <executions>
540 <execution>
Jaroslaw Cwiklik3dd54f12019-02-13 21:27:55 +0000541 <id>default-cli</id>
Jaroslaw Cwiklik51e32542014-10-13 17:55:58 +0000542 <configuration>
Jaroslaw Cwiklik51e32542014-10-13 17:55:58 +0000543 <fixVersionIds>${jiraVersion}</fixVersionIds>
Jaroslaw Cwiklik51e32542014-10-13 17:55:58 +0000544 </configuration>
545 </execution>
546 </executions>
Jaroslaw Cwiklik2641f9a2016-12-20 19:54:30 +0000547 </plugin>
Jaroslaw Cwiklikc7ee3142015-07-14 17:46:12 +0000548<!--plugin>
Jaroslaw Cwiklik9c323c82015-06-24 13:38:59 +0000549 <artifactId>maven-antrun-plugin</artifactId>
550 <executions>
551 <execution>
552 <phase>prepare-package</phase>
553 <configuration>
554 <tasks>
555 <echo>Updating README with Ducc Version: ${project.version}</echo>
Jaroslaw Cwiklik95c24d22015-07-13 17:24:29 +0000556 <copy file="${basedir}/README" tofile="${basedir}/target/README" />
557 <replace token="@@ducc.version@@" value="${project.version}" file="${basedir}/target/README" />
558 <copy file="${basedir}/RELEASE_NOTES.html" tofile="${basedir}/target/RELEASE_NOTES.html" />
559 <replace token="@@ducc.version@@" value="${project.version}" file="${basedir}/target/RELEASE_NOTES.html" />
Jaroslaw Cwiklik9c323c82015-06-24 13:38:59 +0000560 </tasks>
561 </configuration>
562 <goals>
563 <goal>run</goal>
564 </goals>
565 </execution>
566 </executions>
Jaroslaw Cwiklikc7ee3142015-07-14 17:46:12 +0000567 </plugin -->
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +0000568 </plugins>
569 <!-- /pluginManagement -->
570 </build>
571
Jaroslaw Cwiklik42839b12013-05-23 15:36:50 +0000572 <!-- Include all ducc modules -->
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +0000573 <modules>
Jaroslaw Cwiklik1a6d7e92013-11-15 19:26:05 +0000574 <module>uima-ducc-parent</module>
575 <module>uima-ducc-cli</module>
Jaroslaw Cwiklik1a6d7e92013-11-15 19:26:05 +0000576 <module>uima-ducc-pm</module>
577 <module>uima-ducc-rm</module>
578 <module>uima-ducc-sm</module>
579 <module>uima-ducc-orchestrator</module>
580 <module>uima-ducc-common</module>
581 <module>uima-ducc-transport</module>
582 <module>uima-ducc-agent</module>
583 <module>uima-ducc-duccdocs</module>
584 <module>uima-ducc-web</module>
585 <module>uima-ducc-examples</module>
Jim Challenger74098e72015-09-15 14:31:24 +0000586 <module>uima-ducc-database</module>
Jaroslaw Cwiklik519cb112013-11-26 17:58:27 +0000587 <module>uima-ducc-spawn</module>
Jaroslaw Cwiklik442f3ad2014-10-27 19:50:57 +0000588 <module>uima-ducc-user</module>
Burn L. Lewis0564b9a2015-03-10 21:48:02 +0000589 <!-- Note: uima-ducc-container has a test dependency on uima-ducc-user so must be built after it -->
Jaroslaw Cwiklik442f3ad2014-10-27 19:50:57 +0000590 <module>uima-ducc-container</module>
Jaroslaw Cwiklik8a35bf72019-01-23 19:57:01 +0000591 <module>uima-ducc-pullservice</module>
592 <module>uima-ducc-workitem-v2</module>
593 <module>uima-ducc-workitem-v3</module>
Jaroslaw Cwiklik266dcfd2018-04-30 18:57:27 +0000594 </modules>
Jaroslaw Cwiklik6e120412013-01-02 21:05:44 +0000595</project>