source: VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/pom.xml @ 5455

Last change on this file since 5455 was 5455, checked in by Oliver Schonefeld, 10 years ago
  • use OAIProvider 0.0.2
  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 19.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5        <modelVersion>4.0.0</modelVersion>
6        <groupId>eu.clarin.cmdi</groupId>
7        <artifactId>VirtualCollectionRegistry</artifactId>
8        <packaging>war</packaging>
9        <name>CLARIN Virtual Collection Registry</name>
10        <version>0.4.0-SNAPSHOT</version>
11
12        <organization>
13                <name>Institut fÃŒr Deutsche Sprache</name>
14                <url>http://www.ids-mannheim.de/</url>
15        </organization>
16
17
18        <properties>
19                <!-- project settings -->
20                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21                <!-- plug-in settings -->
22                <maven.compiler.source>1.7</maven.compiler.source>
23                <maven.compiler.target>1.7</maven.compiler.target>
24                <!-- dependency versions -->
25                <slf4j.version>1.7.7</slf4j.version>
26                <hibernate.version>3.6.10.Final</hibernate.version>
27                <hibernate.jpaVersion>1.0.0.Final</hibernate.jpaVersion>
28                <jersey.version>1.18.1</jersey.version>
29                <jackson.version>1.6.1</jackson.version>
30                <wicket.version>1.4.23</wicket.version>
31                <spring.version>4.0.5.RELEASE</spring.version>
32                <log4j.appender>Console</log4j.appender> <!-- TODO: default to File -->
33        </properties>
34
35    <dependencies>
36        <dependency>
37            <groupId>org.slf4j</groupId>
38            <artifactId>slf4j-api</artifactId>
39        </dependency>
40
41        <dependency>
42            <groupId>org.slf4j</groupId>
43            <artifactId>slf4j-log4j12</artifactId>
44            <version>${slf4j.version}</version>
45        </dependency>
46
47        <dependency>
48            <groupId>org.apache.commons</groupId>
49            <artifactId>commons-lang3</artifactId>
50            <version>3.3.2</version>
51        </dependency>
52
53        <dependency>
54            <groupId>commons-codec</groupId>
55            <artifactId>commons-codec</artifactId>
56            <type>jar</type>
57        </dependency>
58
59        <dependency>
60            <groupId>org.codehaus.woodstox</groupId>
61            <artifactId>woodstox-core-asl</artifactId>
62            <version>4.0.8</version>
63            <type>jar</type>
64            <scope>compile</scope>
65            <exclusions>
66                <!-- StaX is part of JRE 1.5 and newer -->
67                <exclusion>
68                    <artifactId>stax-api</artifactId>
69                    <groupId>javax.xml.stream</groupId>
70                </exclusion>
71            </exclusions>
72        </dependency>
73
74        <dependency>
75            <groupId>net.java.dev.msv</groupId>
76            <artifactId>msv-core</artifactId>
77            <version>2009.1</version>
78            <type>jar</type>
79            <scope>runtime</scope>
80        </dependency>
81
82        <dependency>
83            <groupId>org.hibernate.javax.persistence</groupId>
84            <artifactId>hibernate-jpa-2.1-api</artifactId>
85            <version>${hibernate.jpaVersion}</version>
86        </dependency>
87
88        <dependency>
89            <groupId>org.hibernate</groupId>
90            <artifactId>hibernate-entitymanager</artifactId>
91            <version>${hibernate.version}</version>
92            <scope>runtime</scope>
93        </dependency>
94
95        <dependency>
96            <groupId>javax.servlet</groupId>
97            <artifactId>servlet-api</artifactId>
98            <version>2.5</version>
99            <type>jar</type>
100            <scope>provided</scope>
101        </dependency>
102
103        <dependency>
104            <groupId>javax.ws.rs</groupId>
105            <artifactId>jsr311-api</artifactId>
106            <version>1.1.1</version>
107            <type>jar</type>
108        </dependency>
109
110        <dependency>
111            <groupId>com.sun.jersey</groupId>
112            <artifactId>jersey-servlet</artifactId>
113            <version>${jersey.version}</version>
114        </dependency>
115
116        <dependency>
117            <groupId>com.sun.jersey</groupId>
118            <artifactId>jersey-json</artifactId>
119            <version>${jersey.version}</version>
120            <exclusions>
121                <!-- StaX is part of JRE 1.5 and newer -->
122                <exclusion>
123                    <groupId>stax</groupId>
124                    <artifactId>stax-api</artifactId>
125                </exclusion>
126                <exclusion>
127                    <groupId>com.sun.xml.bind</groupId>
128                    <artifactId>jaxb-impl</artifactId>
129                </exclusion>
130                <exclusion>
131                    <artifactId>jackson-mapper-asl</artifactId>
132                    <groupId>org.codehaus.jackson</groupId>
133                </exclusion>
134            </exclusions>
135        </dependency>
136
137
138        <dependency>
139            <groupId>org.codehaus.jettison</groupId>
140            <artifactId>jettison</artifactId>
141            <exclusions>
142                <exclusion>
143                    <groupId>stax</groupId>
144                    <artifactId>stax-api</artifactId>
145                </exclusion>
146            </exclusions>
147        </dependency>
148
149        <!-- Libraries required for de.uni_leipzig.* EPIC library (todo: replace
150            with dependency on detached library) -->
151        <dependency>
152            <groupId>com.sun.jersey.contribs</groupId>
153            <artifactId>jersey-apache-client</artifactId>
154            <version>${jersey.version}</version>
155        </dependency>
156
157        <dependency>
158            <groupId>com.jayway.jsonpath</groupId>
159            <artifactId>json-path</artifactId>
160            <version>0.9.1</version>
161        </dependency>
162
163        <dependency>
164            <groupId>net.sf.json-lib</groupId>
165            <artifactId>json-lib</artifactId>
166            <version>2.4</version>
167            <classifier>jdk15</classifier>
168        </dependency>
169
170        <dependency>
171            <groupId>org.apache.httpcomponents</groupId>
172            <artifactId>httpclient</artifactId>
173            <version>4.0.1</version>
174            <type>jar</type>
175        </dependency>
176
177        <dependency>
178            <groupId>org.apache.wicket</groupId>
179            <artifactId>wicket</artifactId>
180        </dependency>
181
182        <dependency>
183            <groupId>org.apache.wicket</groupId>
184            <artifactId>wicket-auth-roles</artifactId>
185            <version>${wicket.version}</version>
186        </dependency>
187
188        <dependency>
189            <groupId>org.apache.wicket</groupId>
190            <artifactId>wicket-datetime</artifactId>
191            <version>${wicket.version}</version>
192        </dependency>
193
194        <dependency>
195            <groupId>org.apache.wicket</groupId>
196            <artifactId>wicket-extensions</artifactId>
197            <version>${wicket.version}</version>
198        </dependency>
199
200        <dependency>
201            <groupId>org.apache.wicket</groupId>
202            <artifactId>wicket-spring</artifactId>
203            <version>${wicket.version}</version>
204        </dependency>
205
206        <dependency>
207            <groupId>org.odlabs.wiquery</groupId>
208            <artifactId>wiquery</artifactId>
209            <version>1.2.3</version>
210            <exclusions>
211                <exclusion>
212                    <artifactId>log4j</artifactId>
213                    <groupId>log4j</groupId>
214                </exclusion>
215            </exclusions>
216        </dependency>
217
218<!--
219        <dependency>
220            <groupId>net.java.dev.javacc</groupId>
221            <artifactId>javacc</artifactId>
222            <version>5.0</version>
223            <type>jar</type>
224            <scope>provided</scope>
225        </dependency>
226-->
227
228        <dependency>
229            <groupId>mysql</groupId>
230            <artifactId>mysql-connector-java</artifactId>
231            <version>5.1.13</version>
232            <type>jar</type>
233        </dependency>
234       
235        <dependency>
236            <groupId>de.mpg.mpgaai</groupId>
237            <artifactId>mpgaai-shhaa</artifactId>
238            <version>1.0.5</version>
239        </dependency>
240
241        <dependency>
242            <groupId>org.springframework</groupId>
243            <artifactId>spring-web</artifactId>
244            <version>${spring.version}</version>
245            <type>jar</type>
246        </dependency>
247
248        <dependency>
249            <groupId>com.sun.jersey.contribs</groupId>
250            <artifactId>jersey-spring</artifactId>
251            <version>${jersey.version}</version>
252            <exclusions>
253                <exclusion>
254                    <artifactId>spring-aop</artifactId>
255                    <groupId>org.springframework</groupId>
256                </exclusion>
257                <exclusion>
258                    <artifactId>spring-asm</artifactId>
259                    <groupId>org.springframework</groupId>
260                </exclusion>
261                <exclusion>
262                    <artifactId>spring-beans</artifactId>
263                    <groupId>org.springframework</groupId>
264                </exclusion>
265                <exclusion>
266                    <artifactId>spring-context</artifactId>
267                    <groupId>org.springframework</groupId>
268                </exclusion>
269                <exclusion>
270                    <artifactId>spring-core</artifactId>
271                    <groupId>org.springframework</groupId>
272                </exclusion>
273                <exclusion>
274                    <artifactId>spring-web</artifactId>
275                    <groupId>org.springframework</groupId>
276                </exclusion>
277            </exclusions>
278        </dependency>
279
280        <dependency>
281            <groupId>net.sf.saxon</groupId>
282            <artifactId>Saxon-HE</artifactId>
283            <version>9.5.1-5</version>
284            <scope>runtime</scope>
285            <classifier>compressed</classifier>
286        </dependency>
287
288        <dependency>
289            <groupId>eu.clarin.cmdi</groupId>
290            <artifactId>OAIProvider</artifactId>
291            <version>0.0.2</version>
292            <exclusions>
293                <exclusion>
294                    <artifactId>slf4j-jdk14</artifactId>
295                    <groupId>org.slf4j</groupId>
296                </exclusion>
297            </exclusions>
298        </dependency>
299
300        <!-- testing dependencies -->
301        <dependency>
302            <groupId>junit</groupId>
303            <artifactId>junit</artifactId>
304            <version>4.11</version>
305            <type>jar</type>
306            <scope>test</scope>
307        </dependency>
308
309        <dependency>
310            <groupId>org.hsqldb</groupId>
311            <artifactId>hsqldb</artifactId>
312            <version>2.0.0</version>
313            <type>jar</type>
314            <scope>test</scope>
315        </dependency>
316
317        <dependency>
318            <groupId>xmlunit</groupId>
319            <artifactId>xmlunit</artifactId>
320            <version>1.5</version>
321            <scope>test</scope>
322            <type>jar</type>
323        </dependency>
324
325        <dependency>
326            <groupId>org.jmock</groupId>
327            <artifactId>jmock-junit4</artifactId>
328            <version>2.6.0</version>
329            <scope>test</scope>
330        </dependency>
331    </dependencies>
332
333    <dependencyManagement>
334        <dependencies>
335            <dependency>
336                <groupId>org.slf4j</groupId>
337                <artifactId>slf4j-api</artifactId>
338                <version>${slf4j.version}</version>
339            </dependency>
340
341            <dependency>
342                <groupId>commons-codec</groupId>
343                <artifactId>commons-codec</artifactId>
344                <version>1.4</version>
345            </dependency>
346
347            <dependency>
348                <groupId>commons-logging</groupId>
349                <artifactId>commons-logging</artifactId>
350                <version>1.1.3</version>
351            </dependency>
352
353            <dependency>
354                <groupId>org.codehaus.jettison</groupId>
355                <artifactId>jettison</artifactId>
356                <version>1.2</version>
357            </dependency>
358
359            <dependency>
360                <groupId>org.apache.wicket</groupId>
361                <artifactId>wicket</artifactId>
362                <version>${wicket.version}</version>
363            </dependency>
364
365            <dependency>
366                <groupId>org.codehaus.jackson</groupId>
367                <artifactId>jackson-core-asl</artifactId>
368                <version>${jackson.version}</version>
369            </dependency>
370
371            <dependency>
372                <groupId>org.codehaus.jackson</groupId>
373                <artifactId>jackson-mapper-asl</artifactId>
374                <version>${jackson.version}</version>
375            </dependency>
376        </dependencies>
377    </dependencyManagement>
378
379        <build>
380                <resources>
381                        <resource>
382                                <filtering>true</filtering>
383                                <directory>src/main/resources</directory>
384                        </resource>
385                        <resource>
386                                <filtering>true</filtering>
387                                <directory>src/main/java</directory>
388                                <includes>
389                                        <include>**/BasePage.html</include>
390                                </includes>
391                        </resource>
392                        <resource>
393                                <filtering>false</filtering>
394                                <directory>src/main/java</directory>
395                                <includes>
396                                        <include>**/*.html</include>
397                                        <include>**/*.css</include>
398                                        <include>**/*.js</include>
399                                        <include>**/*.properties</include>
400                                </includes>
401                        </resource>
402                </resources>
403
404                <testResources>
405                        <testResource>
406                                <directory>src/test/resources</directory>
407                        </testResource>
408                </testResources>
409
410                <plugins>
411                        <plugin>
412                                <groupId>org.codehaus.mojo</groupId>
413                                <artifactId>javacc-maven-plugin</artifactId>
414                                <version>2.6</version>
415                                <executions>
416                                        <execution>
417                                                <id>javacc</id>
418                                                <goals>
419                                                        <goal>jjtree-javacc</goal>
420                                                </goals>
421                                                <phase>generate-sources</phase>
422                                        </execution>
423                                </executions>
424                        </plugin>
425
426                        <plugin>
427                                <groupId>org.bsc.maven</groupId>
428                                <artifactId>maven-processor-plugin</artifactId>
429                                <version>2.0.0</version>
430                                <executions>
431                                        <execution>
432                                                <id>process</id>
433                                                <goals>
434                                                        <goal>process</goal>
435                                                </goals>
436                                                <phase>generate-sources</phase>
437                                                <configuration>
438                                                        <processors>
439                                                                <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
440                                                        </processors>
441                                                        <sourceDirectory>${basedir}/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/model</sourceDirectory>
442                                                        <outputDirectory>${project.build.directory}/generated-sources/metamodel</outputDirectory>
443                                                </configuration>
444                                        </execution>
445                                </executions>
446                <dependencies>
447                            <dependency>
448                        <groupId>org.hibernate</groupId>
449                        <artifactId>hibernate-jpamodelgen</artifactId>
450                        <version>${hibernate.jpaVersion}</version>
451                        <scope>compile</scope>
452                    </dependency>
453                </dependencies>
454                        </plugin>
455
456            <plugin>
457                <groupId>org.codehaus.mojo</groupId>
458                <artifactId>jaxb2-maven-plugin</artifactId>
459                <version>1.6</version>
460                <executions>
461                    <execution>
462                        <id>xjc</id>
463                        <goals>
464                            <goal>xjc</goal>
465                        </goals>
466                    </execution>
467                </executions>
468                <configuration>
469                    <packageName>eu.clarin.cmdi.virtualcollectionregistry.model.cmdi</packageName> <!-- The name of your generated source package -->
470                </configuration>
471            </plugin>
472
473                        <plugin>
474                                <groupId>org.codehaus.mojo</groupId>
475                                <artifactId>build-helper-maven-plugin</artifactId>
476                                <version>1.3</version>
477                                <executions>
478                                        <execution>
479                                                <id>add-source</id>
480                                                <goals>
481                                                        <goal>add-source</goal>
482                                                </goals>
483                                                <phase>generate-sources</phase>
484                                                <configuration>
485                                                        <sources>
486                                                                <source>${project.build.directory}/generated-sources/metamodel</source>
487                                                                <source>${project.build.directory}/generated-sources/javacc</source>
488                                                                <source>${project.build.directory}/generated-sources/jjtree</source>
489                                                                <source>${project.build.directory}/generated-sources/jaxb</source>
490                                                        </sources>
491                                                </configuration>
492                                        </execution>
493                                </executions>
494                        </plugin>
495
496                        <plugin>
497                                <groupId>org.apache.maven.plugins</groupId>
498                                <artifactId>maven-compiler-plugin</artifactId>
499                                <version>2.3.2</version>
500                                <configuration>
501                                        <source>${maven.compiler.source}</source>
502                                        <target>${maven.compiler.target}</target>
503                                        <compilerArgument>-proc:none</compilerArgument>
504                                </configuration>
505                        </plugin>
506
507                        <plugin>
508                                <groupId>org.apache.maven.plugins</groupId>
509                                <artifactId>maven-war-plugin</artifactId>
510                                <version>2.1.1</version>
511                                <configuration>
512                                        <webResources>
513                                                <!-- additional web resources: also copy schemas to web-app -->
514                                                <resource>
515                                                        <directory>src/main/resources/META-INF</directory>
516                                                        <targetPath>schema</targetPath>
517                                                        <includes>
518                                                                <include>*.xsd</include>
519                                                        </includes>
520                                                </resource>
521                                        </webResources>
522                                </configuration>
523                        </plugin>
524                </plugins>
525
526                <pluginManagement>
527                        <plugins>
528                                <!-- This plugin's configuration is used to store Eclipse m2e settings
529                                        only. It has no influence on the Maven build itself. -->
530                                <plugin>
531                                        <groupId>org.eclipse.m2e</groupId>
532                                        <artifactId>lifecycle-mapping</artifactId>
533                                        <version>1.0.0</version>
534                                        <configuration>
535                                                <lifecycleMappingMetadata>
536                                                        <pluginExecutions>
537                                                                <pluginExecution>
538                                                                        <pluginExecutionFilter>
539                                                                                <groupId>org.codehaus.mojo</groupId>
540                                                                                <artifactId>javacc-maven-plugin</artifactId>
541                                                                                <versionRange>[2.6,)</versionRange>
542                                                                                <goals>
543                                                                                        <goal>jjtree-javacc</goal>
544                                                                                </goals>
545                                                                        </pluginExecutionFilter>
546                                                                        <action>
547                                                                                <execute />
548                                                                        </action>
549                                                                </pluginExecution>
550                                                                <pluginExecution>
551                                                                        <pluginExecutionFilter>
552                                                                                <groupId>org.bsc.maven</groupId>
553                                                                                <artifactId>maven-processor-plugin</artifactId>
554                                                                                <versionRange>[2.0.0,)</versionRange>
555                                                                                <goals>
556                                                                                        <goal>process</goal>
557                                                                                </goals>
558                                                                        </pluginExecutionFilter>
559                                                                        <action>
560                                                                                <execute />
561                                                                        </action>
562                                                                </pluginExecution>
563                                                                <pluginExecution>
564                                                                        <pluginExecutionFilter>
565                                                                                <groupId>org.codehaus.mojo</groupId>
566                                                                                <artifactId>jaxb2-maven-plugin</artifactId>
567                                                                                <versionRange>[1.6,)</versionRange>
568                                                                                <goals>
569                                                                                        <goal>xjc</goal>
570                                                                                </goals>
571                                                                        </pluginExecutionFilter>
572                                                                        <action>
573                                                                                <execute />
574                                                                        </action>
575                                                                </pluginExecution>
576                                                        </pluginExecutions>
577                                                </lifecycleMappingMetadata>
578                                        </configuration>
579                                </plugin>
580                                <!-- JAX-B If we e.g. execute on JDK 1.7, we should compile for
581                                     Java 7 to get the same (or higher) JAXB API version as
582                     used during the xjc execution. -->
583                                <plugin>
584                                        <groupId>org.apache.maven.plugins</groupId>
585                                        <artifactId>maven-compiler-plugin</artifactId>
586                                        <configuration>
587                                                <source>${maven.compiler.source}</source>
588                                                <target>${maven.compiler.source}</target>
589                                        </configuration>
590                                </plugin>
591                        </plugins>
592                </pluginManagement>
593        </build>
594
595    <repositories>
596        <repository>
597            <id>jboss</id>
598            <name>JBoss Public Maven Repository Group</name>
599            <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
600            <layout>default</layout>
601        </repository>
602
603        <repository>
604            <id>java-net-maven-2</id>
605            <name>Java.net Repository</name>
606            <url>http://download.java.net/maven/2/</url>
607            <layout>default</layout>
608        </repository>
609
610        <repository>
611            <id>wiquery</id>
612            <name>wiQuery repository</name>
613            <url>http://wiquery.googlecode.com/svn/repo/</url>
614            <layout>default</layout>
615        </repository>
616
617        <repository>
618            <id>clarin</id>
619            <name>CLARIN Repository</name>
620            <url>http://catalog.clarin.eu/ds/nexus/content/groups/public/</url>
621            <layout>default</layout>
622        </repository>
623    </repositories>
624
625    <pluginRepositories>
626        <pluginRepository>
627            <id>jboss</id>
628            <name>JBoss Public Maven Repository Group</name>
629            <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
630            <layout>default</layout>
631        </pluginRepository>
632    </pluginRepositories>
633
634</project>
Note: See TracBrowser for help on using the repository browser.