pom.xml 27.1 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
thorsten.vitt's avatar
thorsten.vitt committed
2
3
4
5
6
7
<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/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>info.textgrid.services</groupId>
        <artifactId>aggregator</artifactId>
8
        <version>1.4-SNAPSHOT</version>
thorsten.vitt's avatar
thorsten.vitt committed
9
10
        <packaging>war</packaging>
        <name>TextGrid Aggregator Service</name>
11

thorsten.vitt's avatar
thorsten.vitt committed
12
13
14
15
16
17
18
19
20
21
        <developers>
                <developer>
                        <id>vitt</id>
                        <name>Thorsten Vitt</name>
                        <email>thorsten.vitt@uni-wuerzburg.de</email>
                        <url>http://www.thorstenvitt.de/</url>
                        <organization>Universität Würzburg</organization>
                        <organizationUrl>http://www.germanistik.uni-wuerzburg.de/lehrstuehle/computerphilologie</organizationUrl>
                </developer>
        </developers>
22

thorsten.vitt's avatar
thorsten.vitt committed
23
24
        <properties>
                <commons-io-version>2.4</commons-io-version>
25
                <link-rewriter-version>0.3.4-SNAPSHOT</link-rewriter-version>
thorsten.vitt's avatar
thorsten.vitt committed
26
                <saxon-version>9.4.0.7</saxon-version>
thorsten.vitt's avatar
thorsten.vitt committed
27
                <cxf-version>2.7.7</cxf-version>
thorsten.vitt's avatar
thorsten.vitt committed
28
                <confclient-version>1.0-SNAPSHOT</confclient-version>
thorsten.vitt's avatar
thorsten.vitt committed
29
                <tgsearch-version>3.0.2-SNAPSHOT</tgsearch-version>
thorsten.vitt's avatar
thorsten.vitt committed
30
                <tgcrud-version>2.4.0-SNAPSHOT</tgcrud-version>
thorsten.vitt's avatar
thorsten.vitt committed
31
32
                <guava-version>14.0.1</guava-version>
                <junit-version>4.11</junit-version>
thorsten.vitt's avatar
thorsten.vitt committed
33
34
35
                <spring-version>3.2.2.RELEASE</spring-version>
                <tei-xsl-version>6.17</tei-xsl-version>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36
37
38

                <!-- The following properties are used for configuring the
                     web service and can be overridden in profiles -->
thorsten.vitt's avatar
thorsten.vitt committed
39
                <aggregator.endpoint.published>http://localhost:13000/aggregator</aggregator.endpoint.published>
40
41
                <aggregator.textgridrep.default>https://www.textgridlab.org/1.0/confserv</aggregator.textgridrep.default>
                <aggregator.textgridrep.dev>https://www.textgridlab.org/dev/confserv</aggregator.textgridrep.dev>
42
                <aggregator.classifier/>
thorsten.vitt's avatar
thorsten.vitt committed
43
        </properties>
44

thorsten.vitt's avatar
thorsten.vitt committed
45
        <repositories>
46

thorsten.vitt's avatar
thorsten.vitt committed
47
                <repository>
48
49
50
                        <id>nexus.dariah</id>
                        <name>DARIAH Nexus Public Repository</name>
                        <url>http://dev.dariah.eu/nexus/content/groups/public</url>
thorsten.vitt's avatar
thorsten.vitt committed
51
52
53
54
55
56
57
                        <releases>
                                <enabled>true</enabled>
                        </releases>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                </repository>
58

thorsten.vitt's avatar
thorsten.vitt committed
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
                <repository>
                        <id>dh.nexus.releases</id>
                        <name>Cophi Nexus Releases</name>
                        <url>http://dev.digital-humanities.de/nexus/content/repositories/releases</url>
                        <releases>
                                <enabled>true</enabled>
                        </releases>
                        <snapshots>
                                <enabled>false</enabled>
                        </snapshots>
                </repository>
                <repository>
                        <id>dh.nexus.snapshots</id>
                        <name>Cophi Nexus snapshots</name>
                        <url>http://dev.digital-humanities.de/nexus/content/repositories/snapshots</url>
                        <releases>
                                <enabled>true</enabled>
                        </releases>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                </repository>
81

thorsten.vitt's avatar
thorsten.vitt committed
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
        </repositories>


        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>${junit-version}</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.google.guava</groupId>
                        <artifactId>guava</artifactId>
                        <version>${guava-version}</version>
                </dependency>
                <dependency>
                        <groupId>info.textgrid.middleware</groupId>
                        <artifactId>tgcrud-client</artifactId>
                        <version>${tgcrud-version}</version>
                </dependency>
                <dependency>
                        <groupId>info.textgrid.middleware</groupId>
                        <artifactId>tgsearch-client</artifactId>
                        <version>${tgsearch-version}</version>
                </dependency>
                <dependency>
                        <groupId>info.textgrid.middleware</groupId>
                        <artifactId>confclient</artifactId>
                        <version>${confclient-version}</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-frontend-jaxrs</artifactId>
                        <version>${cxf-version}</version>
                </dependency>
                <dependency>
                        <groupId>net.sf.saxon</groupId>
                        <artifactId>Saxon-HE</artifactId>
                        <version>${saxon-version}</version>
                </dependency>
                <dependency>
                        <groupId>info.textgrid.utils</groupId>
                        <artifactId>link-rewriter-core</artifactId>
                        <version>${link-rewriter-version}</version>
                </dependency>
                <dependency>
                        <groupId>commons-io</groupId>
                        <artifactId>commons-io</artifactId>
                        <version>${commons-io-version}</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-transports-http</artifactId>
                        <version>${cxf-version}</version>
                </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-web</artifactId>
                        <version>${spring-version}</version>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                        <version>2.5</version>
                </dependency>
147
148
149
150
151
                <dependency>
                	<groupId>com.ibm.icu</groupId>
                	<artifactId>icu4j</artifactId>
                	<version>51.1</version>
                </dependency>
152
153
154
155
156
157
                <dependency>
                	<groupId>org.idpf</groupId>
                	<artifactId>epubcheck</artifactId>
                	<version>3.0.1</version>
                	<scope>test</scope>
                </dependency>
thorsten.vitt's avatar
thorsten.vitt committed
158
159
160
161
162
163
164
        </dependencies>


        <build>
                <pluginManagement>
                        <plugins>
                                <plugin>
thorsten.vitt's avatar
thorsten.vitt committed
165
166
167
                                        <groupId>org.apache.tomcat.maven</groupId>
                                        <artifactId>tomcat6-maven-plugin</artifactId>
                                        <version>2.1</version>
thorsten.vitt's avatar
thorsten.vitt committed
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
                                        <executions>
                                                <execution>
                                                  <id>default-cli</id>
                                                  <goals>
                                                  <goal>run</goal>
                                                  </goals>
                                                  <configuration>
                                                  <port>13000</port>
                                                  <path>/aggregator</path>
                                                  <useSeparateTomcatClassLoader>false</useSeparateTomcatClassLoader>
                                                  </configuration>
                                                </execution>
                                        </executions>
                                </plugin>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
                                        <configuration>
                                                <source>1.5</source>
                                                <target>1.5</target>
                                        </configuration>
                                </plugin>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-eclipse-plugin</artifactId>
                                        <configuration>
                                                <projectNameTemplate>[artifactId]-[version]</projectNameTemplate>
                                                <wtpmanifest>true</wtpmanifest>
                                                <wtpapplicationxml>true</wtpapplicationxml>
                                                <wtpversion>2.0</wtpversion>
                                        </configuration>
                                </plugin>
                                <!--This plugin's configuration is used to store Eclipse m2e settings 
201
					only. It has no influence on the Maven build itself. -->
thorsten.vitt's avatar
thorsten.vitt committed
202
203
204
205
206
207
208
209
210
211
                                <plugin>
                                        <groupId>org.eclipse.m2e</groupId>
                                        <artifactId>lifecycle-mapping</artifactId>
                                        <version>1.0.0</version>
                                        <configuration>
                                                <lifecycleMappingMetadata>
                                                  <pluginExecutions>
                                                  <pluginExecution>
                                                  <pluginExecutionFilter>
                                                  <groupId>
212
213
											org.codehaus.mojo
										</groupId>
thorsten.vitt's avatar
thorsten.vitt committed
214
                                                  <artifactId>
215
216
											build-helper-maven-plugin
										</artifactId>
thorsten.vitt's avatar
thorsten.vitt committed
217
218
219
                                                  <versionRange> [1.5,) </versionRange>
                                                  <goals>
                                                  <goal>
220
221
												reserve-network-port
											</goal>
thorsten.vitt's avatar
thorsten.vitt committed
222
223
224
225
226
227
228
229
230
231
232
233
234
                                                  </goals>
                                                  </pluginExecutionFilter>
                                                  <action>
                                                  <ignore/>
                                                  </action>
                                                  </pluginExecution>
                                                  </pluginExecutions>
                                                </lifecycleMappingMetadata>
                                        </configuration>
                                </plugin>
                        </plugins>
                </pluginManagement>
                <plugins>
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
                	<plugin>
                		<groupId>pl.project13.maven</groupId>
                		<artifactId>git-commit-id-plugin</artifactId>
                		<version>2.1.5</version>
                		<executions>
                			<execution>
                				<goals>
                					<goal>revision</goal>
                				</goals>
                			</execution>
                		</executions>
                		<configuration>
                			<verbose>true</verbose>
                			<dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat>
                			<generateGitPropertiesFile>true</generateGitPropertiesFile>
               				<gitDescribe>
               					<tags>true</tags>
               					<dirty>-dev</dirty>
253
               					<abbrev>7</abbrev>
254
255
256
               				</gitDescribe>
                		</configuration>
                	</plugin>
thorsten.vitt's avatar
thorsten.vitt committed
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <version>2.3.1</version>
                                <configuration>
                                        <source>1.6</source>
                                        <target>1.6</target>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>build-helper-maven-plugin</artifactId>
                                <version>1.5</version>
                                <executions>
                                        <execution>
                                                <id>reserve-network-port</id>
                                                <goals>
                                                  <goal>reserve-network-port</goal>
                                                </goals>
                                                <phase>process-test-resources</phase>
                                                <configuration>
                                                  <portNames>
                                                  <portName>test.server.port</portName>
                                                  </portNames>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
                        <plugin>
thorsten.vitt's avatar
thorsten.vitt committed
286
287
                                <groupId>org.apache.tomcat.maven</groupId>
                                <artifactId>tomcat6-maven-plugin</artifactId>
thorsten.vitt's avatar
thorsten.vitt committed
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
                                <executions>
                                        <execution>
                                                <id>start-tomcat</id>
                                                <goals>
                                                  <goal>run-war</goal>
                                                </goals>
                                                <phase>pre-integration-test</phase>
                                                <configuration>
                                                  <port>${test.server.port}</port>
                                                  <path>/aggregator</path>
                                                  <fork>true</fork>
                                                  <useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader>
                                                </configuration>
                                        </execution>
                                        <execution>
                                                <id>stop-tomcat</id>
                                                <goals>
                                                  <goal>shutdown</goal>
                                                </goals>
                                                <phase>post-integration-test</phase>
                                                <configuration>
                                                  <path>/aggregator</path>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-failsafe-plugin</artifactId>
                                <version>2.8.1</version>
                                <executions>
                                        <execution>
                                                <id>integration-test</id>
                                                <goals>
                                                  <goal>integration-test</goal>
                                                </goals>
                                                <configuration>
                                                  <systemPropertyVariables>
                                                  <service.url>http://localhost:${test.server.port}/aggregator</service.url>
                                                  </systemPropertyVariables>
                                                </configuration>
                                        </execution>
                                        <execution>
                                                <id>verify</id>
                                                <goals>
                                                  <goal>verify</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>
                                <version>2.14</version>
                                <configuration>
                                        <systemPropertyVariables>
                                                <webapp.directory>${project.build.directory}/${project.artifactId}-${project.version}</webapp.directory>
                                        </systemPropertyVariables>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>
                                <version>2.3</version>
                                <configuration>
                                        <webResources>
                                                <resource>
                                                  <directory>${basedir}/src/main/webapp/WEB-INF</directory>
                                                  <filtering>true</filtering>
                                                  <targetPath>WEB-INF</targetPath>
                                                  <includes>
361
                                                          <include>aggregator.properties</include>
thorsten.vitt's avatar
thorsten.vitt committed
362
363
364
                                                  </includes>
                                                </resource>
                                        </webResources>
365
                                        <classifier>${aggregator.classifier}</classifier>
thorsten.vitt's avatar
thorsten.vitt committed
366
                                </configuration>
367
                        </plugin>                                                
thorsten.vitt's avatar
thorsten.vitt committed
368
                </plugins>
369
370
371
372
373
374
375
376
377
378
379
380
381
382
                <resources>
                	<resource>
                		<directory>${basedir}/src/main/resources</directory>
                		<filtering>true</filtering>
                	</resource>
                	<resource>
                		<directory>${basedir}/src/main/webapp/WEB-INF</directory>
                		<filtering>true</filtering>                		
                		<includes>
                			<include>aggregator.properties</include>
                		</includes>
                		<targetPath>${project.build.directory}</targetPath>
                	</resource>
                </resources>
thorsten.vitt's avatar
thorsten.vitt committed
383
384
385
386
387
388
389
        </build>
        <profiles>
                <profile>
                        <id>wue</id>
                        <build>
                                <plugins>
                                        <plugin>
thorsten.vitt's avatar
thorsten.vitt committed
390
391
                                                <groupId>org.apache.tomcat.maven</groupId>
                                                <artifactId>tomcat6-maven-plugin</artifactId>
thorsten.vitt's avatar
thorsten.vitt committed
392
393
394
395
396
397
398
399
                                                <configuration>
                                                  <url>http://wrzh075.rzhousing.uni-wuerzburg.de:8180/manager</url>
                                                  <server>wrzh075</server>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </build>
                        <properties>
400
							<aggregator.endpoint.published>http://test1.digital-humanities.de/services/aggregator</aggregator.endpoint.published>
401
							<aggregator.classifier>wue</aggregator.classifier>
thorsten.vitt's avatar
thorsten.vitt committed
402
403
                        </properties>
                </profile>
thorsten.vitt's avatar
thorsten.vitt committed
404
405
406
407
408
                <profile>
                        <id>services</id>
                        <build>
                                <plugins>
                                        <plugin>
thorsten.vitt's avatar
thorsten.vitt committed
409
410
                                                <groupId>org.apache.tomcat.maven</groupId>
                                                <artifactId>tomcat6-maven-plugin</artifactId>
thorsten.vitt's avatar
thorsten.vitt committed
411
412
413
414
415
416
417
418
419
                                                <configuration>
                                                        <url>http://services:8080/manager</url>
                                                        <server>services</server>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </build>
                        <properties>
                                <aggregator.endpoint.published>https://textgridlab.org/1.0/aggregator</aggregator.endpoint.published>
420
                                <aggregator.classifier>services</aggregator.classifier>
thorsten.vitt's avatar
thorsten.vitt committed
421
422
                        </properties>
                </profile>
423
424
425
426
427
                <profile>
                        <id>tgbackend2</id>
                        <build>
                                <plugins>
                                        <plugin>
thorsten.vitt's avatar
thorsten.vitt committed
428
429
                                                <groupId>org.apache.tomcat.maven</groupId>
                                                <artifactId>tomcat6-maven-plugin</artifactId>
430
431
432
433
434
435
436
437
438
439
                                                <configuration>
                                                        <url>http://tgbackend2.gwdg.de:8080/manager</url>
                                                        <server>tgbackend2</server>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </build>
                        <properties>
								<aggregator.endpoint.published>http://textgridrep.de/beta-es/services/aggregator</aggregator.endpoint.published>
								<aggregator.textgridrep.default>http://tgbackend-2.gwdg.de/confserv</aggregator.textgridrep.default>
440
								<aggregator.classifier>tgbackend2</aggregator.classifier>
441
442
                        </properties>
                </profile>
443
444
445
                <profile>
                	<id>esx1</id>
                	<properties>
446
                		<aggregator.endpoint.published>http://textgrid-esx1.gwdg.de/1.0/aggregator</aggregator.endpoint.published>
447
                		<aggregator.textgridrep.default>http://textgrid-esx1.gwdg.de/1.0/confserv</aggregator.textgridrep.default>
448
                		<aggregator.textgridrep.dev>https://textgridlab.org/dev/confserv</aggregator.textgridrep.dev>
449
450
451
                		<aggregator.classifier>esx1</aggregator.classifier>
                	</properties>
                </profile>
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
                <profile>
                	<id>authtests</id>
                	<activation>
                		<property>
                			<name>sid</name>
                		</property>
                	</activation>
                	<build>
                		<plugins>
                			<plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-failsafe-plugin</artifactId>
                                <version>2.8.1</version>
                                <executions>
                                        <execution>
                                                <id>integration-test</id>
                                                <goals>
                                                  <goal>integration-test</goal>
                                                </goals>
                                                <configuration>
                                                  <includes>
                                                    <includes>**/*IT.java</includes>
                                                  	<includes>**/*AT.java</includes>
                                                  </includes>
                                                  <systemPropertyVariables>
                                                  	<service.url>http://localhost:${test.server.port}/aggregator</service.url>
                                                  	<sid>${sid}</sid>
                                                  </systemPropertyVariables>
                                                </configuration>
                                        </execution>
                                        <execution>
                                                <id>verify</id>
                                                <goals>
                                                  <goal>verify</goal>
                                                </goals>
                                        </execution>
                                </executions>

                			</plugin>
                		</plugins>
                	</build>
                </profile>
thorsten.vitt's avatar
thorsten.vitt committed
494
495
        </profiles>
        <organization>
496
497
498
		    <name>TextGrid</name>
		    <url>http://www.textgrid.de/</url>
	  </organization>
thorsten.vitt's avatar
thorsten.vitt committed
499
500
        <description>The TextGrid Aggregator is an experimental service that can walk aggregations (including editions and collections) and export the objects therein to various formats, e.g., TEI corpus, EPUB, and (experimentally) PDF.</description>
        <inceptionYear>2012</inceptionYear>
thorsten.vitt's avatar
thorsten.vitt committed
501
502
        <scm>
        	<url>https://projects.gwdg.de/projects/aggregator/repository</url>
thorsten.vitt's avatar
thorsten.vitt committed
503
504
        	<connection>scm:git:git://git.projects.gwdg.de/aggregator.git</connection>
        	<developerConnection>scm:git:ssh://git@git.projects.gwdg.de/aggregator.git</developerConnection>
thorsten.vitt's avatar
thorsten.vitt committed
505
506
507
508
509
510
511
512
513
514
        </scm>
        <issueManagement>
        	<system>Jira</system>
        	<url>https://pm.sub.uni-goettingen.de/</url>
        </issueManagement>
        <ciManagement>
        	<system>Jenkins</system>
        	<url>http://dev.digital-humanities.de/ci/job/aggregator-git-2/</url>
        </ciManagement>
        <url>https://projects.gwdg.de/projects/aggregator</url>
515
</project>