added CET to end of build date
[taxeditor.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 24da0d76fbf0d56fd421e195cf440828f5ee3d35..5faf642af1b562b659730fcd70497e37da8036b8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,24 +1,26 @@
 <?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.3.0.201401161011</version>
+  <version>3.3.8-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>
+  <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.3.0</cdmlib.version>
+    <cdmlib.version>3.3.8-SNAPSHOT</cdmlib.version>
     <!-- TODO can we use project.version ????? -->
     <tycho.version>0.14.0</tycho.version>
-    <taxeditor.version>3.3.0</taxeditor.version>
+    <taxeditor.version>3.3.8-SNAPSHOT</taxeditor.version>
+    <update.dir>snapshot</update.dir>
   </properties>
   <modules>
     <module>eu.etaxonomy.taxeditor.cdmlib</module>
     <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>
     <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>
-    <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>
@@ -76,7 +78,7 @@
         <role>Java Developer</role>
         <role>Architect</role>
       </roles>
-      <url/>
+      <url />
     </developer>
     <developer>
       <!-- your SVN account id please! -->
@@ -94,7 +96,7 @@
         <role>Java Developer</role>
         <role>Architect</role>
       </roles>
-      <url/>
+      <url />
     </developer>
   </developers>
   <issueManagement>
         </repository>
       </repositories>
     </profile>
+    <profile>
+      <!-- Upload the repo to the server -->
+      <id>uploadRepo</id>
+      <build>
+        <plugins>
+          <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>package</phase>
+                <goals>
+                  <goal>upload</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <fromDir>eu.etaxonomy.taxeditor/target/repository</fromDir>
+              <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
+              <includes>binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar</includes>
+              <!-- Comment out the above and uncomment the below to upload 
+                all jars -->
+              <!-- <includes>**/*</includes> -->
+              <serverId>wp5.e-taxonomy.eu</serverId>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
   <repositories>
     <!-- the cdm internal repository -->
           <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>
         </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>
       <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
     </repository>
   </distributionManagement>
+
 </project>