Skip to content

Commit

Permalink
Issue #260: Issues-fixed report for GitHub and Jira
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
reckart committed Oct 19, 2022
1 parent 17fe5d5 commit 2ab21b6
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 4 deletions.
15 changes: 11 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -191,6 +190,7 @@
<modules>
<module>uimaj-parent</module>
<module>aggregate-uimaj</module>
<module>uimaj-legacy-jira-report</module>
</modules>

<build>
Expand Down Expand Up @@ -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>

Expand Down
73 changes: 73 additions & 0 deletions uimaj-legacy-jira-report/pom.xml
Original file line number Diff line number Diff line change
@@ -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>
6 changes: 6 additions & 0 deletions uimaj-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 2ab21b6

Please sign in to comment.