added comments
[taxeditor.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 3b7ab00e59512949606756d7c9dd688075c681d1..30bbbcfd91d10296937000b671e213b1eda19f0e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -7,20 +7,22 @@
   </prerequisites>
   <groupId>eu.etaxonomy</groupId>
   <artifactId>taxeditor-parent</artifactId>
-  <version>3.4.0-SNAPSHOT</version>
+  <version>3.5.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>
+    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.4.0-SNAPSHOT</cdmlib.version>
+    <cdmlib.version>3.5.0-SNAPSHOT</cdmlib.version>
     <!-- TODO can we use project.version ????? -->
-    <tycho.version>0.14.0</tycho.version>
-    <taxeditor.version>3.4.0-SNAPSHOT</taxeditor.version>
+    <tycho.version>0.22.0</tycho.version>
+    <taxeditor.version>3.5.0-SNAPSHOT</taxeditor.version>
     <update.dir>snapshot</update.dir>
   </properties>
   <modules>
     <module>eu.etaxonomy.taxeditor.feature.platform</module>
     <module>eu.etaxonomy.taxeditor.feature</module>
     <module>eu.etaxonomy.taxeditor</module>
-
   </modules>
   <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>
+    <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>https://dev.e-taxonomy.eu/trac/browser/trunk/taxeditor/</url>
   </scm>
   <mailingLists>
@@ -52,7 +55,8 @@
         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>
+      <archive>http://groups.google.com/group/edit-taxonomic-editor/topics
+      </archive>
     </mailingList>
   </mailingLists>
   <licenses>
   </issueManagement>
   <ciManagement>
     <system>Jenkins</system>
-    <url>http://160.45.63.201/jenkins/view/EDIT%20Taxonomic%20Editor/</url>
+    <url>http://160.45.63.201/jenkins/view/EDIT%20Taxonomic%20Editor/
+    </url>
   </ciManagement>
   <!-- **** REPOSITORIES **** -->
   <profiles>
         </repository>
       </repositories>
     </profile>
+    <profile>
+    <!-- making sure that the jre bundle can be built only on linux.
+    this is due to the fact since Java has problem with setting permissions on 
+    files (this is specifically for the jre/bin files which need to be executable), 
+    Eclipse RCP (http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Ftasks%2Fpde_rootfiles.htm)
+    uses chmod to set these, but since chmod is (usually) available on unix like systems, this check has been added
+     (to be on the safe side) to not allow the jre bundle to be built on other systems. -->
+      <id>bundleJre</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>1.8</version>
+            <executions>
+              <execution>
+                <id>checkJREBundleOS</id>
+                <phase>validate</phase>
+                <configuration>
+                  <target>
+                    <echo>Checking if JRE bundle can be configured</echo>
+                    <fail
+                      message="Copy of JRE folder possible only on Unix (and Unix like systems)">
+                     <condition>
+                        <not>                          
+                            <os family="unix" />                          
+                        </not>
+                      </condition>
+                    </fail>
+                  </target>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
   <repositories>
     <!-- the cdm internal 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/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/snapshot/</url>
+      <url>http://download.eclipse.org/technology/nebula/archives/Q32014/release/
+      </url>
     </repository>
     <repository>
       <id>eclipse-swtbot</id>
           <tagBase>http://dev.e-taxonomy.eu/svn/tags/taxeditor</tagBase>
         </configuration>
       </plugin>
-
     </plugins>
     <extensions>
       <extension>
     <site>
       <id>wp5.e-taxonomy.eu</id>
       <name>EDIT Taxonomic Editor</name>
-      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/taxeditor/</url>
+      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/taxeditor/
+      </url>
     </site>
     <repository>
       <uniqueVersion>false</uniqueVersion>
       <id>wp5.e-taxonomy.eu</id>
       <name>Edit Maven Repository</name>
-      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
+      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
+      </url>
     </repository>
   </distributionManagement>
-
 </project>