1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <project xmlns=
"http://maven.apache.org/POM/4.0.0" xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" xsi:
schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <artifactId>cdmlib-parent
</artifactId>
6 <groupId>eu.etaxonomy
</groupId>
7 <version>3.7.0</version>
8 <relativePath>../pom.xml
</relativePath>
11 <groupId>eu.etaxonomy
</groupId>
12 <artifactId>cdmlib-remote-webapp
</artifactId>
13 <version>3.7</version>
14 <name>CDM Remote Webapp
</name>
15 <packaging>war
</packaging>
18 <project.build.sourceEncoding
>UTF-
8</project.build.sourceEncoding
>
23 scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/
26 scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/
27 </developerConnection>
29 http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-remote/
35 <id>local-repository
</id>
38 <name>localrepo
</name>
43 <id>EditLocalRepository
</id>
44 <url>file://${localrepo}/eu/etaxonomy/
</url>
46 <enabled>false
</enabled>
47 <updatePolicy>always
</updatePolicy>
50 <enabled>true
</enabled>
51 <updatePolicy>always
</updatePolicy>
60 <groupId>eu.etaxonomy
</groupId>
61 <artifactId>cdmlib-remote
</artifactId>
64 exclude all jdbc drivers from the war.
65 Jdbc drivers must only be added to {APPLICATION_CONTAINER}/lib
66 see http://dev.e-taxonomy.eu/trac/ticket/4955
67 and http://stackoverflow.com/questions/6981564/why-must-the-jdbc-driver-be-put-in-tomcat-home-lib-folder
70 <artifactId>postgresql
</artifactId>
71 <groupId>postgresql
</groupId>
74 <artifactId>mysql-connector-java
</artifactId>
75 <groupId>mysql
</groupId>
78 <artifactId>c3p0
</artifactId>
79 <groupId>com.mchange
</groupId>
82 <groupId>oracle
</groupId>
83 <artifactId>ojdbc14
</artifactId>
86 <groupId>net.sourceforge.jtds
</groupId>
87 <artifactId>jtds
</artifactId>
92 <!-- TODO this is also offered by cdmlib-remote, can it be removed?
93 What does provided mean? -->
94 <groupId>javax.servlet
</groupId>
95 <artifactId>javax.servlet-api
</artifactId>
96 <scope>provided
</scope>
100 <groupId>xmlunit
</groupId>
101 <artifactId>xmlunit
</artifactId>
105 <groupId>commons-io
</groupId>
106 <artifactId>commons-io
</artifactId>
110 <!-- TODO can this be removed, it already exists in cdmlib-remote -->
111 <groupId>net.sf.json-lib
</groupId>
112 <artifactId>json-lib
</artifactId>
113 <classifier>jdk15
</classifier>
118 <groupId>org.springframework
</groupId>
119 <artifactId>org.springframework.oxm
</artifactId>
120 <version>${spring.version}
</version>
125 <groupId>com.thoughtworks.xstream
</groupId>
126 <artifactId>xstream
</artifactId>
129 <groupId>xpp3
</groupId>
130 <artifactId>xpp3
</artifactId>
133 <groupId>stax
</groupId>
134 <artifactId>stax
</artifactId>
137 <!-- JSP TAG LIBS -->
139 <groupId>taglibs
</groupId>
140 <artifactId>standard
</artifactId>
141 <version>1.1.2</version>
144 <groupId>taglibs
</groupId>
145 <artifactId>x
</artifactId>
146 <version>1.1.2</version>
151 <groupId>com.mangofactory
</groupId>
152 <artifactId>swagger-springmvc
</artifactId>
153 <version>0.8.5</version>
155 <!-- dependencies for swagger-springmvc, added explicitely -->
157 <groupId>com.fasterxml.jackson.core
</groupId>
158 <artifactId>jackson-databind
</artifactId>
161 <groupId>com.fasterxml.jackson.core
</groupId>
162 <artifactId>jackson-core
</artifactId>
165 <groupId>com.fasterxml.jackson.core
</groupId>
166 <artifactId>jackson-annotations
</artifactId>
168 <!-- END of dependencies for swagger-springmvc, added explicitely -->
171 <groupId>junit
</groupId>
172 <artifactId>junit
</artifactId>
176 <groupId>com.yourkit
</groupId>
177 <artifactId>yjp-controller-api-redist
</artifactId>
180 <!-- Connection Pooling and jdbc -->
182 <groupId>org.hibernate
</groupId>
183 <artifactId>hibernate-c3p0
</artifactId>
187 <artifactId>c3p0
</artifactId>
188 <groupId>com.mchange
</groupId>
194 <!-- ${basedir}/src/test/resources -->
196 <!-- replace the place holders like ${...} in datasources.xml -->
197 <targetPath>${project.build.directory}/test-classes
</targetPath>
198 <filtering>true
</filtering>
199 <directory>${basedir}/src/test/resources
</directory>
201 <include>datasources.xml
</include>
205 <!-- all other test resources without filtering -->
206 <targetPath>${project.build.directory}/test-classes
</targetPath>
207 <directory>${basedir}/src/test/resources
</directory>
209 <exclude>datasources.xml
</exclude>
213 <!-- all main resources without filtering -->
214 <targetPath>${project.build.directory}/classes
</targetPath>
215 <directory>${basedir}/src/main/resources
</directory>
220 <artifactId>maven-failsafe-plugin
</artifactId>
221 <version>2.16</version>
223 <forkCount>3</forkCount>
224 <reuseForks>true
</reuseForks>
229 <goal>integration-test
</goal>
236 <groupId>org.eclipse.jetty
</groupId>
237 <artifactId>jetty-maven-plugin
</artifactId>
238 <version>9.1.3.v20140225
</version>
240 <stopKey>stop
</stopKey>
241 <stopPort>9199</stopPort>
242 <scanIntervalSeconds>10</scanIntervalSeconds>
243 <jettyXml>${basedir}/src/test/resources/etc/jetty/jetty.xml,${basedir}/src/test/resources/etc/jetty/jetty-http.xml
</jettyXml>
244 <!-- <jettyXml>./src/test/resources/etc/jetty/jetty.xml,./src/test/resources/etc/jetty/jetty-http.xml,./src/test/resources/etc/jetty/jetty-ssl.xml,./src/test/resources/etc/jetty/jetty-https.xml</jettyXml> -->
247 <name>cdm.datasource
</name>
248 <value>h2_cdmTest
</value>
251 <!-- datasources.xml is prepared by <plugins><resources>..</resources>
253 <name>cdm.beanDefinitionFile
</name>
254 <value>${project.build.directory}/test-classes/datasources.xml
</value>
261 <phase>pre-integration-test
</phase>
266 <scanIntervalSeconds>0</scanIntervalSeconds>
267 <daemon>true
</daemon>
272 <phase>post-integration-test
</phase>