this must exactly match the version as set in
cdmlib-parent pom.xml
-->
- <version>0.9.5.2</version>
+ <version>${c3p0.version}</version>
</dependency>
<!-- DATABASE DRIVER -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
- <version>1.4.190</version>
+ <version>${h2.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
- <version>5.1.38</version>
+ <version>${mysql.version}</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<packaging>eclipse-plugin</packaging>
<name>CDM Library Webapp Plugin</name>
<description>CDM Library webapp as a plugin</description>
-
<build>
<pluginManagement>
<plugins>
<goal>copy-dependencies</goal>
</goals>
<configuration>
- <includeArtifactIds><!-- Comma separated list of Artifact names to include -->
- c3p0,mchange-commons-java,h2
+ <includeArtifactIds>
+ c3p0,mchange-commons-java,h2,mysql-connector-java,log4j,javax.servlet-api,jetty-all
</includeArtifactIds>
<outputDirectory>
${basedir}/lib
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
- <version>1.4.190</version>
+ <version>${h2.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>${h2.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.1.24</version>
</dependency>
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
- <!--
- IMPORTANT!!!
- this must exactly match the version as set in
- cdmlib-parent pom.xml
- -->
- <version>0.9.5.2</version>
+ <version>${c3p0.version}</version>
</dependency>
<dependency>
<groupId>com.mchange</groupId>
<artifactId>mchange-commons-java</artifactId>
- <version>0.2.11</version>
+ <version>${mchange-commons-java.version}</version>
</dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>${log4j.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>3.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.aggregate</groupId>
+ <artifactId>jetty-all</artifactId>
+ <version>9.2.9.v20150224</version>
+ </dependency>
</dependencies>
</project>
<taxeditor.version>4.0.0-SNAPSHOT</taxeditor.version>
<update.dir>snapshot</update.dir>
<unitils.version>3.4.2</unitils.version>
+ <log4j.version>1.2.17</log4j.version>
+ <!-- data base driver related properties -->
+ <mysql.version>5.1.38</mysql.version>
+ <h2.version>1.4.190</h2.version>
+ <!--
+ IMPORTANT!!!
+ c3p0.version must exactly match the version as
+ set in cdmlib-parent pom.xml
+ -->
+ <c3p0.version>0.9.5.2</c3p0.version>
+ <!-- mchange-commons-java needs to match the version as defined in the c3p0/pom.xml -->
+ <mchange-commons-java.version>0.2.11</mchange-commons-java.version>
+
</properties>
<modules>
<module>eu.etaxonomy.taxeditor.cdmlib</module>