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

rec pushed a commit to branch 
refactoring/59-Replace-maven-changes-plugin-with-call-to-GH-API-to-generate-release-notes
in repository https://gitbox.apache.org/repos/asf/uima-parent-pom.git


The following commit(s) were added to 
refs/heads/refactoring/59-Replace-maven-changes-plugin-with-call-to-GH-API-to-generate-release-notes
 by this push:
     new ec2ab89  Issue #59: Replace maven-changes-plugin with call to GH API 
to generate release notes
ec2ab89 is described below

commit ec2ab899cdd4ed52b74c9dc2695cf0a1f94219ba
Author: Richard Eckart de Castilho <r...@apache.org>
AuthorDate: Wed Oct 4 15:55:34 2023 +0200

    Issue #59: Replace maven-changes-plugin with call to GH API to generate 
release notes
    
    - Remove the old changes profile
    - Set up Jenkinsfile to skip release notes generation on Jenkins
---
 Jenkinsfile |  4 +++-
 pom.xml     | 62 +++----------------------------------------------------------
 2 files changed, 6 insertions(+), 60 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 74f1698..2041bc4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,4 +17,6 @@
   
 @Library('uima-build-jenkins-shared-library') _
 
-defaultPipeline { }
+defaultPipeline {
+  extraMavenArguments = '-Prun-rat-report -Ddisable-rc-auto-staging 
-Ddisable-generate-release-notes'
+}
diff --git a/pom.xml b/pom.xml
index 02fd6da..83ac021 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1005,6 +1005,9 @@
         <file>
           <exists>marker-file-enabling-release-notes</exists>
         </file>
+        <property>
+          <name>!disable-generate-release-notes</name>
+        </property>
       </activation>
       <build>
         <plugins>
@@ -1073,65 +1076,6 @@
       </build>
     </profile>
 
-    <!-- *********************************************** -->
-    <!-- * Generate changes report                     * -->
-    <!-- *********************************************** -->
-    <profile>
-      <id>generate-changes-report</id>
-      <activation>
-        <file>
-          <exists>marker-file-enabling-changes-report</exists>
-        </file>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-remote-resources-plugin</artifactId>
-          </plugin>
-
-          <plugin>
-            <artifactId>maven-clean-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>clean-changes-report</id>
-                <phase>clean</phase>
-                <goals>
-                  <goal>clean</goal>
-                </goals>
-                <configuration>
-                  <filesets>
-                    <fileset>
-                      <directory>${basedir}/issuesFixed</directory>
-                    </fileset>
-                  </filesets>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-          
-          <plugin>
-            <artifactId>maven-changes-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>default-cli</id>
-                <phase>generate-resources</phase>
-                <goals>
-                  <goal>github-report</goal>
-                </goals>
-                <configuration>
-                  <columnNames>Type,Id,Status,Summary</columnNames>
-                  <onlyCurrentVersion>true</onlyCurrentVersion>
-                  <githubAPIScheme>https</githubAPIScheme>
-                  <githubAPIPort>443</githubAPIPort>
-                  <outputDirectory>${basedir}/issuesFixed/</outputDirectory>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
     <!-- ************************************ -->
     <!-- * Build Custom Binary Distribution * -->
     <!-- ************************************ -->

Reply via email to