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

Last change on this file since 5610 was 5610, checked in by Twan Goosen, 10 years ago

updated dependencies, removed one unused dependency and bridged commons logging with SLF4J

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 27.5 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>1.1-SNAPSHOT</version>
11
12    <organization>
13        <name>CLARIN</name>
14        <url>http://www.clarin.eu/</url>
15    </organization>
16   
17    <developers>
18        <developer>
19            <name>Oliver Schonefeld</name>
20            <organization>Institut fÃŒr Deutsche Sprache</organization>
21            <url>http://www.ids-mannheim.de/</url>
22        </developer>
23        <developer>
24            <name>Twan Goosen</name>
25            <organization>CLARIN</organization>
26            <url>http://www.clarin.eu/</url>
27        </developer>
28    </developers>
29   
30    <licenses>
31        <license>
32            <name>GNU General Public License Version 3 (GPLv3)</name>
33            <url>http://www.gnu.org/licenses/gpl-3.0.txt</url>
34        </license>
35    </licenses>
36
37    <properties>
38        <!-- project settings -->
39        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40        <!-- plug-in settings -->
41        <maven.compiler.source>1.7</maven.compiler.source>
42        <maven.compiler.target>1.7</maven.compiler.target>
43        <!-- dependency versions -->
44        <slf4j.version>1.7.7</slf4j.version>
45        <hibernate.version>3.6.10.Final</hibernate.version>
46        <hibernate.jpaVersion>1.0.0.Final</hibernate.jpaVersion>
47        <jersey.version>1.18.1</jersey.version>
48        <jackson.version>1.6.1</jackson.version>
49        <wicket.version>1.4.23</wicket.version>
50        <spring.version>4.0.6.RELEASE</spring.version>
51       
52        <!-- Production settings below -->
53        <log4j.appender>File</log4j.appender>
54        <war.webxml>src/main/webapp/WEB-INF/web-shib.xml</war.webxml>
55       
56        <!-- Tell Netbeans to insert the right license header -->
57        <netbeans.hint.license>gpl30</netbeans.hint.license> 
58    </properties>
59   
60    <profiles>
61        <profile>
62            <!-- Development profile -->
63            <id>development</id>
64            <properties>
65                <!-- Log to console -->
66                <log4j.appender>Console</log4j.appender>     
67                <!-- Use the user database realm version of web.xml -->           
68                <war.webxml>src/main/webapp/WEB-INF/web-dev.xml</war.webxml>
69            </properties>
70        </profile>
71    </profiles>
72
73    <dependencies>
74        <dependency>
75            <groupId>org.slf4j</groupId>
76            <artifactId>slf4j-api</artifactId>
77        </dependency>
78
79        <dependency>
80            <groupId>org.slf4j</groupId>
81            <artifactId>slf4j-log4j12</artifactId>
82            <version>${slf4j.version}</version>
83        </dependency>
84       
85        <dependency>
86            <groupId>org.slf4j</groupId>
87            <artifactId>jcl-over-slf4j</artifactId>
88            <version>${slf4j.version}</version>
89        </dependency>       
90
91        <dependency>
92            <groupId>org.apache.commons</groupId>
93            <artifactId>commons-lang3</artifactId>
94            <version>3.3.2</version>
95        </dependency>
96
97        <dependency>
98            <groupId>org.codehaus.woodstox</groupId>
99            <artifactId>woodstox-core-asl</artifactId>
100            <version>4.0.11</version>
101            <type>jar</type>
102            <scope>compile</scope>
103            <exclusions>
104                <!-- StaX is part of JRE 1.5 and newer -->
105                <exclusion>
106                    <artifactId>stax-api</artifactId>
107                    <groupId>javax.xml.stream</groupId>
108                </exclusion>
109            </exclusions>
110        </dependency>
111
112        <dependency>
113            <groupId>net.java.dev.msv</groupId>
114            <artifactId>msv-core</artifactId>
115            <version>2009.1</version>
116            <type>jar</type>
117            <scope>runtime</scope>
118        </dependency>
119
120        <dependency>
121            <groupId>org.hibernate.javax.persistence</groupId>
122            <artifactId>hibernate-jpa-2.1-api</artifactId>
123            <version>${hibernate.jpaVersion}</version>
124        </dependency>
125
126        <dependency>
127            <groupId>org.hibernate</groupId>
128            <artifactId>hibernate-entitymanager</artifactId>
129            <version>${hibernate.version}</version>
130            <scope>runtime</scope>
131        </dependency>
132
133        <dependency>
134            <groupId>javax.servlet</groupId>
135            <artifactId>servlet-api</artifactId>
136            <version>2.5</version>
137            <type>jar</type>
138            <scope>provided</scope>
139        </dependency>
140
141        <dependency>
142            <groupId>javax.ws.rs</groupId>
143            <artifactId>jsr311-api</artifactId>
144            <version>1.1.1</version>
145            <type>jar</type>
146        </dependency>
147
148        <dependency>
149            <groupId>com.sun.jersey</groupId>
150            <artifactId>jersey-servlet</artifactId>
151            <version>${jersey.version}</version>
152        </dependency>
153
154        <dependency>
155            <groupId>com.sun.jersey</groupId>
156            <artifactId>jersey-json</artifactId>
157            <version>${jersey.version}</version>
158            <exclusions>
159                <!-- StaX is part of JRE 1.5 and newer -->
160                <exclusion>
161                    <groupId>stax</groupId>
162                    <artifactId>stax-api</artifactId>
163                </exclusion>
164                <exclusion>
165                    <groupId>com.sun.xml.bind</groupId>
166                    <artifactId>jaxb-impl</artifactId>
167                </exclusion>
168                <exclusion>
169                    <artifactId>jackson-mapper-asl</artifactId>
170                    <groupId>org.codehaus.jackson</groupId>
171                </exclusion>
172            </exclusions>
173        </dependency>
174
175
176        <dependency>
177            <groupId>org.codehaus.jettison</groupId>
178            <artifactId>jettison</artifactId>
179            <exclusions>
180                <exclusion>
181                    <groupId>stax</groupId>
182                    <artifactId>stax-api</artifactId>
183                </exclusion>
184            </exclusions>
185        </dependency>
186       
187        <dependency>
188            <groupId>de.uni_leipzig.asv</groupId>
189            <artifactId>clarin.webservices.pidservices2</artifactId>
190            <version>2.1.0</version>
191            <exclusions>
192                <exclusion>
193                    <!-- replaced with jcl-over-slf4j -->
194                    <artifactId>commons-logging</artifactId>
195                    <groupId>commons-logging</groupId>
196                </exclusion>
197            </exclusions>
198        </dependency>
199
200        <dependency>
201            <groupId>org.apache.httpcomponents</groupId>
202            <artifactId>httpclient</artifactId>
203            <version>4.3.5</version>
204            <type>jar</type>
205            <exclusions>
206                <exclusion>
207                    <artifactId>commons-logging</artifactId>
208                    <groupId>commons-logging</groupId>
209                </exclusion>
210            </exclusions>
211        </dependency>
212       
213        <dependency>
214            <groupId>org.apache.wicket</groupId>
215            <artifactId>wicket</artifactId>
216        </dependency>
217
218        <dependency>
219            <groupId>org.apache.wicket</groupId>
220            <artifactId>wicket-auth-roles</artifactId>
221            <version>${wicket.version}</version>
222        </dependency>
223
224        <dependency>
225            <groupId>org.apache.wicket</groupId>
226            <artifactId>wicket-datetime</artifactId>
227            <version>${wicket.version}</version>
228        </dependency>
229
230        <dependency>
231            <groupId>org.apache.wicket</groupId>
232            <artifactId>wicket-extensions</artifactId>
233            <version>${wicket.version}</version>
234        </dependency>
235
236        <dependency>
237            <groupId>org.apache.wicket</groupId>
238            <artifactId>wicket-spring</artifactId>
239            <version>${wicket.version}</version>
240        </dependency>
241
242        <dependency>
243            <groupId>org.odlabs.wiquery</groupId>
244            <artifactId>wiquery</artifactId>
245            <version>1.2.3</version>
246            <exclusions>
247                <exclusion>
248                    <artifactId>log4j</artifactId>
249                    <groupId>log4j</groupId>
250                </exclusion>
251            </exclusions>
252        </dependency>
253
254        <!--
255                <dependency>
256                    <groupId>net.java.dev.javacc</groupId>
257                    <artifactId>javacc</artifactId>
258                    <version>5.0</version>
259                    <type>jar</type>
260                    <scope>provided</scope>
261                </dependency>
262        -->
263
264        <dependency>
265            <groupId>mysql</groupId>
266            <artifactId>mysql-connector-java</artifactId>
267            <version>5.1.32</version>
268            <type>jar</type>
269        </dependency>
270       
271        <dependency>
272            <groupId>de.mpg.mpgaai</groupId>
273            <artifactId>mpgaai-shhaa</artifactId>
274            <version>1.0.5</version>
275            <exclusions>
276                <exclusion>
277                    <!-- replaced with jcl-over-slf4j -->
278                    <artifactId>commons-logging</artifactId>
279                    <groupId>commons-logging</groupId>
280                </exclusion>
281            </exclusions>
282        </dependency>
283
284        <dependency>
285            <groupId>org.springframework</groupId>
286            <artifactId>spring-web</artifactId>
287            <version>${spring.version}</version>
288            <type>jar</type>
289            <exclusions>
290                <exclusion>
291                    <!-- replaced with jcl-over-slf4j -->
292                    <artifactId>commons-logging</artifactId>
293                    <groupId>commons-logging</groupId>
294                </exclusion>
295            </exclusions>
296        </dependency>
297
298        <dependency>
299            <groupId>com.sun.jersey.contribs</groupId>
300            <artifactId>jersey-spring</artifactId>
301            <version>${jersey.version}</version>
302            <exclusions>
303                <exclusion>
304                    <artifactId>spring-aop</artifactId>
305                    <groupId>org.springframework</groupId>
306                </exclusion>
307                <exclusion>
308                    <artifactId>spring-asm</artifactId>
309                    <groupId>org.springframework</groupId>
310                </exclusion>
311                <exclusion>
312                    <artifactId>spring-beans</artifactId>
313                    <groupId>org.springframework</groupId>
314                </exclusion>
315                <exclusion>
316                    <artifactId>spring-context</artifactId>
317                    <groupId>org.springframework</groupId>
318                </exclusion>
319                <exclusion>
320                    <artifactId>spring-core</artifactId>
321                    <groupId>org.springframework</groupId>
322                </exclusion>
323                <exclusion>
324                    <artifactId>spring-web</artifactId>
325                    <groupId>org.springframework</groupId>
326                </exclusion>
327            </exclusions>
328        </dependency>
329
330        <dependency>
331            <groupId>net.sf.saxon</groupId>
332            <artifactId>Saxon-HE</artifactId>
333            <version>9.5.1-6</version>
334            <scope>runtime</scope>
335            <classifier>compressed</classifier>
336        </dependency>
337
338        <dependency>
339            <groupId>eu.clarin.cmdi</groupId>
340            <artifactId>OAIProvider</artifactId>
341            <version>0.0.2</version>
342            <exclusions>
343                <exclusion>
344                    <artifactId>slf4j-jdk14</artifactId>
345                    <groupId>org.slf4j</groupId>
346                </exclusion>
347            </exclusions>
348        </dependency>
349
350        <!-- testing dependencies -->
351        <dependency>
352            <groupId>junit</groupId>
353            <artifactId>junit</artifactId>
354            <version>4.11</version>
355            <type>jar</type>
356            <scope>test</scope>
357        </dependency>
358
359        <dependency>
360            <groupId>org.hsqldb</groupId>
361            <artifactId>hsqldb</artifactId>
362            <version>2.3.2</version>
363            <type>jar</type>
364            <scope>test</scope>
365        </dependency>
366
367        <dependency>
368            <groupId>xmlunit</groupId>
369            <artifactId>xmlunit</artifactId>
370            <version>1.5</version>
371            <scope>test</scope>
372            <type>jar</type>
373        </dependency>
374
375        <dependency>
376            <groupId>org.jmock</groupId>
377            <artifactId>jmock-junit4</artifactId>
378            <version>2.6.0</version>
379            <scope>test</scope>
380        </dependency>
381
382        <!-- JavaMelody for application monitoring -->
383        <dependency>
384            <groupId>net.bull.javamelody</groupId>
385            <artifactId>javamelody-core</artifactId>
386            <version>1.52.0</version>
387            <exclusions>
388                <exclusion>
389                    <groupId>org.springframework</groupId>
390                    <artifactId>spring-aop</artifactId>
391                </exclusion>
392                <exclusion>
393                    <groupId>org.springframework</groupId>
394                    <artifactId>spring-context</artifactId>
395                </exclusion>
396            </exclusions>
397        </dependency>
398    </dependencies>
399
400    <dependencyManagement>
401        <dependencies>
402            <dependency>
403                <groupId>org.slf4j</groupId>
404                <artifactId>slf4j-api</artifactId>
405                <version>${slf4j.version}</version>
406            </dependency>
407
408            <dependency>
409                <groupId>commons-codec</groupId>
410                <artifactId>commons-codec</artifactId>
411                <version>1.4</version>
412            </dependency>
413
414            <dependency>
415                <groupId>commons-logging</groupId>
416                <artifactId>commons-logging</artifactId>
417                <version>1.1.3</version>
418            </dependency>
419
420            <dependency>
421                <groupId>org.codehaus.jettison</groupId>
422                <artifactId>jettison</artifactId>
423                <version>1.2</version>
424            </dependency>
425
426            <dependency>
427                <groupId>org.apache.wicket</groupId>
428                <artifactId>wicket</artifactId>
429                <version>${wicket.version}</version>
430            </dependency>
431
432            <dependency>
433                <groupId>org.codehaus.jackson</groupId>
434                <artifactId>jackson-core-asl</artifactId>
435                <version>${jackson.version}</version>
436            </dependency>
437
438            <dependency>
439                <groupId>org.codehaus.jackson</groupId>
440                <artifactId>jackson-mapper-asl</artifactId>
441                <version>${jackson.version}</version>
442            </dependency>
443        </dependencies>
444    </dependencyManagement>
445
446    <build>
447        <resources>
448            <resource>
449                <filtering>true</filtering>
450                <directory>src/main/resources</directory>
451            </resource>
452            <resource>
453                <filtering>true</filtering>
454                <directory>src/main/java</directory>
455                <includes>
456                    <include>**/BasePage.html</include>
457                </includes>
458            </resource>
459            <resource>
460                <filtering>false</filtering>
461                <directory>src/main/java</directory>
462                <includes>
463                    <include>**/*.html</include>
464                    <include>**/*.css</include>
465                    <include>**/*.js</include>
466                    <include>**/*.properties</include>
467                </includes>
468            </resource>
469        </resources>
470
471        <testResources>
472            <testResource>
473                <directory>src/test/resources</directory>
474            </testResource>
475        </testResources>
476
477        <plugins>
478            <plugin>
479                <groupId>org.codehaus.mojo</groupId>
480                <artifactId>javacc-maven-plugin</artifactId>
481                <version>2.6</version>
482                <executions>
483                    <execution>
484                        <id>javacc</id>
485                        <goals>
486                            <goal>jjtree-javacc</goal>
487                        </goals>
488                        <phase>generate-sources</phase>
489                    </execution>
490                </executions>
491            </plugin>
492
493            <plugin>
494                <groupId>org.bsc.maven</groupId>
495                <artifactId>maven-processor-plugin</artifactId>
496                <version>2.2.4</version>
497                <executions>
498                    <execution>
499                        <id>process</id>
500                        <goals>
501                            <goal>process</goal>
502                        </goals>
503                        <phase>generate-sources</phase>
504                        <configuration>
505                            <processors>
506                                <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
507                            </processors>
508                            <sourceDirectory>${basedir}/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/model</sourceDirectory>
509                            <outputDirectory>${project.build.directory}/generated-sources/metamodel</outputDirectory>
510                        </configuration>
511                    </execution>
512                </executions>
513                <dependencies>
514                    <dependency>
515                        <groupId>org.hibernate</groupId>
516                        <artifactId>hibernate-jpamodelgen</artifactId>
517                        <version>${hibernate.jpaVersion}</version>
518                        <scope>compile</scope>
519                    </dependency>
520                </dependencies>
521            </plugin>
522
523            <plugin>
524                <groupId>org.codehaus.mojo</groupId>
525                <artifactId>jaxb2-maven-plugin</artifactId>
526                <version>1.6</version>
527                <executions>
528                    <execution>
529                        <id>xjc</id>
530                        <goals>
531                            <goal>xjc</goal>
532                        </goals>
533                    </execution>
534                </executions>
535                <configuration>
536                    <packageName>eu.clarin.cmdi.virtualcollectionregistry.model.cmdi</packageName> <!-- The name of your generated source package -->
537                </configuration>
538            </plugin>
539
540            <plugin>
541                <groupId>org.codehaus.mojo</groupId>
542                <artifactId>build-helper-maven-plugin</artifactId>
543                <version>1.9</version>
544                <executions>
545                    <execution>
546                        <id>add-source</id>
547                        <goals>
548                            <goal>add-source</goal>
549                        </goals>
550                        <phase>generate-sources</phase>
551                        <configuration>
552                            <sources>
553                                <source>${project.build.directory}/generated-sources/metamodel</source>
554                                <source>${project.build.directory}/generated-sources/javacc</source>
555                                <source>${project.build.directory}/generated-sources/jjtree</source>
556                                <source>${project.build.directory}/generated-sources/jaxb</source>
557                            </sources>
558                        </configuration>
559                    </execution>
560                </executions>
561            </plugin>
562
563            <plugin>
564                <groupId>org.apache.maven.plugins</groupId>
565                <artifactId>maven-compiler-plugin</artifactId>
566                <version>2.5.1</version>
567                <configuration>
568                    <source>${maven.compiler.source}</source>
569                    <target>${maven.compiler.target}</target>
570                    <compilerArgument>-proc:none</compilerArgument>
571                </configuration>
572            </plugin>
573
574            <plugin>
575                <groupId>org.apache.maven.plugins</groupId>
576                <artifactId>maven-war-plugin</artifactId>
577                <version>2.4</version>
578                <configuration>
579                    <failOnMissingWebXml>true</failOnMissingWebXml>
580                    <webXml>${war.webxml}</webXml>
581                    <webResources>
582                        <!-- additional web resources: also copy schemas to web-app -->
583                        <resource>
584                            <directory>src/main/resources/META-INF</directory>
585                            <targetPath>schema</targetPath>
586                            <includes>
587                                <include>*.xsd</include>
588                            </includes>
589                        </resource>
590                        <!-- Make documentation available -->
591                        <resource>
592                            <directory>doc</directory>
593                        </resource>
594                    </webResources>
595                </configuration>
596            </plugin>
597           
598            <plugin>
599                <groupId>org.jasig.maven</groupId>
600                <artifactId>sass-maven-plugin</artifactId>
601                <version>1.1.1</version>
602                <executions>
603                    <execution>
604                        <phase>generate-resources</phase>
605                        <goals>
606                            <goal>update-stylesheets</goal>
607                        </goals>
608                    </execution>
609                </executions>
610            </plugin>
611           
612            <plugin>
613                <artifactId>maven-assembly-plugin</artifactId>
614                <version>2.4.1</version>
615                <executions>
616                    <execution>
617                        <id>make-assembly</id>
618                        <phase>package</phase>
619                        <goals>
620                            <goal>single</goal>
621                        </goals>
622                    </execution>
623                </executions>
624                <configuration>
625                    <descriptors>
626                        <descriptor>src/assembly/distribution.xml</descriptor>
627                    </descriptors>
628                </configuration>
629            </plugin>
630        </plugins>
631
632        <pluginManagement>
633            <plugins>
634                <!-- This plugin's configuration is used to store Eclipse m2e settings
635                only. It has no influence on the Maven build itself. -->
636                <plugin>
637                    <groupId>org.eclipse.m2e</groupId>
638                    <artifactId>lifecycle-mapping</artifactId>
639                    <version>1.0.0</version>
640                    <configuration>
641                        <lifecycleMappingMetadata>
642                            <pluginExecutions>
643                                <pluginExecution>
644                                    <pluginExecutionFilter>
645                                        <groupId>org.codehaus.mojo</groupId>
646                                        <artifactId>javacc-maven-plugin</artifactId>
647                                        <versionRange>[2.6,)</versionRange>
648                                        <goals>
649                                            <goal>jjtree-javacc</goal>
650                                        </goals>
651                                    </pluginExecutionFilter>
652                                    <action>
653                                        <execute />
654                                    </action>
655                                </pluginExecution>
656                                <pluginExecution>
657                                    <pluginExecutionFilter>
658                                        <groupId>org.bsc.maven</groupId>
659                                        <artifactId>maven-processor-plugin</artifactId>
660                                        <versionRange>[2.0.0,)</versionRange>
661                                        <goals>
662                                            <goal>process</goal>
663                                        </goals>
664                                    </pluginExecutionFilter>
665                                    <action>
666                                        <execute />
667                                    </action>
668                                </pluginExecution>
669                                <pluginExecution>
670                                    <pluginExecutionFilter>
671                                        <groupId>org.codehaus.mojo</groupId>
672                                        <artifactId>jaxb2-maven-plugin</artifactId>
673                                        <versionRange>[1.6,)</versionRange>
674                                        <goals>
675                                            <goal>xjc</goal>
676                                        </goals>
677                                    </pluginExecutionFilter>
678                                    <action>
679                                        <execute />
680                                    </action>
681                                </pluginExecution>
682                            </pluginExecutions>
683                        </lifecycleMappingMetadata>
684                    </configuration>
685                </plugin>
686                <!-- JAX-B If we e.g. execute on JDK 1.7, we should compile for
687                                Java 7 to get the same (or higher) JAXB API version as
688                used during the xjc execution. -->
689                <plugin>
690                    <groupId>org.apache.maven.plugins</groupId>
691                    <artifactId>maven-compiler-plugin</artifactId>
692                    <configuration>
693                        <source>${maven.compiler.source}</source>
694                        <target>${maven.compiler.source}</target>
695                    </configuration>
696                </plugin>
697            </plugins>
698        </pluginManagement>
699    </build>
700
701    <reporting>
702        <plugins>
703            <!-- NCSS plugin has issues with Java 7 at the moment, check back later -->
704            <!--
705            <plugin>
706                <groupId>org.codehaus.mojo</groupId>
707                <artifactId>javancss-maven-plugin</artifactId>
708                <version>2.0-beta-2</version>
709            </plugin>
710            -->
711        </plugins>
712    </reporting>
713
714    <repositories>
715        <repository>
716            <id>jboss</id>
717            <name>JBoss Public Maven Repository Group</name>
718            <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
719            <layout>default</layout>
720        </repository>
721
722        <repository>
723            <id>java-net-maven-2</id>
724            <name>Java.net Repository</name>
725            <url>http://download.java.net/maven/2/</url>
726            <layout>default</layout>
727        </repository>
728
729        <repository>
730            <id>wiquery</id>
731            <name>wiQuery repository</name>
732            <url>http://wiquery.googlecode.com/svn/repo/</url>
733            <layout>default</layout>
734        </repository>
735
736        <repository>
737            <id>clarin</id>
738            <name>CLARIN Repository</name>
739            <url>http://catalog.clarin.eu/ds/nexus/content/groups/public/</url>
740            <layout>default</layout>
741        </repository>
742    </repositories>
743
744    <pluginRepositories>
745        <pluginRepository>
746            <id>jboss</id>
747            <name>JBoss Public Maven Repository Group</name>
748            <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
749            <layout>default</layout>
750        </pluginRepository>
751    </pluginRepositories>
752
753</project>
Note: See TracBrowser for help on using the repository browser.