UIMA-3272
- experimental changes for plugins with timestamps

git-svn-id: https://svn.apache.org/repos/asf/uima/sandbox/ruta/branches/UIMA-3272@1526827 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/trunk/example-projects/ruta-ep-example-extensions/pom.xml b/trunk/example-projects/ruta-ep-example-extensions/pom.xml
index aace578..00804d7 100644
--- a/trunk/example-projects/ruta-ep-example-extensions/pom.xml
+++ b/trunk/example-projects/ruta-ep-example-extensions/pom.xml
@@ -84,7 +84,7 @@
   

   <build>

     <!-- don't use artifactId as first part of finalName, follow instead the eclipse convention -->

-    <finalName>org.apache.uima.ruta.example.extensions_${parsedVersion.osgiVersion}</finalName>

+    <finalName>org.apache.uima.ruta.example.extensions_${parsedVersion.osgiVersion}-${maven.build.timestamp}</finalName>

     <pluginManagement>

       <plugins>

         <plugin>

@@ -137,6 +137,7 @@
                 <!-- <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy> -->

                 <Eclipse-BuddyPolicy>registered</Eclipse-BuddyPolicy>

                 <Eclipse-RegisterBuddy>org.apache.uima.runtime,org.apache.uima.ruta.engine</Eclipse-RegisterBuddy>

+                <_snapshot>SNAPSHOT-${maven.build.timestamp}</_snapshot>

               </instructions>

             </configuration>

           </execution>

diff --git a/trunk/ruta-eclipse-feature/pom.xml b/trunk/ruta-eclipse-feature/pom.xml
index a6c02f2..455164e 100644
--- a/trunk/ruta-eclipse-feature/pom.xml
+++ b/trunk/ruta-eclipse-feature/pom.xml
@@ -62,7 +62,7 @@
 

   <build>

     <!-- parsedVersion set in parent-pom by builder-helper -->

-    <finalName>${project.artifactId}_${parsedVersion.osgiVersion}</finalName>

+    <finalName>org.apache.uima.ruta.feature.${parsedVersion.osgiVersion}-${maven.build.timestamp}</finalName>

     <!-- turn on filtering for these resources -->         

     <resources>

       <resource>

diff --git a/trunk/ruta-eclipse-feature/src/main/resources/feature.xml b/trunk/ruta-eclipse-feature/src/main/resources/feature.xml
index 2c28d75..721a9f3 100644
--- a/trunk/ruta-eclipse-feature/src/main/resources/feature.xml
+++ b/trunk/ruta-eclipse-feature/src/main/resources/feature.xml
@@ -20,7 +20,7 @@
 <feature

       id="org.apache.uima.ruta.feature"

       label="UIMA Ruta Workbench"

-      version="${parsedVersion.osgiVersion}"

+      version="${parsedVersion.osgiVersion}-130926_1852"

       provider-name="Apache Software Foundation">

 

    <description url="http://uima.apache.org">

@@ -49,42 +49,42 @@
          id="org.apache.uima.ruta.addons"

          download-size="0"

          install-size="0"

-         version="${parsedVersion.osgiVersion}"

+         version="${parsedVersion.osgiVersion}-130926_1852"

          unpack="false"/>

 

    <plugin

          id="org.apache.uima.ruta.caseditor"

          download-size="0"

          install-size="0"

-         version="${parsedVersion.osgiVersion}"

+         version="${parsedVersion.osgiVersion}-130926_1852"

          unpack="false"/>

 

    <plugin

          id="org.apache.uima.ruta.engine"

          download-size="0"

          install-size="0"

-         version="${parsedVersion.osgiVersion}"

+         version="${parsedVersion.osgiVersion}-130926_1852"

          unpack="false"/>

 

    <plugin

          id="org.apache.uima.ruta.ide"

          download-size="0"

          install-size="0"

-         version="${parsedVersion.osgiVersion}"

+         version="${parsedVersion.osgiVersion}-130926_1852"

          unpack="false"/>

 

    <plugin

          id="org.apache.uima.ruta.ide.ui"

          download-size="0"

          install-size="0"

-         version="${parsedVersion.osgiVersion}"

+         version="${parsedVersion.osgiVersion}-130926_1852"

          unpack="false"/>

 

    <plugin

          id="org.apache.uima.ruta.textruler"

          download-size="0"

          install-size="0"

-         version="${parsedVersion.osgiVersion}"

+         version="${parsedVersion.osgiVersion}-130926_1852"

          unpack="false"/>

 

 </feature>

diff --git a/trunk/ruta-eclipse-update-site/category.xml b/trunk/ruta-eclipse-update-site/category.xml
new file mode 100644
index 0000000..47b8546
--- /dev/null
+++ b/trunk/ruta-eclipse-update-site/category.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+  <!--
+   ***************************************************************
+   * Licensed to the Apache Software Foundation (ASF) under one
+   * or more contributor license agreements.  See the NOTICE file
+   * distributed with this work for additional information
+   * regarding copyright ownership.  The ASF licenses this file
+   * to you under the Apache License, Version 2.0 (the
+   * "License"); you may not use this file except in compliance
+   * with the License.  You may obtain a copy of the License at
+   *
+   *   http://www.apache.org/licenses/LICENSE-2.0
+   * 
+   * Unless required by applicable law or agreed to in writing,
+   * software distributed under the License is distributed on an
+   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   * KIND, either express or implied.  See the License for the
+   * specific language governing permissions and limitations
+   * under the License.
+   ***************************************************************
+   -->
+<site>
+   <feature url="features/org.apache.uima.ruta.feature_2.1.1.SNAPSHOT.jar" id="org.apache.uima.ruta.feature" version="2.1.1.SNAPSHOT-130926_1852">
+      <category name="apache-uima-ruta"/>
+   </feature>
+   <category-def name="apache-uima-ruta" label="Apache UIMA Ruta">
+      <description>
+         Apache UIMA Ruta
+      </description>
+   </category-def>
+</site>
diff --git a/trunk/ruta-eclipse-update-site/pom.xml b/trunk/ruta-eclipse-update-site/pom.xml
index 12a9655..e24077d 100644
--- a/trunk/ruta-eclipse-update-site/pom.xml
+++ b/trunk/ruta-eclipse-update-site/pom.xml
@@ -23,13 +23,13 @@
   <parent>

     <groupId>org.apache.uima</groupId>

     <artifactId>parent-pom</artifactId>

-    <version>6</version>

+    <version>8-SNAPSHOT</version>

     <relativePath />

   </parent>

   

 	<artifactId>ruta-eclipse-update-site</artifactId>

 	<packaging>pom</packaging>

-	<version>2.1.0</version>

+	<version>2.1.1-SNAPSHOT</version>

   

 	<name>Apache UIMA Ruta Eclipse: ${project.artifactId}</name>

   <description>The UIMA Ruta Eclipse update site</description>

@@ -51,8 +51,12 @@
     <uimaScmProject>${project.artifactId}</uimaScmProject>

     <eclipseUpdateSiteComponent>ruta</eclipseUpdateSiteComponent>

     <eclipseUpdateSubSite>${project.build.directory}/eclipse-update-site/${eclipseUpdateSiteComponent}</eclipseUpdateSubSite>

-    <item-maven-release-version>2.1.0</item-maven-release-version>

-    <item-eclipse-release-version>2.1.0</item-eclipse-release-version>

+    <item-maven-release-version>2.1.1-SNAPSHOT</item-maven-release-version>

+    <item-eclipse-release-version>2.1.1.SNAPSHOT-130926_1852</item-eclipse-release-version>

+    <!-- ${project.version}

+    <item-maven-release-version>${project.version}</item-maven-release-version>

+    <item-eclipse-release-version>${project.version}</item-eclipse-release-version>

+     -->

   </properties>

 	<build>

     <pluginManagement>

diff --git a/trunk/ruta-eclipse-update-site/src/main/resources/category.xml b/trunk/ruta-eclipse-update-site/src/main/resources/category.xml
index f858a70..526c7df 100644
--- a/trunk/ruta-eclipse-update-site/src/main/resources/category.xml
+++ b/trunk/ruta-eclipse-update-site/src/main/resources/category.xml
@@ -20,7 +20,7 @@
    ***************************************************************

    -->

 <site>

-   <feature url="features/org.apache.uima.ruta.feature_${parsedVersion.osgiVersion}.jar" id="org.apache.uima.ruta.feature" version="${parsedVersion.osgiVersion}">

+   <feature url="features/org.apache.uima.ruta.feature_${parsedVersion.osgiVersion}.jar" id="org.apache.uima.ruta.feature" version="${parsedVersion.osgiVersion}-130926_1852">

       <category name="apache-uima-ruta"/>

    </feature>

    <category-def name="apache-uima-ruta" label="Apache UIMA Ruta">

diff --git a/trunk/ruta-ep-addons/pom.xml b/trunk/ruta-ep-addons/pom.xml
index 1a65f17..e4245a3 100644
--- a/trunk/ruta-ep-addons/pom.xml
+++ b/trunk/ruta-ep-addons/pom.xml
@@ -173,7 +173,7 @@
   </scm>

   <build>

     <!-- don't use artifactId as first part of finalName, follow instead the eclipse convention -->

-    <finalName>org.apache.uima.ruta.addons_${parsedVersion.osgiVersion}</finalName>

+    <finalName>org.apache.uima.ruta.addons_${parsedVersion.osgiVersion}-${maven.build.timestamp}</finalName>

     <resources>

       <resource>

         <directory>.</directory>

@@ -248,6 +248,7 @@
                 </Require-Bundle>

                 <Import-Package>

                 </Import-Package>

+                <_snapshot>SNAPSHOT-${maven.build.timestamp}</_snapshot>

               </instructions>

             </configuration>

           </execution>

diff --git a/trunk/ruta-ep-caseditor/pom.xml b/trunk/ruta-ep-caseditor/pom.xml
index 16a5c8a..d33f0ea 100644
--- a/trunk/ruta-ep-caseditor/pom.xml
+++ b/trunk/ruta-ep-caseditor/pom.xml
@@ -113,7 +113,7 @@
 

   <build>

     <!-- don't use artifactId as first part of finalName, follow instead the eclipse convention -->

-    <finalName>org.apache.uima.ruta.caseditor_${parsedVersion.osgiVersion}</finalName>

+    <finalName>org.apache.uima.ruta.caseditor_${parsedVersion.osgiVersion}-${maven.build.timestamp}</finalName>

     <resources>

       <resource>

         <directory>.</directory>

@@ -194,6 +194,7 @@
                   !org.eclipse.core.runtime,

                   *

                 </Import-Package>

+                <_snapshot>SNAPSHOT-${maven.build.timestamp}</_snapshot>

               </instructions>

             </configuration>

           </execution>

diff --git a/trunk/ruta-ep-engine/pom.xml b/trunk/ruta-ep-engine/pom.xml
index 7bc2700..1d61827 100644
--- a/trunk/ruta-ep-engine/pom.xml
+++ b/trunk/ruta-ep-engine/pom.xml
@@ -166,7 +166,7 @@
   <build>

     <!-- don't use artifactId as first part of finalName, follow instead 

       the eclipse convention -->

-    <finalName>org.apache.uima.ruta.engine_${parsedVersion.osgiVersion}</finalName>

+    <finalName>org.apache.uima.ruta.engine_${parsedVersion.osgiVersion}-${maven.build.timestamp}</finalName>

     <pluginManagement>

       <plugins>

         <plugin>

@@ -288,6 +288,7 @@
                 <!-- <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy> -->

                 <Eclipse-BuddyPolicy>registered</Eclipse-BuddyPolicy>

                 <Eclipse-RegisterBuddy>org.apache.uima.runtime</Eclipse-RegisterBuddy>

+                <_snapshot>SNAPSHOT-${maven.build.timestamp}</_snapshot>

               </instructions>

             </configuration>

           </execution>

diff --git a/trunk/ruta-ep-ide-ui/pom.xml b/trunk/ruta-ep-ide-ui/pom.xml
index 77a7c4c..67c5d80 100644
--- a/trunk/ruta-ep-ide-ui/pom.xml
+++ b/trunk/ruta-ep-ide-ui/pom.xml
@@ -240,7 +240,7 @@
   </scm>

   <build>

     <!-- don't use artifactId as first part of finalName, follow instead the eclipse convention -->

-    <finalName>org.apache.uima.ruta.ide.ui_${parsedVersion.osgiVersion}</finalName>

+    <finalName>org.apache.uima.ruta.ide.ui_${parsedVersion.osgiVersion}-${maven.build.timestamp}</finalName>

     <resources>

       <resource>

         <directory>.</directory>

@@ -333,6 +333,7 @@
                 <Import-Package>

                 </Import-Package>

                 <Bundle-Localization>plugin</Bundle-Localization>

+                <_snapshot>SNAPSHOT-${maven.build.timestamp}</_snapshot>

               </instructions>

             </configuration>

           </execution>

diff --git a/trunk/ruta-ep-ide/pom.xml b/trunk/ruta-ep-ide/pom.xml
index 06efdf4..442a1b5 100644
--- a/trunk/ruta-ep-ide/pom.xml
+++ b/trunk/ruta-ep-ide/pom.xml
@@ -128,7 +128,7 @@
   </scm>

   <build>

     <!-- don't use artifactId as first part of finalName, follow instead the eclipse convention -->

-    <finalName>org.apache.uima.ruta.ide_${parsedVersion.osgiVersion}</finalName>

+    <finalName>org.apache.uima.ruta.ide_${parsedVersion.osgiVersion}-${maven.build.timestamp}</finalName>

     <resources>

       <resource>

         <directory>.</directory>

@@ -240,6 +240,7 @@
                 <Import-Package>

                 </Import-Package>

                 <Bundle-Localization>plugin</Bundle-Localization>

+                <_snapshot>SNAPSHOT-${maven.build.timestamp}</_snapshot>

               </instructions>

             </configuration>

           </execution>

diff --git a/trunk/ruta-ep-textruler/pom.xml b/trunk/ruta-ep-textruler/pom.xml
index 0f345f9..b1b28ae 100644
--- a/trunk/ruta-ep-textruler/pom.xml
+++ b/trunk/ruta-ep-textruler/pom.xml
@@ -154,7 +154,7 @@
   </scm>

   <build>

     <!-- don't use artifactId as first part of finalName, follow instead the eclipse convention -->

-    <finalName>org.apache.uima.ruta.textruler_${parsedVersion.osgiVersion}</finalName>

+    <finalName>org.apache.uima.ruta.textruler_${parsedVersion.osgiVersion}-${maven.build.timestamp}</finalName>

     <resources>

       <resource>

         <directory>.</directory>

@@ -226,6 +226,7 @@
                 </Require-Bundle>

                 <Import-Package>

                 </Import-Package>

+                <_snapshot>SNAPSHOT-${maven.build.timestamp}</_snapshot>

               </instructions>

             </configuration>

           </execution>