jenkins: setting project version to 4.5.1
[cdm-server.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 74f54159ec36d58fb8d1f9c757a4e3a553ad6e5f..cd89d1e2710c7c0dbf043abb0a7a396c31a1b2da 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -4,13 +4,12 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>eu.etaxonomy</groupId>
   <artifactId>cdm-server</artifactId>
-  <version>4.0.0-SNAPSHOT</version>
+  <version>4.5.1</version>
   <packaging>jar</packaging>
   <name>CDM Community Standalone Server</name>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <jetty-version>9.2.9.v20150224</jetty-version>
   </properties>
 
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.2</version>
         <configuration>
-          <source>1.6</source>
-          <target>1.6</target>
+          <source>1.7</source>
+          <target>1.7</target>
         </configuration>
       </plugin>
       <plugin>
         <dependencies>
           <!-- 
                 upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53 
-                in order have ssl key exchange algorithms compatible with openssh 6.7 
+                in order to have ssl key exchange algorithms compatible with openssh 6.7 
              -->
           <dependency>
             <groupId>com.jcraft</groupId>
             <!-- more libraries? -->
           </links>
         </configuration>
-        <version>2.10.3</version>
       </plugin>
       <plugin>
         <!-- this will generate an indexed and cross-referenced HTML version 
       <artifactId>jopt-simple</artifactId>
       <version>4.9</version>
     </dependency>
+    <!-- Database dependencies -->
     <dependency>
-      <groupId>com.mchange</groupId>
-      <artifactId>c3p0</artifactId>
-      <!-- 
-        IMPORTANT!!!
-        this must exactly match the version as set in 
-        cdmlib-parent pom.xml otherwise the connection 
-        through jndi will not work
-      -->
-      <version>0.9.5.2</version>
-    </dependency>
-    <!-- DATABASE DRIVER -->
-    <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
-      <version>5.1.38</version>
+      <groupId>eu.etaxonomy</groupId>
+      <artifactId>cdmlib-db</artifactId>
+      <version>${project.version}</version>
     </dependency>
   </dependencies>