ref #6539 Move to Eclipse 4 compatibility layer
[taxeditor.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 96b1384f012f42f0739faa86fe23aadfb14d72c4..dbdf1ebac36996042325ba12dde2b3664bef278f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -6,24 +6,29 @@
   </prerequisites>
   <groupId>eu.etaxonomy</groupId>
   <artifactId>taxeditor-parent</artifactId>
-  <version>3.12.4</version>
+  <version>4.7.0-SNAPSHOT</version>
   <name>EDIT Taxonomic Editor</name>
   <description>The Taxonomic Editor for EDIT's platform for
     cybertaxonomy
   </description>
-  <url>http://cybertaxonomy.eu/taxeditor//taxeditor//taxeditor//taxeditor//taxeditor//taxeditor//taxeditor/
+  <url>https://cybertaxonomy.eu/taxeditor
   </url>
   <inceptionYear>2007</inceptionYear>
   <packaging>pom</packaging>
   <properties>
-    <java.codelevel>1.6</java.codelevel>
+    <java.codelevel>1.8</java.codelevel>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <cdmlib.version>3.12.4</cdmlib.version>
+    <cdmlib.version>4.7.0-SNAPSHOT</cdmlib.version>
     <!-- TODO can we use project.version ????? -->
-    <tycho.version>0.22.0</tycho.version>
-    <taxeditor.version>3.12.4</taxeditor.version>
+    <!-- Increasing tycho above 0.22.0 will fail for the macosx build because 
+      for higher version numbers tycho needs to be build against Eclipse Mars or 
+      higher -->
+    <tycho.version>1.0.0</tycho.version>
+    <taxeditor.version>4.7.0-SNAPSHOT</taxeditor.version>
     <update.dir>snapshot</update.dir>
     <unitils.version>3.4.2</unitils.version>
+    <log4j.version>1.2.17</log4j.version>
+    <javadoc.opts>-Xdoclint:none</javadoc.opts>
   </properties>
   <modules>
     <module>eu.etaxonomy.taxeditor.cdmlib</module>
     <module>eu.etaxonomy.taxeditor.application</module>
     <module>eu.etaxonomy.taxeditor.feature.platform</module>
     <module>eu.etaxonomy.taxeditor.feature</module>
-    <module>eu.etaxonomy.taxeditor.feature.jre.linux64</module>
     <module>eu.etaxonomy.taxeditor</module>
+    <module>eu.etaxonomy.taxeditor.test</module>
   </modules>
   <scm>
-    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/taxeditor/
+    <connection>scm:git:https://dev.e-taxonomy.eu/git/taxeditor.git
     </connection>
-    <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/taxeditor/
+    <developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/taxeditor.git
     </developerConnection>
-    <url>https://dev.e-taxonomy.eu/trac/browser/trunk/taxeditor/</url>
+    <url>https://dev.e-taxonomy.eu/gitweb/taxeditor.git/tree</url>
   </scm>
   <mailingLists>
     <mailingList>
     </developer>
   </developers>
   <issueManagement>
-    <system>Trac</system>
-    <url>http://dev.e-taxonomy.eu/trac/</url>
+    <system>Redmine</system>
+    <url>https://dev.e-taxonomy.eu/redmine/projects/edit/</url>
   </issueManagement>
   <ciManagement>
     <system>Jenkins</system>
     <!-- the cdm internal repository -->
     <repository>
       <id>EditRepository</id>
-      <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
+      <url>http://cybertaxonomy.eu/mavenrepo/</url>
     </repository>
     <repository>
       <id>eclipse-indigo</id>
       <layout>p2</layout>
-      <url>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site/
-      </url>
+      <url>http://download.eclipse.org/technology/swtbot/snapshots/</url>
     </repository>
     <!-- The nebula repository (retention period 2 years starting Q32014) 
       set here is an archived one so as to have a stable version of the jar when 
     <repository>
       <id>eclipse-nebula</id>
       <layout>p2</layout>
-      <url>http://download.eclipse.org/technology/nebula/archives/Q32014/release/
-      </url>
+      <url>http://download.eclipse.org/nebula/releases/latest</url>
     </repository>
     <repository>
-      <id>eclipse-swtbot</id>
+      <id>eclipse-neon</id>
       <layout>p2</layout>
-      <url>http://download.eclipse.org/releases/indigo</url>
+      <url>http://download.eclipse.org/releases/neon/</url>
     </repository>
   </repositories>
+  <pluginRepositories>
+    <pluginRepository>
+      <!-- required for the plugin dependency cdmlib-db of the jetty-maven-plugin --> 
+      <id>EditRepository</id>
+      <url>http://cybertaxonomy.eu/mavenrepo/</url>
+    </pluginRepository>
+  </pluginRepositories>
   <build>
     <plugins>
       <plugin>
         <version>${tycho.version}</version>
         <configuration>
           <environments>
-            <environment>
-              <os>macosx</os>
-              <ws>cocoa</ws>
-              <arch>x86_64</arch>
-            </environment>
+<!--             <environment> -->
+<!--               <os>macosx</os> -->
+<!--               <ws>cocoa</ws> -->
+<!--               <arch>x86_64</arch> -->
+<!--             </environment> -->
             <environment>
               <os>win32</os>
               <ws>win32</ws>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>2.3.2</version>
+        <version>3.6.1</version>
         <configuration>
-          <source>1.6</source>
-          <target>1.6</target>
+          <source>${java.codelevel}</source>
+          <target>${java.codelevel}</target>
         </configuration>
+      </plugin>
+         <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>wagon-maven-plugin</artifactId>
+        <version>1.0</version>
+               <configuration>
+          <url>scpexe://cybertaxonomy.eu</url>
+          <serverId>cybertaxonomy.eu</serverId>
+        </configuration>
+        <executions>
+          <execution>
+            <id>upload-reference-documentation</id>
+            <phase>site-deploy</phase>
+            <goals>
+              <goal>upload</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
-        <version>3.0</version>
+        <version>3.3</version>
         <configuration>
           <locales>en</locales>
+          <outputEncoding>UTF-8</outputEncoding>
+          <!-- chmod: not not use chmod, rather adapt the umask of the user 
+            at the server to which the site is deployed -->
+          <chmod>false</chmod>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
-        <version>2.1.2</version>
+        <version>3.0.1</version>
         <executions>
           <execution>
             <id>attach-sources</id>
           <quiet>true</quiet>
           <detectLinks>true</detectLinks>
           <failOnError>false</failOnError>
+          <additionalparam>${javadoc.opts}</additionalparam>
         </configuration>
         <executions>
           <execution>
           <allowUntracked>true</allowUntracked>
         </configuration>
         <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 
-             -->
+          <!-- 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 -->
           <dependency>
             <groupId>com.jcraft</groupId>
             <artifactId>jsch</artifactId>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-scm</artifactId>
-        <version>1.0-alpha-5</version>
+        <version>1.0-beta-6</version>
       </extension>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-ssh</artifactId>
-        <version>1.0-beta-7</version>
+        <version>1.0-beta-6</version>
       </extension>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <version>2.7</version>
         <configuration>
           <detectLinks>true</detectLinks>
+          <additionalparam>${javadoc.opts}</additionalparam>
         </configuration>
       </plugin>
       <plugin>
   <!-- DISTRIBUTION MANAGEMENT -->
   <distributionManagement>
     <site>
-      <id>wp5.e-taxonomy.eu</id>
+      <id>cybertaxonomy.eu</id>
       <name>EDIT Taxonomic Editor</name>
-      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/taxeditor/
+      <url>scpexe://cybertaxonomy.eu/var/www/wp5.e-taxonomy.eu/taxeditor/
       </url>
     </site>
     <repository>
       <uniqueVersion>false</uniqueVersion>
-      <id>wp5.e-taxonomy.eu</id>
+      <id>cybertaxonomy.eu</id>
       <name>Edit Maven Repository</name>
-      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
+      <url>scpexe://cybertaxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
       </url>
     </repository>
   </distributionManagement>
+  <dependencyManagement>
+    <dependencies>
+        <dependency>
+            <groupId>com.itextpdf</groupId>
+            <artifactId>itextpdf</artifactId>
+            <version>5.5.8</version>
+        </dependency>
+    </dependencies>
+ </dependencyManagement>
 </project>