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

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

Added REST service information to the help page. Moved the documentation into a separate 'doc' directory in the project.
Refs #614

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 26.4 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>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.apache.commons</groupId>
87            <artifactId>commons-lang3</artifactId>
88            <version>3.3.2</version>
89        </dependency>
90
91        <dependency>
92            <groupId>commons-codec</groupId>
93            <artifactId>commons-codec</artifactId>
94            <type>jar</type>
95        </dependency>
96
97        <dependency>
98            <groupId>org.codehaus.woodstox</groupId>
99            <artifactId>woodstox-core-asl</artifactId>
100            <version>4.0.8</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        </dependency>
192
193        <dependency>
194            <groupId>org.apache.httpcomponents</groupId>
195            <artifactId>httpclient</artifactId>
196            <version>4.3.4</version>
197            <type>jar</type>
198        </dependency>
199       
200        <dependency>
201            <groupId>org.apache.wicket</groupId>
202            <artifactId>wicket</artifactId>
203        </dependency>
204
205        <dependency>
206            <groupId>org.apache.wicket</groupId>
207            <artifactId>wicket-auth-roles</artifactId>
208            <version>${wicket.version}</version>
209        </dependency>
210
211        <dependency>
212            <groupId>org.apache.wicket</groupId>
213            <artifactId>wicket-datetime</artifactId>
214            <version>${wicket.version}</version>
215        </dependency>
216
217        <dependency>
218            <groupId>org.apache.wicket</groupId>
219            <artifactId>wicket-extensions</artifactId>
220            <version>${wicket.version}</version>
221        </dependency>
222
223        <dependency>
224            <groupId>org.apache.wicket</groupId>
225            <artifactId>wicket-spring</artifactId>
226            <version>${wicket.version}</version>
227        </dependency>
228
229        <dependency>
230            <groupId>org.odlabs.wiquery</groupId>
231            <artifactId>wiquery</artifactId>
232            <version>1.2.3</version>
233            <exclusions>
234                <exclusion>
235                    <artifactId>log4j</artifactId>
236                    <groupId>log4j</groupId>
237                </exclusion>
238            </exclusions>
239        </dependency>
240
241        <!--
242                <dependency>
243                    <groupId>net.java.dev.javacc</groupId>
244                    <artifactId>javacc</artifactId>
245                    <version>5.0</version>
246                    <type>jar</type>
247                    <scope>provided</scope>
248                </dependency>
249        -->
250
251        <dependency>
252            <groupId>mysql</groupId>
253            <artifactId>mysql-connector-java</artifactId>
254            <version>5.1.13</version>
255            <type>jar</type>
256        </dependency>
257       
258        <dependency>
259            <groupId>de.mpg.mpgaai</groupId>
260            <artifactId>mpgaai-shhaa</artifactId>
261            <version>1.0.5</version>
262        </dependency>
263
264        <dependency>
265            <groupId>org.springframework</groupId>
266            <artifactId>spring-web</artifactId>
267            <version>${spring.version}</version>
268            <type>jar</type>
269        </dependency>
270
271        <dependency>
272            <groupId>com.sun.jersey.contribs</groupId>
273            <artifactId>jersey-spring</artifactId>
274            <version>${jersey.version}</version>
275            <exclusions>
276                <exclusion>
277                    <artifactId>spring-aop</artifactId>
278                    <groupId>org.springframework</groupId>
279                </exclusion>
280                <exclusion>
281                    <artifactId>spring-asm</artifactId>
282                    <groupId>org.springframework</groupId>
283                </exclusion>
284                <exclusion>
285                    <artifactId>spring-beans</artifactId>
286                    <groupId>org.springframework</groupId>
287                </exclusion>
288                <exclusion>
289                    <artifactId>spring-context</artifactId>
290                    <groupId>org.springframework</groupId>
291                </exclusion>
292                <exclusion>
293                    <artifactId>spring-core</artifactId>
294                    <groupId>org.springframework</groupId>
295                </exclusion>
296                <exclusion>
297                    <artifactId>spring-web</artifactId>
298                    <groupId>org.springframework</groupId>
299                </exclusion>
300            </exclusions>
301        </dependency>
302
303        <dependency>
304            <groupId>net.sf.saxon</groupId>
305            <artifactId>Saxon-HE</artifactId>
306            <version>9.5.1-5</version>
307            <scope>runtime</scope>
308            <classifier>compressed</classifier>
309        </dependency>
310
311        <dependency>
312            <groupId>eu.clarin.cmdi</groupId>
313            <artifactId>OAIProvider</artifactId>
314            <version>0.0.2</version>
315            <exclusions>
316                <exclusion>
317                    <artifactId>slf4j-jdk14</artifactId>
318                    <groupId>org.slf4j</groupId>
319                </exclusion>
320            </exclusions>
321        </dependency>
322
323        <!-- testing dependencies -->
324        <dependency>
325            <groupId>junit</groupId>
326            <artifactId>junit</artifactId>
327            <version>4.11</version>
328            <type>jar</type>
329            <scope>test</scope>
330        </dependency>
331
332        <dependency>
333            <groupId>org.hsqldb</groupId>
334            <artifactId>hsqldb</artifactId>
335            <version>2.0.0</version>
336            <type>jar</type>
337            <scope>test</scope>
338        </dependency>
339
340        <dependency>
341            <groupId>xmlunit</groupId>
342            <artifactId>xmlunit</artifactId>
343            <version>1.5</version>
344            <scope>test</scope>
345            <type>jar</type>
346        </dependency>
347
348        <dependency>
349            <groupId>org.jmock</groupId>
350            <artifactId>jmock-junit4</artifactId>
351            <version>2.6.0</version>
352            <scope>test</scope>
353        </dependency>
354
355        <!-- JavaMelody for application monitoring -->
356        <dependency>
357            <groupId>net.bull.javamelody</groupId>
358            <artifactId>javamelody-core</artifactId>
359            <version>1.51.0</version>
360            <exclusions>
361                <exclusion>
362                    <groupId>org.springframework</groupId>
363                    <artifactId>spring-aop</artifactId>
364                </exclusion>
365                <exclusion>
366                    <groupId>org.springframework</groupId>
367                    <artifactId>spring-context</artifactId>
368                </exclusion>
369            </exclusions>
370        </dependency>
371    </dependencies>
372
373    <dependencyManagement>
374        <dependencies>
375            <dependency>
376                <groupId>org.slf4j</groupId>
377                <artifactId>slf4j-api</artifactId>
378                <version>${slf4j.version}</version>
379            </dependency>
380
381            <dependency>
382                <groupId>commons-codec</groupId>
383                <artifactId>commons-codec</artifactId>
384                <version>1.4</version>
385            </dependency>
386
387            <dependency>
388                <groupId>commons-logging</groupId>
389                <artifactId>commons-logging</artifactId>
390                <version>1.1.3</version>
391            </dependency>
392
393            <dependency>
394                <groupId>org.codehaus.jettison</groupId>
395                <artifactId>jettison</artifactId>
396                <version>1.2</version>
397            </dependency>
398
399            <dependency>
400                <groupId>org.apache.wicket</groupId>
401                <artifactId>wicket</artifactId>
402                <version>${wicket.version}</version>
403            </dependency>
404
405            <dependency>
406                <groupId>org.codehaus.jackson</groupId>
407                <artifactId>jackson-core-asl</artifactId>
408                <version>${jackson.version}</version>
409            </dependency>
410
411            <dependency>
412                <groupId>org.codehaus.jackson</groupId>
413                <artifactId>jackson-mapper-asl</artifactId>
414                <version>${jackson.version}</version>
415            </dependency>
416        </dependencies>
417    </dependencyManagement>
418
419    <build>
420        <resources>
421            <resource>
422                <filtering>true</filtering>
423                <directory>src/main/resources</directory>
424            </resource>
425            <resource>
426                <filtering>true</filtering>
427                <directory>src/main/java</directory>
428                <includes>
429                    <include>**/BasePage.html</include>
430                </includes>
431            </resource>
432            <resource>
433                <filtering>false</filtering>
434                <directory>src/main/java</directory>
435                <includes>
436                    <include>**/*.html</include>
437                    <include>**/*.css</include>
438                    <include>**/*.js</include>
439                    <include>**/*.properties</include>
440                </includes>
441            </resource>
442        </resources>
443
444        <testResources>
445            <testResource>
446                <directory>src/test/resources</directory>
447            </testResource>
448        </testResources>
449
450        <plugins>
451            <plugin>
452                <groupId>org.codehaus.mojo</groupId>
453                <artifactId>javacc-maven-plugin</artifactId>
454                <version>2.6</version>
455                <executions>
456                    <execution>
457                        <id>javacc</id>
458                        <goals>
459                            <goal>jjtree-javacc</goal>
460                        </goals>
461                        <phase>generate-sources</phase>
462                    </execution>
463                </executions>
464            </plugin>
465
466            <plugin>
467                <groupId>org.bsc.maven</groupId>
468                <artifactId>maven-processor-plugin</artifactId>
469                <version>2.0.0</version>
470                <executions>
471                    <execution>
472                        <id>process</id>
473                        <goals>
474                            <goal>process</goal>
475                        </goals>
476                        <phase>generate-sources</phase>
477                        <configuration>
478                            <processors>
479                                <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
480                            </processors>
481                            <sourceDirectory>${basedir}/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/model</sourceDirectory>
482                            <outputDirectory>${project.build.directory}/generated-sources/metamodel</outputDirectory>
483                        </configuration>
484                    </execution>
485                </executions>
486                <dependencies>
487                    <dependency>
488                        <groupId>org.hibernate</groupId>
489                        <artifactId>hibernate-jpamodelgen</artifactId>
490                        <version>${hibernate.jpaVersion}</version>
491                        <scope>compile</scope>
492                    </dependency>
493                </dependencies>
494            </plugin>
495
496            <plugin>
497                <groupId>org.codehaus.mojo</groupId>
498                <artifactId>jaxb2-maven-plugin</artifactId>
499                <version>1.6</version>
500                <executions>
501                    <execution>
502                        <id>xjc</id>
503                        <goals>
504                            <goal>xjc</goal>
505                        </goals>
506                    </execution>
507                </executions>
508                <configuration>
509                    <packageName>eu.clarin.cmdi.virtualcollectionregistry.model.cmdi</packageName> <!-- The name of your generated source package -->
510                </configuration>
511            </plugin>
512
513            <plugin>
514                <groupId>org.codehaus.mojo</groupId>
515                <artifactId>build-helper-maven-plugin</artifactId>
516                <version>1.3</version>
517                <executions>
518                    <execution>
519                        <id>add-source</id>
520                        <goals>
521                            <goal>add-source</goal>
522                        </goals>
523                        <phase>generate-sources</phase>
524                        <configuration>
525                            <sources>
526                                <source>${project.build.directory}/generated-sources/metamodel</source>
527                                <source>${project.build.directory}/generated-sources/javacc</source>
528                                <source>${project.build.directory}/generated-sources/jjtree</source>
529                                <source>${project.build.directory}/generated-sources/jaxb</source>
530                            </sources>
531                        </configuration>
532                    </execution>
533                </executions>
534            </plugin>
535
536            <plugin>
537                <groupId>org.apache.maven.plugins</groupId>
538                <artifactId>maven-compiler-plugin</artifactId>
539                <version>2.3.2</version>
540                <configuration>
541                    <source>${maven.compiler.source}</source>
542                    <target>${maven.compiler.target}</target>
543                    <compilerArgument>-proc:none</compilerArgument>
544                </configuration>
545            </plugin>
546
547            <plugin>
548                <groupId>org.apache.maven.plugins</groupId>
549                <artifactId>maven-war-plugin</artifactId>
550                <version>2.4</version>
551                <configuration>
552                    <failOnMissingWebXml>true</failOnMissingWebXml>
553                    <webXml>${war.webxml}</webXml>
554                    <webResources>
555                        <!-- additional web resources: also copy schemas to web-app -->
556                        <resource>
557                            <directory>src/main/resources/META-INF</directory>
558                            <targetPath>schema</targetPath>
559                            <includes>
560                                <include>*.xsd</include>
561                            </includes>
562                        </resource>
563                        <!-- Make documentation available -->
564                        <resource>
565                            <directory>doc</directory>
566                        </resource>
567                    </webResources>
568                </configuration>
569            </plugin>
570           
571            <plugin>
572                <groupId>org.jasig.maven</groupId>
573                <artifactId>sass-maven-plugin</artifactId>
574                <version>1.1.1</version>
575                <executions>
576                    <execution>
577                        <phase>generate-resources</phase>
578                        <goals>
579                            <goal>update-stylesheets</goal>
580                        </goals>
581                    </execution>
582                </executions>
583            </plugin>
584           
585            <plugin>
586                <artifactId>maven-assembly-plugin</artifactId>
587                <version>2.4.1</version>
588                <executions>
589                    <execution>
590                        <id>make-assembly</id>
591                        <phase>package</phase>
592                        <goals>
593                            <goal>single</goal>
594                        </goals>
595                    </execution>
596                </executions>
597                <configuration>
598                    <descriptors>
599                        <descriptor>src/assembly/distribution.xml</descriptor>
600                    </descriptors>
601                </configuration>
602            </plugin>
603        </plugins>
604
605        <pluginManagement>
606            <plugins>
607                <!-- This plugin's configuration is used to store Eclipse m2e settings
608                only. It has no influence on the Maven build itself. -->
609                <plugin>
610                    <groupId>org.eclipse.m2e</groupId>
611                    <artifactId>lifecycle-mapping</artifactId>
612                    <version>1.0.0</version>
613                    <configuration>
614                        <lifecycleMappingMetadata>
615                            <pluginExecutions>
616                                <pluginExecution>
617                                    <pluginExecutionFilter>
618                                        <groupId>org.codehaus.mojo</groupId>
619                                        <artifactId>javacc-maven-plugin</artifactId>
620                                        <versionRange>[2.6,)</versionRange>
621                                        <goals>
622                                            <goal>jjtree-javacc</goal>
623                                        </goals>
624                                    </pluginExecutionFilter>
625                                    <action>
626                                        <execute />
627                                    </action>
628                                </pluginExecution>
629                                <pluginExecution>
630                                    <pluginExecutionFilter>
631                                        <groupId>org.bsc.maven</groupId>
632                                        <artifactId>maven-processor-plugin</artifactId>
633                                        <versionRange>[2.0.0,)</versionRange>
634                                        <goals>
635                                            <goal>process</goal>
636                                        </goals>
637                                    </pluginExecutionFilter>
638                                    <action>
639                                        <execute />
640                                    </action>
641                                </pluginExecution>
642                                <pluginExecution>
643                                    <pluginExecutionFilter>
644                                        <groupId>org.codehaus.mojo</groupId>
645                                        <artifactId>jaxb2-maven-plugin</artifactId>
646                                        <versionRange>[1.6,)</versionRange>
647                                        <goals>
648                                            <goal>xjc</goal>
649                                        </goals>
650                                    </pluginExecutionFilter>
651                                    <action>
652                                        <execute />
653                                    </action>
654                                </pluginExecution>
655                            </pluginExecutions>
656                        </lifecycleMappingMetadata>
657                    </configuration>
658                </plugin>
659                <!-- JAX-B If we e.g. execute on JDK 1.7, we should compile for
660                                Java 7 to get the same (or higher) JAXB API version as
661                used during the xjc execution. -->
662                <plugin>
663                    <groupId>org.apache.maven.plugins</groupId>
664                    <artifactId>maven-compiler-plugin</artifactId>
665                    <configuration>
666                        <source>${maven.compiler.source}</source>
667                        <target>${maven.compiler.source}</target>
668                    </configuration>
669                </plugin>
670            </plugins>
671        </pluginManagement>
672    </build>
673
674    <reporting>
675        <plugins>
676            <!-- NCSS plugin has issues with Java 7 at the moment, check back later -->
677            <!--
678            <plugin>
679                <groupId>org.codehaus.mojo</groupId>
680                <artifactId>javancss-maven-plugin</artifactId>
681                <version>2.0-beta-2</version>
682            </plugin>
683            -->
684        </plugins>
685    </reporting>
686
687    <repositories>
688        <repository>
689            <id>jboss</id>
690            <name>JBoss Public Maven Repository Group</name>
691            <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
692            <layout>default</layout>
693        </repository>
694
695        <repository>
696            <id>java-net-maven-2</id>
697            <name>Java.net Repository</name>
698            <url>http://download.java.net/maven/2/</url>
699            <layout>default</layout>
700        </repository>
701
702        <repository>
703            <id>wiquery</id>
704            <name>wiQuery repository</name>
705            <url>http://wiquery.googlecode.com/svn/repo/</url>
706            <layout>default</layout>
707        </repository>
708
709        <repository>
710            <id>clarin</id>
711            <name>CLARIN Repository</name>
712            <url>http://catalog.clarin.eu/ds/nexus/content/groups/public/</url>
713            <layout>default</layout>
714        </repository>
715    </repositories>
716
717    <pluginRepositories>
718        <pluginRepository>
719            <id>jboss</id>
720            <name>JBoss Public Maven Repository Group</name>
721            <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
722            <layout>default</layout>
723        </pluginRepository>
724    </pluginRepositories>
725
726</project>
Note: See TracBrowser for help on using the repository browser.