added comments
[taxeditor.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index b806d08c10af41c865e46baff8a7bfd611e7b3dd..30bbbcfd91d10296937000b671e213b1eda19f0e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,25 +1,28 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <prerequisites>
     <maven>3.0</maven>
   </prerequisites>
   <groupId>eu.etaxonomy</groupId>
   <artifactId>taxeditor-parent</artifactId>
-  <version>3.4.0.201503191609</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</cdmlib.version>
+    <cdmlib.version>3.5.0-SNAPSHOT</cdmlib.version>
     <!-- TODO can we use project.version ????? -->
     <tycho.version>0.22.0</tycho.version>
-    <taxeditor.version>3.4.0</taxeditor.version>
+    <taxeditor.version>3.5.0-SNAPSHOT</taxeditor.version>
     <update.dir>snapshot</update.dir>
   </properties>
   <modules>
     <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>
@@ -50,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>
@@ -77,7 +83,7 @@
         <role>Java Developer</role>
         <role>Architect</role>
       </roles>
-      <url/>
+      <url />
     </developer>
     <developer>
       <!-- your SVN account id please! -->
         <role>Java Developer</role>
         <role>Architect</role>
       </roles>
-      <url/>
+      <url />
     </developer>
   </developers>
   <issueManagement>
   </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 -->
+    <!-- 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>
+      <url>http://download.eclipse.org/technology/nebula/archives/Q32014/release/
+      </url>
     </repository>
     <repository>
       <id>eclipse-swtbot</id>
     <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>