This is an automated email from the ASF dual-hosted git repository.
sebastian-nagel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/master by this push:
new d647154a0 NUTCH-3220 Define all build tools versions in
default.properties
d647154a0 is described below
commit d647154a0882da659e29e2674a30a3504d663954
Author: Sebastian Nagel <[email protected]>
AuthorDate: Sat Oct 17 15:27:29 2026 +0200
NUTCH-3220 Define all build tools versions in default.properties
Upgrade the following build tools:
- Spotbugs 4.9.8 -> 4.10.5
- Forbidden APIs 3.10 -> 3.11
- Maven GPG plugin 3.2.2 -> 3.2.8
---
build.xml | 20 +++++++++-----------
default.properties | 18 +++++++++++++++---
2 files changed, 24 insertions(+), 14 deletions(-)
diff --git a/build.xml b/build.xml
index 9c32e4eb4..3b379b6b4 100644
--- a/build.xml
+++ b/build.xml
@@ -41,7 +41,6 @@
<property environment="env"/>
- <property name="spotbugs.version" value="4.9.8" />
<property name="spotbugs.home"
value="${ivy.dir}/spotbugs-${spotbugs.version}" />
<property name="spotbugs.jar" value="${spotbugs.home}/lib/spotbugs-ant.jar"
/>
@@ -50,11 +49,10 @@
<property name="jacoco.ant.jar" value="${jacoco.home}/lib/jacocoant.jar" />
<property name="coverage.dir" value="${build.dir}/coverage" />
- <property name="apache-rat.version" value="0.18" />
<property name="apache-rat.home"
value="${ivy.dir}/apache-rat-${apache-rat.version}" />
<property name="apache-rat.jar"
value="${apache-rat.home}/apache-rat-${apache-rat.version}.jar" />
- <property name="ant-eclipse.jar"
value="${ivy.dir}/lib/ant-eclipse-1.0-jvm1.2.jar" />
+ <property name="ant-eclipse.jar"
value="${ivy.dir}/lib/ant-eclipse-${ant-eclipse.version}-jvm1.2.jar" />
<!--
Java Version Strategy:
@@ -345,7 +343,7 @@
<!-- sign and deploy the main artifact -->
<artifact:mvn mavenHome="${env.MVN_HOME}" fork="true" failonerror="true">
<jvmarg value="-Dmaven.multiModuleProjectDirectory=false" />
- <arg
value="org.apache.maven.plugins:maven-gpg-plugin:3.2.2:sign-and-deploy-file" />
+ <arg
value="org.apache.maven.plugins:maven-gpg-plugin:${maven-gpg-plugin.version}:sign-and-deploy-file"
/>
<arg value="-Durl=${maven-repository-url}" />
<arg value="-DrepositoryId=${maven-repository-id}" />
<arg value="-DpomFile=pom.xml" />
@@ -356,7 +354,7 @@
<!-- sign and deploy the sources artifact -->
<artifact:mvn mavenHome="${env.MVN_HOME}" fork="true" failonerror="true">
<jvmarg value="-Dmaven.multiModuleProjectDirectory=false" />
- <arg
value="org.apache.maven.plugins:maven-gpg-plugin:3.2.2:sign-and-deploy-file" />
+ <arg
value="org.apache.maven.plugins:maven-gpg-plugin:${maven-gpg-plugin.version}:sign-and-deploy-file"
/>
<arg value="-Durl=${maven-repository-url}" />
<arg value="-DrepositoryId=${maven-repository-id}" />
<arg value="-DpomFile=pom.xml" />
@@ -368,7 +366,7 @@
<!-- sign and deploy the javadoc artifact -->
<artifact:mvn mavenHome="${env.MVN_HOME}" fork="true" failonerror="true">
<jvmarg value="-Dmaven.multiModuleProjectDirectory=false" />
- <arg
value="org.apache.maven.plugins:maven-gpg-plugin:3.2.2:sign-and-deploy-file" />
+ <arg
value="org.apache.maven.plugins:maven-gpg-plugin:${maven-gpg-plugin.version}:sign-and-deploy-file"
/>
<arg value="-Durl=${maven-repository-url}" />
<arg value="-DrepositoryId=${maven-repository-id}" />
<arg value="-DpomFile=pom.xml" />
@@ -1239,17 +1237,17 @@
<target name="ant-eclipse-download-unchecked" unless="ant-eclipse.jar.found"
description="--> downloads the ant-eclipse jar">
- <get
src="https://downloads.sourceforge.net/project/ant-eclipse/ant-eclipse/1.0/ant-eclipse-1.0.bin.tar.bz2"
- dest="${ivy.dir}/ant-eclipse-1.0.bin.tar.bz2" usetimestamp="false" />
+ <get
src="https://downloads.sourceforge.net/project/ant-eclipse/ant-eclipse/${ant-eclipse.version}/ant-eclipse-${ant-eclipse.version}.bin.tar.bz2"
+ dest="${ivy.dir}/ant-eclipse-${ant-eclipse.version}.bin.tar.bz2"
usetimestamp="false" />
- <untar src="${ivy.dir}/ant-eclipse-1.0.bin.tar.bz2"
+ <untar src="${ivy.dir}/ant-eclipse-${ant-eclipse.version}.bin.tar.bz2"
dest="${ivy.dir}" compression="bzip2">
<patternset>
- <include name="lib/ant-eclipse-1.0-jvm1.2.jar"/>
+ <include name="lib/ant-eclipse-${ant-eclipse.version}-jvm1.2.jar"/>
</patternset>
</untar>
- <delete file="${ivy.dir}/ant-eclipse-1.0.bin.tar.bz2" />
+ <delete file="${ivy.dir}/ant-eclipse-${ant-eclipse.version}.bin.tar.bz2" />
</target>
<!-- target: eclipse ================================================ -->
diff --git a/default.properties b/default.properties
index 8a99887f6..da97dae37 100644
--- a/default.properties
+++ b/default.properties
@@ -43,11 +43,23 @@ test.build.javadoc = ${test.build.dir}/docs/api
# Enable with: ant test -Dtest.failfast=true
test.failfast = false
-# JaCoCo code coverage
+# JaCoCo code coverage (https://www.jacoco.org/jacoco/)
jacoco.version=0.8.15
-# Forbidden APIs
-forbiddenapis.version=3.10
+# SpotBugs code analyzer (https://spotbugs.github.io/)
+spotbugs.version=4.10.5
+
+# Apache RAT software distribution audit (https://creadur.apache.org/rat/)
+apache-rat.version=0.18
+
+# Forbidden APIs (https://github.com/policeman-tools/forbidden-apis)
+forbiddenapis.version=3.11
+
+# Maven GPG plugin (https://maven.apache.org/plugins/maven-gpg-plugin/)
+maven-gpg-plugin.version=3.2.8
+
+# Ant Eclipse (https://sourceforge.net/projects/ant-eclipse/)
+ant-eclipse.version=1.0
# Apache Hadoop client libraries (Ivy rev for hadoop-common, hadoop-hdfs,
mapreduce artifacts)
hadoop.version=3.5.0