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.12.0-SNAPSHOT
</version>
8 <relativePath>../pom.xml
</relativePath>
11 <groupId>eu.etaxonomy
</groupId>
12 <artifactId>cdmlib-remote-webapp
</artifactId>
13 <name>CDM Remote Webapp
</name>
14 <packaging>war
</packaging>
17 <project.build.sourceEncoding
>UTF-
8</project.build.sourceEncoding
>
22 scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/
25 scm:svn:https://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-remote/
26 </developerConnection>
28 http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-remote/
34 <id>local-repository
</id>
37 <name>localrepo
</name>
42 <id>EditLocalRepository
</id>
43 <url>file://${localrepo}/eu/etaxonomy/
</url>
45 <enabled>false
</enabled>
46 <updatePolicy>always
</updatePolicy>
49 <enabled>true
</enabled>
50 <updatePolicy>always
</updatePolicy>
59 <groupId>eu.etaxonomy
</groupId>
60 <artifactId>cdmlib-remote
</artifactId>
63 exclude all jdbc drivers from the war.
64 Jdbc drivers must only be added to {APPLICATION_CONTAINER}/lib
65 see http://dev.e-taxonomy.eu/trac/ticket/4955
66 and http://stackoverflow.com/questions/6981564/why-must-the-jdbc-driver-be-put-in-tomcat-home-lib-folder
69 <artifactId>postgresql
</artifactId>
70 <groupId>postgresql
</groupId>
73 <artifactId>mysql-connector-java
</artifactId>
74 <groupId>mysql
</groupId>
77 <artifactId>c3p0
</artifactId>
78 <groupId>com.mchange
</groupId>
81 <groupId>oracle
</groupId>
82 <artifactId>ojdbc14
</artifactId>
85 <groupId>net.sourceforge.jtds
</groupId>
86 <artifactId>jtds
</artifactId>
91 <!-- TODO this is also offered by cdmlib-remote, can it be removed?
92 What does provided mean? -->
93 <groupId>javax.servlet
</groupId>
94 <artifactId>javax.servlet-api
</artifactId>
95 <scope>provided
</scope>
99 <groupId>xmlunit
</groupId>
100 <artifactId>xmlunit
</artifactId>
104 <groupId>commons-io
</groupId>
105 <artifactId>commons-io
</artifactId>
109 <!-- TODO can this be removed, it already exists in cdmlib-remote -->
110 <groupId>net.sf.json-lib
</groupId>
111 <artifactId>json-lib
</artifactId>
112 <classifier>jdk15
</classifier>
117 <groupId>org.springframework
</groupId>
118 <artifactId>org.springframework.oxm
</artifactId>
119 <version>${spring.version}
</version>
124 <groupId>com.thoughtworks.xstream
</groupId>
125 <artifactId>xstream
</artifactId>
128 <groupId>xpp3
</groupId>
129 <artifactId>xpp3
</artifactId>
132 <groupId>stax
</groupId>
133 <artifactId>stax
</artifactId>
136 <!-- JSP TAG LIBS -->
138 <groupId>taglibs
</groupId>
139 <artifactId>standard
</artifactId>
140 <version>1.1.2</version>
143 <groupId>taglibs
</groupId>
144 <artifactId>x
</artifactId>
145 <version>1.1.2</version>
150 <groupId>com.mangofactory
</groupId>
151 <artifactId>swagger-springmvc
</artifactId>
153 <!-- dependencies for swagger-springmvc, added explicitely -->
155 <groupId>com.fasterxml.jackson.core
</groupId>
156 <artifactId>jackson-databind
</artifactId>
159 <groupId>com.fasterxml.jackson.core
</groupId>
160 <artifactId>jackson-core
</artifactId>
163 <groupId>com.fasterxml.jackson.core
</groupId>
164 <artifactId>jackson-annotations
</artifactId>
166 <!-- END of dependencies for swagger-springmvc, added explicitely -->
169 <groupId>junit
</groupId>
170 <artifactId>junit
</artifactId>
174 <groupId>com.yourkit
</groupId>
175 <artifactId>yjp-controller-api-redist
</artifactId>
178 <!-- Connection Pooling and jdbc -->
180 <groupId>org.hibernate
</groupId>
181 <artifactId>hibernate-c3p0
</artifactId>
185 <artifactId>c3p0
</artifactId>
186 <groupId>com.mchange
</groupId>
192 <!-- ${basedir}/src/test/resources -->
194 <!-- replace the place holders like ${...} in datasources.xml -->
195 <targetPath>test-classes
</targetPath>
196 <filtering>true
</filtering>
197 <directory>..${file.separator}src${file.separator}test${file.separator}resources
</directory>
199 <include>datasources.xml
</include>
203 <!-- all other test resources without filtering -->
204 <targetPath>test-classes
</targetPath>
205 <directory>..${file.separator}src${file.separator}test${file.separator}resources
</directory>
207 <exclude>datasources.xml
</exclude>
211 <!-- all main resources without filtering -->
212 <targetPath>classes
</targetPath>
213 <directory>..${file.separator}src${file.separator}main${file.separator}resources
</directory>
218 <artifactId>maven-failsafe-plugin
</artifactId>
219 <version>2.16</version>
221 <forkCount>3</forkCount>
222 <reuseForks>true
</reuseForks>
227 <goal>integration-test
</goal>
234 <groupId>org.eclipse.jetty
</groupId>
235 <artifactId>jetty-maven-plugin
</artifactId>
236 <version>9.1.3.v20140225
</version>
238 <stopKey>stop
</stopKey>
239 <stopPort>9199</stopPort>
240 <scanIntervalSeconds>10</scanIntervalSeconds>
241 <jettyXml>${basedir}/src/test/resources/etc/jetty/jetty.xml,${basedir}/src/test/resources/etc/jetty/jetty-http.xml
</jettyXml>
242 <!-- <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> -->
245 <name>cdm.datasource
</name>
246 <value>h2_cdmTest
</value>
249 <!-- datasources.xml is prepared by <plugins><resources>..</resources>
251 <name>cdm.beanDefinitionFile
</name>
252 <value>${project.build.directory}/test-classes/datasources.xml
</value>
259 <phase>pre-integration-test
</phase>
264 <scanIntervalSeconds>0</scanIntervalSeconds>
265 <daemon>true
</daemon>
270 <phase>post-integration-test
</phase>