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

sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git


The following commit(s) were added to refs/heads/master by this push:
     new 490d2a8  Fix build
490d2a8 is described below

commit 490d2a8487201fee4ba0fa46a3158f83a68d4db3
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Sat Oct 26 12:50:43 2024 +0200

    Fix build
---
 pom.xml                                                            | 7 +++++--
 .../apache/maven/dist/tools/jobs/branches/ListBranchesReport.java  | 1 +
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 839101e..7ddb8c9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,8 +60,8 @@
     <project.build.outputTimestamp>x</project.build.outputTimestamp>
     <netbeans.checkstyle.format>true</netbeans.checkstyle.format>
     <mvnversion>3.2.5</mvnversion>
-    <maven.compiler.source>1.8</maven.compiler.source>
-    <maven.compiler.target>1.8</maven.compiler.target>
+    <maven.compiler.source>8</maven.compiler.source>
+    <maven.compiler.target>8</maven.compiler.target>
   </properties>
 
   <dependencies>
@@ -202,6 +202,9 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-plugin-plugin</artifactId>
+        <configuration>
+          <goalPrefix>dist-tool</goalPrefix>
+        </configuration>
         <executions>
           <execution>
             <id>generated-helpmojo</id>
diff --git 
a/src/main/java/org/apache/maven/dist/tools/jobs/branches/ListBranchesReport.java
 
b/src/main/java/org/apache/maven/dist/tools/jobs/branches/ListBranchesReport.java
index f84844b..4a69996 100644
--- 
a/src/main/java/org/apache/maven/dist/tools/jobs/branches/ListBranchesReport.java
+++ 
b/src/main/java/org/apache/maven/dist/tools/jobs/branches/ListBranchesReport.java
@@ -267,6 +267,7 @@ public class ListBranchesReport extends AbstractJobsReport {
         return GITHUB_URL + repository + "/branches/all?page=" + page;
     }
 
+    @SuppressWarnings("checkstyle:MethodLength")
     private void generateReport(List<Result> repoStatus) {
         AtomicInteger masterJenkinsTotal = new AtomicInteger();
         AtomicInteger masterGitTotal = new AtomicInteger();

Reply via email to