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

Last change on this file since 953 was 953, checked in by oschonef, 14 years ago
  • update Hibernate to 3.6.0.Final
  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 11.1 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.2.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>repository.clarin</id>
141      <name>CLARIN Repository</name>
142      <url>http://catalog.clarin.eu/ds/nexus/content/groups/public/</url>
143    </repository>
144  </repositories>
145
146  <pluginRepositories>
147    <pluginRepository>
148      <id>repository.jboss-public</id>
149      <name>JBoss Repository</name>
150      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
151    </pluginRepository>
152
153    <pluginRepository>
154      <id>repository.java-net</id>
155      <name>Java.net Repository</name>
156      <url>http://download.java.net/maven/2/</url>
157    </pluginRepository>
158  </pluginRepositories>
159
160  <dependencies>
161    <dependency>
162      <groupId>org.slf4j</groupId>
163      <artifactId>slf4j-jdk14</artifactId>
164      <version>${slf4j.version}</version>
165      <scope>runtime</scope>
166    </dependency>
167
168    <dependency>
169      <groupId>commons-lang</groupId>
170      <artifactId>commons-lang</artifactId>
171      <version>2.5</version>
172      <type>jar</type>
173    </dependency>
174
175    <dependency>
176        <groupId>commons-codec</groupId>
177        <artifactId>commons-codec</artifactId>
178        <version>1.4</version>
179        <type>jar</type>
180    </dependency>
181
182    <dependency>
183      <groupId>javax.xml.bind</groupId>
184      <artifactId>jaxb-api</artifactId>
185      <version>2.2.1</version>
186      <exclusions>
187        <exclusion>
188          <groupId>javax.xml.stream</groupId>
189          <artifactId>stax-api</artifactId>
190        </exclusion>
191      </exclusions>
192    </dependency>
193
194    <dependency>
195        <groupId>org.codehaus.woodstox</groupId>
196        <artifactId>woodstox-core-asl</artifactId>
197        <version>4.0.8</version>
198        <type>jar</type>
199        <scope>compile</scope>
200    </dependency>
201
202    <dependency>
203        <groupId>net.java.dev.msv</groupId>
204        <artifactId>msv-core</artifactId>
205        <version>2009.1</version>
206        <type>jar</type>
207        <scope>compile</scope>
208    </dependency>
209
210    <dependency>
211      <groupId>org.hibernate.javax.persistence</groupId>
212      <artifactId>hibernate-jpa-2.0-api</artifactId>
213      <version>${hibernate.jpaVersion}</version>
214    </dependency>
215
216    <dependency>
217      <groupId>org.hibernate</groupId>
218      <artifactId>hibernate-entitymanager</artifactId>
219      <version>${hibernate.version}</version>
220      <scope>runtime</scope>
221    </dependency>
222
223    <dependency>
224      <groupId>org.hibernate</groupId>
225      <artifactId>hibernate-jpamodelgen</artifactId>
226      <version>${hibernate.jpaVersion}</version>
227      <!--
228        "provided" is actually a lie, but this dependency is only needed
229        at compile time, and "provided" does the trick
230      -->
231      <scope>provided</scope>
232      <exclusions>
233        <exclusion>
234          <!--
235            Use the jpa-api defined here, crossing fingers they match up
236            signature-wise
237          -->
238          <groupId>org.hibernate.javax.persistence</groupId>
239          <artifactId>hibernate-jpa-2.0-api</artifactId>
240        </exclusion>
241      </exclusions>
242    </dependency>
243
244    <dependency>
245      <groupId>javax.servlet</groupId>
246      <artifactId>servlet-api</artifactId>
247      <version>2.5</version>
248      <type>jar</type>
249      <scope>provided</scope>
250    </dependency>
251
252    <dependency>
253      <groupId>javax.ws.rs</groupId>
254      <artifactId>jsr311-api</artifactId>
255      <version>1.1.1</version>
256      <type>jar</type>
257    </dependency>
258
259    <dependency>
260      <groupId>com.sun.jersey</groupId>
261      <artifactId>jersey-server</artifactId>
262      <version>${jersey.version}</version>
263      <scope>runtime</scope>
264    </dependency>
265
266    <dependency>
267      <groupId>com.sun.jersey</groupId>
268      <artifactId>jersey-json</artifactId>
269      <version>${jersey.version}</version>
270      <scope>runtime</scope>
271      <exclusions>
272        <exclusion>
273          <groupId>stax</groupId>
274          <artifactId>stax-api</artifactId>
275        </exclusion>
276        <exclusion>
277          <groupId>com.sun.xml.bind</groupId>
278          <artifactId>jaxb-impl</artifactId>
279        </exclusion>
280      </exclusions>
281    </dependency>
282
283
284    <dependency>
285      <groupId>org.codehaus.jettison</groupId>
286      <artifactId>jettison</artifactId>
287      <version>1.2</version>
288      <exclusions>
289        <exclusion>
290          <groupId>stax</groupId>
291          <artifactId>stax-api</artifactId>
292        </exclusion>
293      </exclusions>
294    </dependency>
295
296    <dependency>
297      <groupId>org.apache.httpcomponents</groupId>
298      <artifactId>httpclient</artifactId>
299      <version>4.0.1</version>
300      <type>jar</type>
301      <scope>compile</scope>
302    </dependency>
303
304    <dependency>
305      <groupId>org.apache.wicket</groupId>
306      <artifactId>wicket</artifactId>
307      <version>${wicket.version}</version>
308    </dependency>
309
310    <dependency>
311      <groupId>org.apache.wicket</groupId>
312      <artifactId>wicket-auth-roles</artifactId>
313      <version>${wicket.version}</version>
314    </dependency>
315
316    <dependency>
317      <groupId>org.apache.wicket</groupId>
318      <artifactId>wicket-extensions</artifactId>
319      <version>${wicket.version}</version>
320    </dependency>
321
322    <dependency>
323      <groupId>net.java.dev.javacc</groupId>
324      <artifactId>javacc</artifactId>
325      <version>5.0</version>
326      <type>jar</type>
327      <scope>provided</scope>
328    </dependency>
329
330    <dependency>
331      <groupId>eu.clarin.cmdi</groupId>
332      <artifactId>OAIProvider</artifactId>
333      <version>0.0.1</version>
334    </dependency>
335
336    <dependency>
337        <groupId>junit</groupId>
338        <artifactId>junit</artifactId>
339        <version>4.8.1</version>
340        <type>jar</type>
341        <scope>test</scope>
342    </dependency>
343
344    <dependency>
345        <groupId>org.hsqldb</groupId>
346        <artifactId>hsqldb</artifactId>
347        <version>2.0.0</version>
348        <type>jar</type>
349        <scope>test</scope>
350    </dependency>
351
352    <dependency>
353        <groupId>mysql</groupId>
354        <artifactId>mysql-connector-java</artifactId>
355        <version>5.1.13</version>
356        <type>jar</type>
357        <scope>test</scope>
358    </dependency>
359  </dependencies>
360
361  <dependencyManagement>
362        <dependencies>
363      <dependency>
364        <groupId>org.slf4j</groupId>
365        <artifactId>slf4j-api</artifactId>
366        <version>${slf4j.version}</version>
367      </dependency>
368        </dependencies>
369  </dependencyManagement>
370
371  <properties>
372    <!-- project settings -->
373    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
374    <!-- plug-in settings -->
375    <maven.compiler.source>1.6</maven.compiler.source>
376    <maven.compiler.target>1.6</maven.compiler.target>
377    <!-- dependency versions -->
378    <slf4j.version>1.6.1</slf4j.version>
379    <hibernate.version>3.6.0.Final</hibernate.version>
380    <hibernate.jpaVersion>1.0.0.Final</hibernate.jpaVersion>
381    <jersey.version>1.4</jersey.version>
382    <wicket.version>1.4.14</wicket.version>
383  </properties>
384</project>
Note: See TracBrowser for help on using the repository browser.