Author: tommaso
Date: Thu Jun 20 13:20:38 2013
New Revision: 1494976

URL: http://svn.apache.org/r1494976
Log:
UIMA-2719 - allow addons modules to specify their specific jira version

Modified:
    uima/addons/trunk/Solrcas/pom.xml
    
uima/addons/trunk/Solrcas/src/test/java/org/apache/uima/solrcas/SolrCasConsumerIntegrationTest.java
    uima/addons/trunk/uima-addons-parent/pom.xml

Modified: uima/addons/trunk/Solrcas/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/addons/trunk/Solrcas/pom.xml?rev=1494976&r1=1494975&r2=1494976&view=diff
==============================================================================
--- uima/addons/trunk/Solrcas/pom.xml (original)
+++ uima/addons/trunk/Solrcas/pom.xml Thu Jun 20 13:20:38 2013
@@ -56,6 +56,7 @@
     <uimaDependencyVersion>2.3.1</uimaDependencyVersion>
     <pearMainDescriptor>desc/SolrCASConsumerAE.xml</pearMainDescriptor>
     <bookNameRoot>SolrcasUserGuide</bookNameRoot>
+    <jiraVersion>12324133</jiraVersion>
   </properties>
 
   <dependencies>

Modified: 
uima/addons/trunk/Solrcas/src/test/java/org/apache/uima/solrcas/SolrCasConsumerIntegrationTest.java
URL: 
http://svn.apache.org/viewvc/uima/addons/trunk/Solrcas/src/test/java/org/apache/uima/solrcas/SolrCasConsumerIntegrationTest.java?rev=1494976&r1=1494975&r2=1494976&view=diff
==============================================================================
--- 
uima/addons/trunk/Solrcas/src/test/java/org/apache/uima/solrcas/SolrCasConsumerIntegrationTest.java
 (original)
+++ 
uima/addons/trunk/Solrcas/src/test/java/org/apache/uima/solrcas/SolrCasConsumerIntegrationTest.java
 Thu Jun 20 13:20:38 2013
@@ -19,6 +19,14 @@
 
 package org.apache.uima.solrcas;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
+import java.io.File;
+import java.net.URL;
+import java.util.Collection;
+
 import org.apache.solr.client.solrj.SolrServer;
 import org.apache.solr.client.solrj.embedded.EmbeddedSolrServer;
 import org.apache.solr.client.solrj.response.QueryResponse;
@@ -39,15 +47,6 @@ import org.apache.uima.test.junit_extens
 import org.apache.uima.util.CasCreationUtils;
 import org.junit.Test;
 
-import java.io.File;
-import java.net.URL;
-import java.util.Collection;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
-
 /**
  * Integration test with a running Solr
  */

Modified: uima/addons/trunk/uima-addons-parent/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/addons/trunk/uima-addons-parent/pom.xml?rev=1494976&r1=1494975&r2=1494976&view=diff
==============================================================================
--- uima/addons/trunk/uima-addons-parent/pom.xml (original)
+++ uima/addons/trunk/uima-addons-parent/pom.xml Thu Jun 20 13:20:38 2013
@@ -47,8 +47,7 @@
     <system>Jira</system>
     <!-- the form of the url is from 
http://maven.apache.org/plugins/maven-changes-plugin/usage.html -->
     
<!--url>https://issues.apache.org/jira/BrowseProject.jspa?projectId=12310570</url-->
-    <url>https://issues.apache.org/jira/browse/UIMA?projectId=12310570</url>
-        
+    <url>https://issues.apache.org/jira/browse/UIMA</url>
   </issueManagement>
 
   <scm>
@@ -188,7 +187,53 @@
             
<tagBase>https://svn.apache.org/repos/asf/uima/sandbox/tags/</tagBase>
           </configuration>
         </plugin>
-
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>default-cli</id>
+              <configuration>
+                <excludes>
+                  <exclude>release.properties</exclude> <!-- release generated 
artifact -->
+                  <exclude>README*</exclude>
+                  <exclude>RELEASE_NOTES*</exclude>
+                  <exclude>issuesFixed/**</exclude> <!-- generated file -->
+                  <exclude>marker-file-identifying-*</exclude> <!-- empty file 
-->
+                  <exclude>DEPENDENCIES</exclude>  <!-- generated file -->
+                  <exclude>.idea/**</exclude>
+                </excludes>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
+        <!--This plugin's configuration is used to store Eclipse m2e settings 
only. It has no influence on the Maven build itself.-->
+        <plugin>
+               <groupId>org.eclipse.m2e</groupId>
+               <artifactId>lifecycle-mapping</artifactId>
+               <version>1.0.0</version>
+               <configuration>
+                       <lifecycleMappingMetadata>
+                               <pluginExecutions>
+                                       <pluginExecution>
+                                               <pluginExecutionFilter>
+                                                       
<groupId>org.apache.uima</groupId>
+                                                       <artifactId>
+                                                               
uima-build-helper-maven-plugin
+                                                       </artifactId>
+                                                       
<versionRange>[4,)</versionRange>
+                                                       <goals>
+                                                               
<goal>parse-date-time</goal>
+                                                       </goals>
+                                               </pluginExecutionFilter>
+                                               <action>
+                                                       <ignore></ignore>
+                                               </action>
+                                       </pluginExecution>
+                               </pluginExecutions>
+                       </lifecycleMappingMetadata>
+               </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     
@@ -614,6 +659,94 @@
         
       </build>
     </profile>
+
+    <profile>
+      <id>apache-release</id>
+      <properties>
+        <jiraVersion>12310570</jiraVersion>
+        
<assemblyFinalName>uima-${project.artifactId}-${project.version}</assemblyFinalName>
+      </properties>
+
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-release-plugin</artifactId>
+              <version>2.1</version>
+              <configuration>
+                <mavenExecutorId>forked-path</mavenExecutorId>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+
+        <plugins>
+
+          <!-- https://issues.apache.org/jira/browse/UIMA-2008 -->
+          <!-- no maven deployment of this project's artifacts -->
+          <!-- binary build artifact deployed from apache mirror system after
+            release -->
+          <plugin>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+              <skip>true</skip>
+            </configuration>
+          </plugin>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>generate checksums for binary artifacts</id>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <phase>verify</phase>
+                <configuration>
+                  <target>
+                    <checksum algorithm="sha1" format="MD5SUM">
+                      <fileset dir="${project.build.directory}">
+                        <include name="*.zip" />
+                        <include name="*.gz" />
+                      </fileset>
+                    </checksum>
+                    <checksum algorithm="md5" format="MD5SUM">
+                      <fileset dir="${project.build.directory}">
+                        <include name="*.zip" />
+                        <include name="*.gz" />
+                      </fileset>
+                    </checksum>
+                  </target>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-changes-plugin</artifactId>
+            <version>2.8</version>
+            <executions>
+              <execution>
+                <id>default-cli</id>
+                <goals><goal>jira-report</goal></goals>
+                <phase>generate-resources</phase>        
+                <configuration>
+                  <useJql>true</useJql>
+                  <fixVersionIds>${jiraVersion}</fixVersionIds>
+                  <columnNames>Type,Key,Status,Summary</columnNames>
+                  <resolutionIds>Fixed</resolutionIds>
+                  <statusIds>Closed,Resolved</statusIds>
+                  <sortColumnNames>Type, Status, Key</sortColumnNames>
+                  <outputDirectory>${basedir}/issuesFixed/</outputDirectory>
+                  <maxEntries>1000</maxEntries>
+                </configuration>
+            </execution>
+          </executions>
+        </plugin>
+
+        </plugins>
+      </build>
+    </profile>
     
   </profiles>
 </project>


Reply via email to