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

Last change on this file since 1022 was 1022, checked in by oschonef, 13 years ago
  • bump version
  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 12.7 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>**/*.properties</include>
34        </includes>
35      </resource>
36    </resources>
37
38    <testResources>
39      <testResource>
40        <directory>src/test/resources</directory>
41      </testResource>
42    </testResources>
43
44    <plugins>
45      <plugin>
46        <groupId>org.apache.maven.plugins</groupId>
47        <artifactId>maven-antrun-plugin</artifactId>
48        <version>1.4</version>
49        <executions>
50          <execution>
51            <id>process-jpa-annotations</id>
52            <phase>generate-sources</phase>
53            <configuration>
54              <tasks>
55                <echo>processing JPA annotations</echo>
56                <property name="target.dir"
57                  value="${project.build.directory}/generated-sources/jpamodelgen" />
58                <mkdir dir="${target.dir}" />
59                <javac
60                  srcdir="${basedir}/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/model"
61                  destdir="${target.dir}" failonerror="false" fork="true"
62                  target="${maven.compiler.target}">
63                  <!-- hack to silence javac warnings -->
64                  <include name="**/*.java" />
65                  <exclude name="**/VirtualCollectionValidator.java" />
66                  <exclude name="**/*Provider.java" />
67                  <compilerarg value="-proc:only" />
68                  <classpath>
69                    <path refid="maven.compile.classpath" />
70                  </classpath>
71                </javac>
72              </tasks>
73              <sourceRoot>${project.build.directory}/generated-sources/jpamodelgen</sourceRoot>
74            </configuration>
75            <goals>
76              <goal>run</goal>
77            </goals>
78          </execution>
79        </executions>
80      </plugin>
81
82      <plugin>
83        <groupId>org.codehaus.mojo</groupId>
84        <artifactId>javacc-maven-plugin</artifactId>
85        <version>2.6</version>
86        <executions>
87          <execution>
88            <id>javacc</id>
89            <goals>
90              <goal>jjtree-javacc</goal>
91            </goals>
92          </execution>
93        </executions>
94      </plugin>
95
96      <plugin>
97        <groupId>org.apache.maven.plugins</groupId>
98        <artifactId>maven-compiler-plugin</artifactId>
99        <version>2.3.2</version>
100        <configuration>
101          <source>${maven.compiler.source}</source>
102          <target>${maven.compiler.target}</target>
103        </configuration>
104      </plugin>
105
106      <plugin>
107        <groupId>org.apache.maven.plugins</groupId>
108        <artifactId>maven-war-plugin</artifactId>
109        <version>2.1.1</version>
110        <configuration>
111          <webResources>
112            <!-- additional web resources: also copy schemas to web-app -->
113            <resource>
114              <directory>src/main/resources/META-INF</directory>
115              <targetPath>schema</targetPath>
116              <includes>
117                <include>*.xsd</include>
118              </includes>
119            </resource>
120          </webResources>
121        </configuration>
122      </plugin>
123    </plugins>
124  </build>
125
126  <repositories>
127    <repository>
128      <id>repository.jboss-public</id>
129      <name>JBoss Repository</name>
130      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
131    </repository>
132
133    <repository>
134      <id>repository.java-net</id>
135      <name>Java.net Repository</name>
136      <url>http://download.java.net/maven/2/</url>
137    </repository>
138
139    <repository>
140      <id>wiquery repository</id>
141      <name>wiQuery repository</name>
142      <url>http://wiquery.googlecode.com/svn/repo/</url>
143      <layout>default</layout>
144    </repository>
145
146    <repository>
147      <id>repository.clarin</id>
148      <name>CLARIN Repository</name>
149      <url>http://catalog.clarin.eu/ds/nexus/content/groups/public/</url>
150    </repository>
151  </repositories>
152
153  <pluginRepositories>
154    <pluginRepository>
155      <id>repository.jboss-public</id>
156      <name>JBoss Repository</name>
157      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
158    </pluginRepository>
159
160    <pluginRepository>
161      <id>repository.java-net</id>
162      <name>Java.net Repository</name>
163      <url>http://download.java.net/maven/2/</url>
164    </pluginRepository>
165  </pluginRepositories>
166
167  <dependencies>
168    <dependency>
169      <groupId>org.slf4j</groupId>
170      <artifactId>slf4j-jdk14</artifactId>
171      <version>${slf4j.version}</version>
172      <scope>runtime</scope>
173    </dependency>
174
175    <dependency>
176      <groupId>commons-lang</groupId>
177      <artifactId>commons-lang</artifactId>
178      <version>2.5</version>
179      <type>jar</type>
180    </dependency>
181
182    <dependency>
183        <groupId>commons-codec</groupId>
184        <artifactId>commons-codec</artifactId>
185        <version>1.4</version>
186        <type>jar</type>
187    </dependency>
188
189    <dependency>
190      <groupId>javax.xml.bind</groupId>
191      <artifactId>jaxb-api</artifactId>
192      <version>2.2.1</version>
193      <exclusions>
194        <exclusion>
195          <groupId>javax.xml.stream</groupId>
196          <artifactId>stax-api</artifactId>
197        </exclusion>
198      </exclusions>
199    </dependency>
200
201    <dependency>
202        <groupId>org.codehaus.woodstox</groupId>
203        <artifactId>woodstox-core-asl</artifactId>
204        <version>4.0.8</version>
205        <type>jar</type>
206        <scope>compile</scope>
207    </dependency>
208
209    <dependency>
210        <groupId>net.java.dev.msv</groupId>
211        <artifactId>msv-core</artifactId>
212        <version>2009.1</version>
213        <type>jar</type>
214        <scope>compile</scope>
215    </dependency>
216
217    <dependency>
218      <groupId>org.hibernate.javax.persistence</groupId>
219      <artifactId>hibernate-jpa-2.0-api</artifactId>
220      <version>${hibernate.jpaVersion}</version>
221    </dependency>
222
223    <dependency>
224      <groupId>org.hibernate</groupId>
225      <artifactId>hibernate-entitymanager</artifactId>
226      <version>${hibernate.version}</version>
227      <scope>runtime</scope>
228    </dependency>
229
230    <dependency>
231      <groupId>org.hibernate</groupId>
232      <artifactId>hibernate-jpamodelgen</artifactId>
233      <version>${hibernate.jpaVersion}</version>
234      <!--
235        "provided" is actually a lie, but this dependency is only needed
236        at compile time, and "provided" does the trick
237      -->
238      <scope>provided</scope>
239      <exclusions>
240        <exclusion>
241          <!--
242            Use the jpa-api defined here, crossing fingers they match up
243            signature-wise
244          -->
245          <groupId>org.hibernate.javax.persistence</groupId>
246          <artifactId>hibernate-jpa-2.0-api</artifactId>
247        </exclusion>
248      </exclusions>
249    </dependency>
250
251    <dependency>
252      <groupId>javax.servlet</groupId>
253      <artifactId>servlet-api</artifactId>
254      <version>2.5</version>
255      <type>jar</type>
256      <scope>provided</scope>
257    </dependency>
258
259    <dependency>
260      <groupId>javax.ws.rs</groupId>
261      <artifactId>jsr311-api</artifactId>
262      <version>1.1.1</version>
263      <type>jar</type>
264    </dependency>
265
266    <dependency>
267      <groupId>com.sun.jersey</groupId>
268      <artifactId>jersey-server</artifactId>
269      <version>${jersey.version}</version>
270      <scope>runtime</scope>
271    </dependency>
272
273    <dependency>
274      <groupId>com.sun.jersey</groupId>
275      <artifactId>jersey-json</artifactId>
276      <version>${jersey.version}</version>
277      <scope>runtime</scope>
278      <exclusions>
279        <exclusion>
280          <groupId>stax</groupId>
281          <artifactId>stax-api</artifactId>
282        </exclusion>
283        <exclusion>
284          <groupId>com.sun.xml.bind</groupId>
285          <artifactId>jaxb-impl</artifactId>
286        </exclusion>
287        <exclusion>
288                <artifactId>jackson-mapper-asl</artifactId>
289                <groupId>org.codehaus.jackson</groupId>
290        </exclusion>
291      </exclusions>
292    </dependency>
293
294
295    <dependency>
296      <groupId>org.codehaus.jettison</groupId>
297      <artifactId>jettison</artifactId>
298      <version>1.2</version>
299      <exclusions>
300        <exclusion>
301          <groupId>stax</groupId>
302          <artifactId>stax-api</artifactId>
303        </exclusion>
304      </exclusions>
305    </dependency>
306
307    <dependency>
308      <groupId>org.apache.httpcomponents</groupId>
309      <artifactId>httpclient</artifactId>
310      <version>4.0.1</version>
311      <type>jar</type>
312      <scope>compile</scope>
313    </dependency>
314
315    <dependency>
316      <groupId>org.apache.wicket</groupId>
317      <artifactId>wicket</artifactId>
318      <version>${wicket.version}</version>
319    </dependency>
320
321    <dependency>
322      <groupId>org.apache.wicket</groupId>
323      <artifactId>wicket-auth-roles</artifactId>
324      <version>${wicket.version}</version>
325    </dependency>
326
327    <dependency>
328      <groupId>org.apache.wicket</groupId>
329      <artifactId>wicket-datetime</artifactId>
330      <version>${wicket.version}</version>
331    </dependency>
332
333    <dependency>
334      <groupId>org.apache.wicket</groupId>
335      <artifactId>wicket-extensions</artifactId>
336      <version>${wicket.version}</version>
337    </dependency>
338
339    <dependency>
340      <groupId>org.odlabs.wiquery</groupId>
341      <artifactId>wiquery</artifactId>
342      <version>1.1.2</version>
343    </dependency>
344
345    <dependency>
346      <groupId>net.java.dev.javacc</groupId>
347      <artifactId>javacc</artifactId>
348      <version>5.0</version>
349      <type>jar</type>
350      <scope>provided</scope>
351    </dependency>
352
353    <dependency>
354      <groupId>eu.clarin.cmdi</groupId>
355      <artifactId>OAIProvider</artifactId>
356      <version>0.0.1</version>
357    </dependency>
358
359    <dependency>
360        <groupId>junit</groupId>
361        <artifactId>junit</artifactId>
362        <version>4.8.1</version>
363        <type>jar</type>
364        <scope>test</scope>
365    </dependency>
366
367    <dependency>
368        <groupId>org.hsqldb</groupId>
369        <artifactId>hsqldb</artifactId>
370        <version>2.0.0</version>
371        <type>jar</type>
372        <scope>test</scope>
373    </dependency>
374
375    <dependency>
376        <groupId>mysql</groupId>
377        <artifactId>mysql-connector-java</artifactId>
378        <version>5.1.13</version>
379        <type>jar</type>
380        <scope>test</scope>
381    </dependency>
382  </dependencies>
383
384  <dependencyManagement>
385        <dependencies>
386     <dependency>
387       <groupId>commons-codec</groupId>
388       <artifactId>commons-codec</artifactId>
389       <version>1.4</version>
390      </dependency>
391
392      <dependency>
393        <groupId>org.codehaus.jettison</groupId>
394        <artifactId>jettison</artifactId>
395        <version>1.2</version>
396      </dependency>
397
398      <dependency>
399        <groupId>org.apache.wicket</groupId>
400        <artifactId>wicket</artifactId>
401        <version>${wicket.version}</version>
402      </dependency>
403
404      <dependency>
405        <groupId>org.slf4j</groupId>
406        <artifactId>slf4j-api</artifactId>
407        <version>${slf4j.version}</version>
408      </dependency>
409
410      <dependency>
411        <groupId>org.slf4j</groupId>
412        <artifactId>slf4j-jdk14</artifactId>
413        <version>${slf4j.version}</version>
414      </dependency>
415
416      <dependency>
417        <groupId>org.codehaus.jackson</groupId>
418        <artifactId>jackson-core-asl</artifactId>
419        <version>1.6.1</version>
420      </dependency>
421
422      <dependency>
423        <groupId>org.codehaus.jackson</groupId>
424        <artifactId>jackson-mapper-asl</artifactId>
425        <version>1.6.1</version>
426      </dependency>
427        </dependencies>
428  </dependencyManagement>
429
430  <properties>
431    <!-- project settings -->
432    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
433    <!-- plug-in settings -->
434    <maven.compiler.source>1.6</maven.compiler.source>
435    <maven.compiler.target>1.6</maven.compiler.target>
436    <!-- dependency versions -->
437    <slf4j.version>1.6.1</slf4j.version>
438    <hibernate.version>3.6.0.Final</hibernate.version>
439    <hibernate.jpaVersion>1.0.0.Final</hibernate.jpaVersion>
440    <jersey.version>1.4</jersey.version>
441    <wicket.version>1.4.14</wicket.version>
442  </properties>
443</project>
Note: See TracBrowser for help on using the repository browser.