You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2013/06/20 18:21:16 UTC

svn commit: r1495075 - /uima/build/trunk/parent-pom/pom.xml

Author: schor
Date: Thu Jun 20 16:21:16 2013
New Revision: 1495075

URL: http://svn.apache.org/r1495075
Log:
no Jira - 2nd try for release prepare found dependency on not-yet-released version 5 of the uima-build-resources in the parent-pom.  Override this for (just) the parent-pom (using a profile only activated for that pom's build).  Hope that overriding is not needed (because this will be built in the "reactor" and therefore be available) for itself and uima-build-helper-maven-plugin.

Modified:
    uima/build/trunk/parent-pom/pom.xml

Modified: uima/build/trunk/parent-pom/pom.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/parent-pom/pom.xml?rev=1495075&r1=1495074&r2=1495075&view=diff
==============================================================================
--- uima/build/trunk/parent-pom/pom.xml (original)
+++ uima/build/trunk/parent-pom/pom.xml Thu Jun 20 16:21:16 2013
@@ -845,6 +845,34 @@ Copyright (c) 2003, 2006 IBM Corporation
       </activation>
       <build>
         <plugins>
+          <!-- overrides to enable release -->
+          <!-- to release 5-SNAPSHOT which includes uima-build-resources, hard code that version to 4 -->
+	        <plugin>
+		        <groupId>org.apache.maven.plugins</groupId>
+		        <artifactId>maven-remote-resources-plugin</artifactId>
+		        <executions>      
+		          <execution>
+		            <goals><goal>process</goal></goals>
+		            <configuration>
+		              <resourceBundles>
+		                <resourceBundle>org.apache.uima:uima-build-resources:4</resourceBundle>
+		              </resourceBundles>
+		            </configuration>
+		          </execution>
+		        </executions>		        
+		      </plugin>
+          
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <dependencies>            
+              <dependency>
+                <groupId>org.apache.uima</groupId>
+                <artifactId>uima-build-resources</artifactId>
+                <version>4</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+          
           <plugin>
             <artifactId>maven-changes-plugin</artifactId>
             <executions>
@@ -2236,7 +2264,7 @@ Copyright (c) 2003, 2006 IBM Corporation
   </profiles>
        
   <modules>
+    <module>../uima-build-resources</module>
   	<module>../uima-build-helper-maven-plugin</module>
-  	<module>../uima-build-resources</module>
   </modules>
 </project>
\ No newline at end of file