This is an automated email from the ASF dual-hosted git repository.

rec pushed a commit to branch 
refactoring/260-Issues-fixed-report-for-GitHub-and-Jira
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git

commit 2ab21b6dd08a8a405d6374441fc347af77055fd3
Author: Richard Eckart de Castilho <[email protected]>
AuthorDate: Wed Oct 19 10:14:12 2022 +0200

    Issue #260: Issues-fixed report for GitHub and Jira
    
    - Switch the configuration for the issues report in the main POM from Jira 
to GitHub and set GitHub as the new main issue management system
    - Add a non-deployed module to also generate a report from issues that we 
still have on Jira
---
 pom.xml                          | 15 ++++++---
 uimaj-legacy-jira-report/pom.xml | 73 ++++++++++++++++++++++++++++++++++++++++
 uimaj-parent/pom.xml             |  6 ++++
 3 files changed, 90 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8817b9cb9..2d11cd77b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,7 +40,6 @@
   <url>${uimaWebsiteUrl}</url>
 
   <properties>
-    <jiraVersion>3.3.0SDK</jiraVersion>   
     <assemblyFinalName>uimaj-${project.version}</assemblyFinalName> 
     
<assemblyBinDescriptor>src/main/assembly/bin-without-jackson.xml</assemblyBinDescriptor>
 
     <postNoticeText>${ibmNoticeText}</postNoticeText>    
@@ -191,6 +190,7 @@
   <modules>
     <module>uimaj-parent</module>
     <module>aggregate-uimaj</module>
+    <module>uimaj-legacy-jira-report</module>
   </modules>
   
   <build>
@@ -342,13 +342,20 @@
             <executions>
               <execution>
                 <id>default-cli</id>
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>github-report</goal>
+                </goals>
                 <configuration>
-                  <fixVersionIds>${jiraVersion}</fixVersionIds>
+                  <columnNames>Type,Id,Status,Summary</columnNames>
+                  <onlyCurrentVersion>true</onlyCurrentVersion>
+                  <githubAPIScheme>https</githubAPIScheme>
+                  <githubAPIPort>443</githubAPIPort>
                 </configuration>
               </execution>
-            </executions>  
+            </executions>
           </plugin>
-        </plugins>     
+        </plugins>
       </build>
     </profile>
     
diff --git a/uimaj-legacy-jira-report/pom.xml b/uimaj-legacy-jira-report/pom.xml
new file mode 100644
index 000000000..48ea2b8af
--- /dev/null
+++ b/uimaj-legacy-jira-report/pom.xml
@@ -0,0 +1,73 @@
+<?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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.uima</groupId>
+    <artifactId>uimaj-parent</artifactId>
+    <version>3.3.1-SNAPSHOT</version>
+    <relativePath>../uimaj-parent/pom.xml</relativePath>
+  </parent>
+
+  <artifactId>uimaj-legacy-jira-report</artifactId>
+  <packaging>pom</packaging>
+
+  <properties>
+    <jiraVersion>3.3.1SDK</jiraVersion>
+    <maven.deploy.skip>true</maven.deploy.skip>
+  </properties>
+
+  <issueManagement>
+    <system>Jira</system>
+    <url>https://issues.apache.org/jira/browse/UIMA</url>
+  </issueManagement>
+
+  <profiles>
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <!-- Run jira report -->
+        <!-- depends on having -DjiraVersion set -->
+        <plugins>
+          <plugin>
+            <artifactId>maven-changes-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>default-cli</id>
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>jira-report</goal>
+                </goals>
+                <configuration>
+                  <columnNames>Type,Key,Status,Summary</columnNames>
+                  
<outputDirectory>${project.basedir}/../issuesFixed</outputDirectory>
+                  <fixVersionIds>${jiraVersion}</fixVersionIds>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+</project>
diff --git a/uimaj-parent/pom.xml b/uimaj-parent/pom.xml
index eff05a5ad..7c65739a3 100644
--- a/uimaj-parent/pom.xml
+++ b/uimaj-parent/pom.xml
@@ -44,6 +44,11 @@
   <description>The common parent pom for the UIMA Java SDK</description>
   <url>${uimaWebsiteUrl}</url>
 
+  <issueManagement>
+    <system>Github</system>
+    <url>https://github.com/apache/uima-uimaj/issues</url>
+  </issueManagement>
+
   <scm>
     <tag>uimaj-3.2.0</tag>
     <connection>scm:git:https://github.com/apache/uima-uimaj/</connection>
@@ -142,6 +147,7 @@
     <junit-version>5.8.2</junit-version>
     <assertj-version>3.22.0</assertj-version>
     <xmlunit-version>2.9.0</xmlunit-version>
+    <maven.version>3.2.5</maven.version>
 
     <maven.compiler.target>1.8</maven.compiler.target>
     <maven.compiler.source>1.8</maven.compiler.source>

Reply via email to