- moved refresh out of for-loop
[taxeditor.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index d814fce7fd5a98c78b6421e85ec873a81b8fe1cd..4f816be18018001a875e3f5d7093b5221b7d1fad 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -6,17 +6,21 @@
   </prerequisites>
   <groupId>eu.etaxonomy</groupId>
   <artifactId>taxeditor-parent</artifactId>
-  <version>3.0.14-SNAPSHOT</version>
+  <version>3.4.1-SNAPSHOT</version>
   <name>EDIT Taxonomic Editor</name>
-  <description>The Taxonomic Editor for EDIT's platform for cybertaxonomy</description>
-  <url>http://wp5.e-taxonomy.eu</url>
+  <description>The Taxonomic Editor for EDIT's platform for
+    cybertaxonomy</description>
+  <url>http://cybertaxonomy.eu/taxeditor//taxeditor//taxeditor//taxeditor//taxeditor//taxeditor//taxeditor/</url>
   <inceptionYear>2007</inceptionYear>
   <packaging>pom</packaging>
   <properties>
+    <java.codelevel>1.6</java.codelevel>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <cdmlib.version>3.1</cdmlib.version><!-- TODO can we use project.version ????? -->
+    <cdmlib.version>3.4.1-SNAPSHOT</cdmlib.version>
+    <!-- TODO can we use project.version ????? -->
     <tycho.version>0.14.0</tycho.version>
-    <taxeditor.version>3.0.14-SNAPSHOT</taxeditor.version>
+    <taxeditor.version>3.4.1-SNAPSHOT</taxeditor.version>
+    <update.dir>snapshot</update.dir>
   </properties>
   <modules>
     <module>eu.etaxonomy.taxeditor.cdmlib</module>
@@ -25,7 +29,6 @@
     <module>eu.etaxonomy.taxeditor.editor</module>
     <module>eu.etaxonomy.taxeditor.bulkeditor</module>
     <module>eu.etaxonomy.taxeditor.printpublisher</module>
-    <!--module>eu.etaxonomy.taxeditor.annotatedlineeditor</module-->
     <module>eu.etaxonomy.taxeditor.help</module>
     <module>eu.etaxonomy.taxeditor.application</module>
     <module>eu.etaxonomy.taxeditor.feature.platform</module>
   <scm>
     <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/taxeditor/</connection>
     <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/taxeditor/</developerConnection>
-    <url>http://dev.e-taxonomy.eu/websvn/listing.php?repname=EDIT+Taxonomic+Editor</url>
+    <url>https://dev.e-taxonomy.eu/trac/browser/trunk/taxeditor/</url>
   </scm>
   <mailingLists>
     <mailingList>
       <name>EDIT Taxonomic Editor</name>
       <subscribe>
-                               edit-taxonomic-editor+subscribe@googlegroups.com
-                       </subscribe>
+        edit-taxonomic-editor+subscribe@googlegroups.com
+      </subscribe>
       <unsubscribe>
-                               edit-taxonomic-editor+unsubscribe@googlegroups.com
-                       </unsubscribe>
+        edit-taxonomic-editor+unsubscribe@googlegroups.com
+      </unsubscribe>
       <post>edit-taxonomic-editor@googlegroups.com</post>
       <archive>http://groups.google.com/group/edit-taxonomic-editor/topics</archive>
     </mailingList>
       <!-- your SVN account id please! -->
       <id>a.kohlbecker</id>
       <name>
-                       Andreas Kohlbecker
-                       </name>
+        Andreas Kohlbecker
+      </name>
       <email>a.kohlbecker [at] bgbm.org</email>
       <organization>
-                               Botanic Garden Botanical Museum Berlin
-                       </organization>
+        Botanic Garden Botanical Museum Berlin
+      </organization>
       <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
       <timezone>+1</timezone>
       <roles>
       </roles>
       <url/>
     </developer>
-       <developer>
+    <developer>
       <!-- your SVN account id please! -->
       <id>a.mueller</id>
       <name>
-                               Andreas Müller
-                       </name>
+        Andreas Müller
+      </name>
       <email>a.mueller [at] bgbm.org</email>
       <organization>
-                               Botanic Garden Botanical Museum Berlin
-                       </organization>
+        Botanic Garden Botanical Museum Berlin
+      </organization>
       <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
       <timezone>+1</timezone>
       <roles>
     <url>http://160.45.63.201/jenkins/view/EDIT%20Taxonomic%20Editor/</url>
   </ciManagement>
   <!-- **** REPOSITORIES **** -->
+  <profiles>
+    <profile>
+      <id>local-repository</id>
+      <activation>
+        <property>
+          <name>localrepo</name>
+        </property>
+      </activation>
+      <repositories>
+        <repository>
+          <id>EditLocalRepository</id>
+          <url>file://${localrepo}/eu/etaxonomy/</url>
+          <releases>
+            <enabled>false</enabled>
+            <updatePolicy>always</updatePolicy>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+            <updatePolicy>always</updatePolicy>
+          </snapshots>
+        </repository>
+      </repositories>
+    </profile>
+  </profiles>
   <repositories>
     <!-- the cdm internal repository -->
     <repository>
       <layout>p2</layout>
       <url>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site/</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 building the editor . Refer to #4452 for details -->
+    <repository>
+      <id>eclipse-nebula</id>
+      <layout>p2</layout>
+      <url>http://download.eclipse.org/technology/nebula/archives/Q32014/release/</url>
+    </repository>
     <repository>
       <id>eclipse-swtbot</id>
       <layout>p2</layout>
           <strictVersions>true</strictVersions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>tycho-p2-repository-plugin</artifactId>
+        <version>${tycho.version}</version>
+        <configuration>
+          <includeAllDependencies>true</includeAllDependencies>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.eclipse.tycho</groupId>
         <artifactId>target-platform-configuration</artifactId>
         <configuration>
           <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
           <autoVersionSubmodules>false</autoVersionSubmodules>
-          <!--preparationGoals>clean verify install</preparationGoals-->
-          <!--goals>deploy</goals-->
+          <!--preparationGoals>clean verify install</preparationGoals -->
+          <!--goals>deploy</goals -->
           <!-- skipping site-deploy by explicitly configuring the goal here -->
           <tagBase>http://dev.e-taxonomy.eu/svn/tags/taxeditor</tagBase>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>wagon-maven-plugin</artifactId>
-        <version>1.0-beta-3</version>
-        <!--
-                               Problems with the wagon-maven-plugin have been encounterd on Windows,
-                                       it should work properly on linux though.
-                                -->
-        <executions>
-          <execution>
-            <phase>deploy</phase>
-            <goals>
-              <goal>upload</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <fromDir>eu.etaxonomy.taxeditor/target/products</fromDir>
-          <includes>*.zip</includes>
-          <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/${project.version}</url>
-          <serverId>wp5.e-taxonomy.eu</serverId>
-        </configuration>
-      </plugin>
     </plugins>
     <extensions>
       <extension>
     </extensions>
     <pluginManagement>
       <plugins>
-       <plugin>
-         <groupId>org.apache.maven.plugins</groupId>
-         <artifactId>maven-antrun-plugin</artifactId>
-         <version>1.7</version>
-       </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-antrun-plugin</artifactId>
+          <version>1.7</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
         </configuration>
       </plugin>
       <plugin>
-        <!-- this will generate an indexed and cross-referenced HTML version of your source code -->
+        <!-- this will generate an indexed and cross-referenced HTML version 
+          of your source code -->
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jxr-plugin</artifactId>
         <version>2.2</version>
       </plugin>
     </plugins>
   </reporting>
-  <!--  DISTRIBUTION MANAGEMENT -->
+  <!-- DISTRIBUTION MANAGEMENT -->
   <distributionManagement>
     <site>
       <id>wp5.e-taxonomy.eu</id>