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

Last change on this file since 3940 was 3940, checked in by oschonef, 11 years ago
  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 15.2 KB
Line 
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3  <modelVersion>4.0.0</modelVersion>
4  <groupId>eu.clarin.cmdi</groupId>
5  <artifactId>VirtualCollectionRegistry</artifactId>
6  <packaging>war</packaging>
7  <name>CLARIN Virtual Collection Registry</name>
8  <version>0.3.0-SNAPSHOT</version>
9
10  <organization>
11        <name>Institut fÃŒr Deutsche Sprache</name>
12        <url>http://www.ids-mannheim.de/</url>
13  </organization>
14
15  <build>
16    <resources>
17      <resource>
18        <filtering>true</filtering>
19        <directory>src/main/resources</directory>
20      </resource>
21      <resource>
22        <filtering>true</filtering>
23        <directory>src/main/java</directory>
24        <includes>
25          <include>**/BasePage.html</include>
26        </includes>
27      </resource>
28      <resource>
29        <filtering>false</filtering>
30        <directory>src/main/java</directory>
31        <includes>
32          <include>**/*.html</include>
33          <include>**/*.css</include>
34          <include>**/*.js</include>
35          <include>**/*.properties</include>
36        </includes>
37      </resource>
38    </resources>
39
40    <testResources>
41      <testResource>
42        <directory>src/test/resources</directory>
43      </testResource>
44    </testResources>
45
46    <plugins>
47      <plugin>
48        <groupId>org.codehaus.mojo</groupId>
49        <artifactId>javacc-maven-plugin</artifactId>
50        <version>2.6</version>
51        <executions>
52          <execution>
53            <id>javacc</id>
54            <goals>
55              <goal>jjtree-javacc</goal>
56            </goals>
57            <phase>generate-sources</phase>
58          </execution>
59        </executions>
60      </plugin>
61
62      <plugin>
63        <groupId>org.bsc.maven</groupId>
64        <artifactId>maven-processor-plugin</artifactId>
65        <version>2.0.0</version>
66        <executions>
67          <execution>
68            <id>process</id>
69            <goals>
70              <goal>process</goal>
71            </goals>
72            <phase>generate-sources</phase>
73            <configuration>
74              <processors>
75                 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
76              </processors>
77              <sourceDirectory>${basedir}/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/model</sourceDirectory>
78              <outputDirectory>${project.build.directory}/generated-sources/metamodel</outputDirectory>
79            </configuration>
80          </execution>
81        </executions>
82      </plugin>
83
84      <plugin>
85        <groupId>org.codehaus.mojo</groupId>
86        <artifactId>build-helper-maven-plugin</artifactId>
87        <version>1.3</version>
88        <executions>
89          <execution>
90            <id>add-source</id>
91            <goals>
92              <goal>add-source</goal>
93            </goals>
94            <phase>generate-sources</phase>
95            <configuration>
96              <sources>
97                <source>${project.build.directory}/generated-sources/metamodel</source>
98                <source>${project.build.directory}/generated-sources/javacc</source>
99                <source>${project.build.directory}/generated-sources/jjtree</source>
100              </sources>
101            </configuration>
102          </execution>
103        </executions>
104      </plugin>
105
106      <plugin>
107        <groupId>org.apache.maven.plugins</groupId>
108        <artifactId>maven-compiler-plugin</artifactId>
109        <version>2.3.2</version>
110        <configuration>
111          <source>${maven.compiler.source}</source>
112          <target>${maven.compiler.target}</target>
113          <compilerArgument>-proc:none</compilerArgument>
114        </configuration>
115      </plugin>
116
117      <plugin>
118        <groupId>org.apache.maven.plugins</groupId>
119        <artifactId>maven-war-plugin</artifactId>
120        <version>2.1.1</version>
121        <configuration>
122          <webResources>
123            <!-- additional web resources: also copy schemas to web-app -->
124            <resource>
125              <directory>src/main/resources/META-INF</directory>
126              <targetPath>schema</targetPath>
127              <includes>
128                <include>*.xsd</include>
129              </includes>
130            </resource>
131          </webResources>
132        </configuration>
133      </plugin>
134    </plugins>
135   
136    <pluginManagement>
137            <plugins>
138                <!--
139                  This plugin's configuration is used to store Eclipse m2e
140                  settings only. It has no influence on the Maven build itself.
141                -->
142                <plugin>
143                    <groupId>org.eclipse.m2e</groupId>
144                    <artifactId>lifecycle-mapping</artifactId>
145                    <version>1.0.0</version>
146                    <configuration>
147                        <lifecycleMappingMetadata>
148                            <pluginExecutions>
149                                <pluginExecution>
150                                    <pluginExecutionFilter>
151                                        <groupId>org.codehaus.mojo</groupId>
152                                        <artifactId>javacc-maven-plugin</artifactId>
153                                        <versionRange>[2.6,)</versionRange>
154                                        <goals>
155                                            <goal>jjtree-javacc</goal>
156                                        </goals>
157                                    </pluginExecutionFilter>
158                                    <action>
159                                        <execute />
160                                    </action>
161                                </pluginExecution>
162                                <pluginExecution>
163                                    <pluginExecutionFilter>
164                                        <groupId>org.bsc.maven</groupId>
165                                        <artifactId>maven-processor-plugin</artifactId>
166                                        <versionRange>[2.0.0,)</versionRange>
167                                        <goals>
168                                            <goal>process</goal>
169                                        </goals>
170                                    </pluginExecutionFilter>
171                                    <action>
172                                        <execute />
173                                    </action>
174                                </pluginExecution>
175                            </pluginExecutions>
176                        </lifecycleMappingMetadata>
177                    </configuration>
178                </plugin>
179            </plugins>
180    </pluginManagement>
181  </build>
182
183  <repositories>
184    <repository>
185      <id>jboss</id>
186      <name>JBoss Public Maven Repository Group</name>
187      <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
188      <layout>default</layout>
189    </repository>
190
191    <repository>
192      <id>java-net-maven-2</id>
193      <name>Java.net Repository</name>
194      <url>http://download.java.net/maven/2/</url>
195      <layout>default</layout>
196    </repository>
197
198    <repository>
199      <id>wiquery</id>
200      <name>wiQuery repository</name>
201      <url>http://wiquery.googlecode.com/svn/repo/</url>
202      <layout>default</layout>
203    </repository>
204
205    <repository>
206      <id>clarin</id>
207      <name>CLARIN Repository</name>
208      <url>http://catalog.clarin.eu/ds/nexus/content/groups/public/</url>
209      <layout>default</layout>
210    </repository>
211  </repositories>
212
213  <pluginRepositories>
214    <pluginRepository>
215      <id>jboss</id>
216      <name>JBoss Public Maven Repository Group</name>
217      <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
218      <layout>default</layout>
219    </pluginRepository>
220
221    <pluginRepository>
222      <id>java-net</id>
223      <name>Java.net Repository</name>
224      <url>http://download.java.net/maven/2/</url>
225      <layout>default</layout>
226    </pluginRepository>
227  </pluginRepositories>
228
229  <dependencies>
230    <dependency>
231      <groupId>org.slf4j</groupId>
232      <artifactId>slf4j-jdk14</artifactId>
233      <scope>runtime</scope>
234    </dependency>
235
236    <dependency>
237      <groupId>commons-lang</groupId>
238      <artifactId>commons-lang</artifactId>
239      <version>2.5</version>
240      <type>jar</type>
241    </dependency>
242
243    <dependency>
244        <groupId>commons-codec</groupId>
245        <artifactId>commons-codec</artifactId>
246        <type>jar</type>
247    </dependency>
248
249    <dependency>
250      <groupId>javax.xml.bind</groupId>
251      <artifactId>jaxb-api</artifactId>
252      <version>2.2.1</version>
253      <exclusions>
254        <exclusion>
255          <groupId>javax.xml.stream</groupId>
256          <artifactId>stax-api</artifactId>
257        </exclusion>
258      </exclusions>
259    </dependency>
260
261    <dependency>
262        <groupId>org.codehaus.woodstox</groupId>
263        <artifactId>woodstox-core-asl</artifactId>
264        <version>4.0.8</version>
265        <type>jar</type>
266        <scope>compile</scope>
267    </dependency>
268
269    <dependency>
270        <groupId>net.java.dev.msv</groupId>
271        <artifactId>msv-core</artifactId>
272        <version>2009.1</version>
273        <type>jar</type>
274        <scope>runtime</scope>
275    </dependency>
276
277    <dependency>
278      <groupId>org.hibernate.javax.persistence</groupId>
279      <artifactId>hibernate-jpa-2.0-api</artifactId>
280      <version>${hibernate.jpaVersion}</version>
281    </dependency>
282
283    <dependency>
284      <groupId>org.hibernate</groupId>
285      <artifactId>hibernate-entitymanager</artifactId>
286      <version>${hibernate.version}</version>
287      <scope>runtime</scope>
288    </dependency>
289
290    <dependency>
291      <groupId>org.hibernate</groupId>
292      <artifactId>hibernate-jpamodelgen</artifactId>
293      <version>${hibernate.jpaVersion}</version>
294      <!--
295        "provided" is actually a lie, but this dependency is only needed
296        at compile time, and "provided" does the trick
297      -->
298      <scope>provided</scope>
299      <exclusions>
300        <exclusion>
301          <!--
302            Use the jpa-api defined here, crossing fingers they match up
303            signature-wise
304          -->
305          <groupId>org.hibernate.javax.persistence</groupId>
306          <artifactId>hibernate-jpa-2.0-api</artifactId>
307        </exclusion>
308      </exclusions>
309    </dependency>
310
311    <dependency>
312      <groupId>javax.servlet</groupId>
313      <artifactId>servlet-api</artifactId>
314      <version>2.5</version>
315      <type>jar</type>
316      <scope>provided</scope>
317    </dependency>
318
319    <dependency>
320      <groupId>javax.ws.rs</groupId>
321      <artifactId>jsr311-api</artifactId>
322      <version>1.1.1</version>
323      <type>jar</type>
324    </dependency>
325
326    <dependency>
327      <groupId>com.sun.jersey</groupId>
328      <artifactId>jersey-server</artifactId>
329      <version>${jersey.version}</version>
330      <scope>runtime</scope>
331    </dependency>
332
333    <dependency>
334      <groupId>com.sun.jersey</groupId>
335      <artifactId>jersey-json</artifactId>
336      <version>${jersey.version}</version>
337      <scope>runtime</scope>
338      <exclusions>
339        <exclusion>
340          <groupId>stax</groupId>
341          <artifactId>stax-api</artifactId>
342        </exclusion>
343        <exclusion>
344          <groupId>com.sun.xml.bind</groupId>
345          <artifactId>jaxb-impl</artifactId>
346        </exclusion>
347        <exclusion>
348                <artifactId>jackson-mapper-asl</artifactId>
349                <groupId>org.codehaus.jackson</groupId>
350        </exclusion>
351      </exclusions>
352    </dependency>
353
354
355    <dependency>
356      <groupId>org.codehaus.jettison</groupId>
357      <artifactId>jettison</artifactId>
358      <exclusions>
359        <exclusion>
360          <groupId>stax</groupId>
361          <artifactId>stax-api</artifactId>
362        </exclusion>
363      </exclusions>
364    </dependency>
365
366    <dependency>
367      <groupId>org.apache.httpcomponents</groupId>
368      <artifactId>httpclient</artifactId>
369      <version>4.0.1</version>
370      <type>jar</type>
371      <scope>compile</scope>
372    </dependency>
373
374    <dependency>
375      <groupId>org.apache.wicket</groupId>
376      <artifactId>wicket</artifactId>
377    </dependency>
378
379    <dependency>
380      <groupId>org.apache.wicket</groupId>
381      <artifactId>wicket-auth-roles</artifactId>
382      <version>${wicket.version}</version>
383    </dependency>
384
385    <dependency>
386      <groupId>org.apache.wicket</groupId>
387      <artifactId>wicket-datetime</artifactId>
388      <version>${wicket.version}</version>
389    </dependency>
390
391    <dependency>
392      <groupId>org.apache.wicket</groupId>
393      <artifactId>wicket-extensions</artifactId>
394      <version>${wicket.version}</version>
395    </dependency>
396
397    <dependency>
398      <groupId>org.odlabs.wiquery</groupId>
399      <artifactId>wiquery</artifactId>
400      <version>1.1.2</version>
401    </dependency>
402
403    <dependency>
404      <groupId>net.java.dev.javacc</groupId>
405      <artifactId>javacc</artifactId>
406      <version>5.0</version>
407      <type>jar</type>
408      <scope>provided</scope>
409    </dependency>
410
411    <dependency>
412      <groupId>eu.clarin.cmdi</groupId>
413      <artifactId>OAIProvider</artifactId>
414      <version>0.0.1</version>
415    </dependency>
416
417    <dependency>
418        <groupId>junit</groupId>
419        <artifactId>junit</artifactId>
420        <version>4.8.1</version>
421        <type>jar</type>
422        <scope>test</scope>
423    </dependency>
424
425    <dependency>
426        <groupId>org.hsqldb</groupId>
427        <artifactId>hsqldb</artifactId>
428        <version>2.0.0</version>
429        <type>jar</type>
430        <scope>test</scope>
431    </dependency>
432
433    <dependency>
434        <groupId>mysql</groupId>
435        <artifactId>mysql-connector-java</artifactId>
436        <version>5.1.13</version>
437        <type>jar</type>
438    </dependency>
439  </dependencies>
440
441  <dependencyManagement>
442        <dependencies>
443     <dependency>
444       <groupId>commons-codec</groupId>
445       <artifactId>commons-codec</artifactId>
446       <version>1.4</version>
447      </dependency>
448
449      <dependency>
450        <groupId>org.codehaus.jettison</groupId>
451        <artifactId>jettison</artifactId>
452        <version>1.2</version>
453      </dependency>
454
455      <dependency>
456        <groupId>org.apache.wicket</groupId>
457        <artifactId>wicket</artifactId>
458        <version>${wicket.version}</version>
459      </dependency>
460
461      <dependency>
462        <groupId>org.slf4j</groupId>
463        <artifactId>slf4j-api</artifactId>
464        <version>${slf4j.version}</version>
465      </dependency>
466
467      <dependency>
468        <groupId>org.slf4j</groupId>
469        <artifactId>slf4j-jdk14</artifactId>
470        <version>${slf4j.version}</version>
471      </dependency>
472
473      <dependency>
474        <groupId>org.codehaus.jackson</groupId>
475        <artifactId>jackson-core-asl</artifactId>
476        <version>1.6.1</version>
477      </dependency>
478
479      <dependency>
480        <groupId>org.codehaus.jackson</groupId>
481        <artifactId>jackson-mapper-asl</artifactId>
482        <version>1.6.1</version>
483      </dependency>
484        </dependencies>
485  </dependencyManagement>
486
487  <properties>
488    <!-- project settings -->
489    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
490    <!-- plug-in settings -->
491    <maven.compiler.source>1.6</maven.compiler.source>
492    <maven.compiler.target>1.6</maven.compiler.target>
493    <!-- dependency versions -->
494    <slf4j.version>1.6.1</slf4j.version>
495    <hibernate.version>3.6.0.Final</hibernate.version>
496    <hibernate.jpaVersion>1.0.0.Final</hibernate.jpaVersion>
497    <jersey.version>1.4</jersey.version>
498    <wicket.version>1.4.22</wicket.version>
499  </properties>
500</project>
Note: See TracBrowser for help on using the repository browser.