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 2010/11/06 14:05:36 UTC

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

Author: schor
Date: Sat Nov  6 13:05:36 2010
New Revision: 1032036

URL: http://svn.apache.org/viewvc?rev=1032036&view=rev
Log:
[UIMA-1929] more tweaks to get Jira reports done better. Also roll back to 1-SNAPSHOT for respin

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=1032036&r1=1032035&r2=1032036&view=diff
==============================================================================
--- uima/build/trunk/parent-pom/pom.xml (original)
+++ uima/build/trunk/parent-pom/pom.xml Sat Nov  6 13:05:36 2010
@@ -54,7 +54,7 @@
 
   <groupId>org.apache.uima</groupId>
   <artifactId>parent-pom</artifactId>
-  <version>2-SNAPSHOT</version>
+  <version>1-SNAPSHOT</version>
   <packaging>pom</packaging>
   
   <name>UIMA ${project.artifactId}</name>
@@ -546,22 +546,10 @@ Copyright (c) 2003, 2006 IBM Corporation
           <version>2.3</version>
           <executions>
             <execution>
-              <id>jiraReport</id>
-              <goals><goal>jira-report</goal></goals>
-              <phase>generate-sources</phase>        
-              <configuration>
-                <columnNames>Type,Key,Summary</columnNames>
-                <resolutionIds>Fixed</resolutionIds>
-                <statusIds>Closed</statusIds>
-                <sortColumnNames>Type, Key</sortColumnNames>
-                <outputDirectory>${basedir}/issuesFixed/</outputDirectory>
-                <maxEntries>1000</maxEntries> <!-- hopefully, bigger than ever needed -->
-              </configuration>
-            </execution>
-            <execution>
               <id>default-cli</id>
               <goals><goal>jira-report</goal></goals>
-              <phase>generate-sources</phase>        
+              <!-- don't use generate-sources - because javadoc plugin re-exec's that -->
+              <phase>generate-resources</phase>        
               <configuration>
                 <fixVersionIds>${jiraVersion}</fixVersionIds>
                 <columnNames>Type,Key,Summary</columnNames>
@@ -700,9 +688,52 @@ Copyright (c) 2003, 2006 IBM Corporation
     </profile>
     
     <!-- **************************************** -->
+    <!-- *   Produce Jira report                * -->
+    <!-- **************************************** -->
+
+    <profile>
+      <id>mavenJirareport</id>
+      <activation>
+        <!-- NOTE: if you try to make this work more generally, by 
+             using a marker file in all top-level release projects,
+             this approach fails because for other top-level
+             release projects, it substitutes the value of
+             the jiraVersion property from the top level pom, not
+             the pom being released.  So other release projects include
+             this kind of profile within themselves, in a profile
+             for "apache-release" triggered by name. -->
+             
+        <!-- It would be nice to have this only run when releasing, 
+             but the activation clauses are currently only
+             "ored" together, not "anded". -->
+             
+        <file><exists>marker-file-identifying-parent-pom</exists></file>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-changes-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>default-cli</id>
+                <configuration>
+                  <fixVersionIds>${jiraVersion}</fixVersionIds>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    
+    <!-- **************************************** -->
     <!-- * Override - don't produce Jira report * -->
     <!-- **************************************** -->
     
+    <!-- NOTE: if you use this, you MUST check in
+         the generated Jira report into SVN, otherwise
+         it won't appear in the release assemblies. -->
+    
     <profile>
       <id>mavenJirareportSkip</id>
       <activation>
@@ -717,7 +748,7 @@ Copyright (c) 2003, 2006 IBM Corporation
             <artifactId>maven-changes-plugin</artifactId>
             <executions>
               <execution>
-                <id>jiraReport</id> 
+                <id>default-cli</id> 
                 <phase />
               </execution>
             </executions>