You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2015/06/24 15:38:59 UTC

svn commit: r1687267 - in /uima/sandbox/uima-ducc/trunk: README RELEASE_NOTES.html pom.xml src/main/assembly/bin.xml

Author: cwiklik
Date: Wed Jun 24 13:38:59 2015
New Revision: 1687267

URL: http://svn.apache.org/r1687267
Log:
UIMA-3476 Added @@ducc.version@@ placeholders to README and RELEASE_NOTES.html to automate versioning. Added ant plugin to DUCCs base pom to replace the placeholders at buildtime. 

Modified:
    uima/sandbox/uima-ducc/trunk/README
    uima/sandbox/uima-ducc/trunk/RELEASE_NOTES.html
    uima/sandbox/uima-ducc/trunk/pom.xml
    uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml

Modified: uima/sandbox/uima-ducc/trunk/README
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/README?rev=1687267&r1=1687266&r2=1687267&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/README (original)
+++ uima/sandbox/uima-ducc/trunk/README Wed Jun 24 13:38:59 2015
@@ -1,4 +1,4 @@
-              Apache Distributed UIMA Cluster Computing (DUCC) Version 1.1.0 README
+              Apache Distributed UIMA Cluster Computing (DUCC) Version @@ducc.version@@ README
               
 
 1. Building from the Source Distribution

Modified: uima/sandbox/uima-ducc/trunk/RELEASE_NOTES.html
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/RELEASE_NOTES.html?rev=1687267&r1=1687266&r2=1687267&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/RELEASE_NOTES.html (original)
+++ uima/sandbox/uima-ducc/trunk/RELEASE_NOTES.html Wed Jun 24 13:38:59 2015
@@ -20,10 +20,10 @@
    ***************************************************************
    -->
 <head>
-  <title>Apache Distributed UIMA Cluster Computing (DUCC) 1.1.0 Release Notes</title>
+  <title>Apache Distributed UIMA Cluster Computing (DUCC) @@ducc.version@@ Release Notes</title>
 </head>
 <body>
-<h1>Apache UIMA-DUCC (Unstructured Information Management Architecture - Distributed UIMA Cluster Computing ) v1.1.0. Release Notes</h1>
+<h1>Apache UIMA-DUCC (Unstructured Information Management Architecture - Distributed UIMA Cluster Computing ) v.@@ducc.version@@ Release Notes</h1>
 
 <h2>Contents</h2>
 <p>

Modified: uima/sandbox/uima-ducc/trunk/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/pom.xml?rev=1687267&r1=1687266&r2=1687267&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/pom.xml (original)
+++ uima/sandbox/uima-ducc/trunk/pom.xml Wed Jun 24 13:38:59 2015
@@ -438,7 +438,26 @@
 				</execution>
 			    </executions>
 			</plugin>
-
+<plugin>
+    <artifactId>maven-antrun-plugin</artifactId>
+    <executions>
+      <execution>
+        <phase>prepare-package</phase>
+        <configuration>
+          <tasks>
+            <echo>Updating README with Ducc Version: ${project.version}</echo>
+            <copy file="${basedir}/README" tofile="${basedir}/target/README"/>
+            <replace token= "@@ducc.version@@" value="${project.version}" file="${basedir}/target/README" />                                 
+            <copy file="${basedir}/RELEASE_NOTES.html" tofile="${basedir}/target/RELEASE_NOTES.html"/>
+            <replace token= "@@ducc.version@@" value="${project.version}" file="${basedir}/target/RELEASE_NOTES.html" />                                 
+          </tasks>
+        </configuration>
+        <goals>
+          <goal>run</goal>
+        </goals>
+      </execution>
+    </executions>
+  </plugin>
 		</plugins>
 		<!-- /pluginManagement -->
 	</build>

Modified: uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml?rev=1687267&r1=1687266&r2=1687267&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml (original)
+++ uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml Wed Jun 24 13:38:59 2015
@@ -318,7 +318,7 @@ under the License.
     </fileSet>
 
     <fileSet>
-      <directory></directory>
+      <directory>target</directory>
       <outputDirectory></outputDirectory>
       <includes>
         <include>README</include>