See 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/170/display/redirect?page=changes>

Changes:

[garydgregory] Use an import instead of a FQCN

[garydgregory] Initialize in declaration

[garydgregory] Simplify initialization

[garydgregory] Upper case internal constants

[garydgregory] Upper case internal constants

[garydgregory] Don't initialize to default value


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on jenkins-win-azr-9 (Windows-Docker Windows) in workspace 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir 
 > <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/.git> # 
 > timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://gitbox.apache.org/repos/asf/commons-net.git # timeout=10
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/commons-net.git
 > git --version # timeout=10
 > git --version # 'git version 2.14.3.windows.1'
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/commons-net.git 
 > +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
Checking out Revision dbec33d40deacf404573e86b60f24605942bc62c 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dbec33d40deacf404573e86b60f24605942bc62c # timeout=10
Commit message: "Merge branch 'master' of 
https://gitbox.apache.org/repos/asf/commons-net.git";
 > git rev-list --no-walk aadb80fdc2fa65cdc9799696301ad915f8b19862 # timeout=10
[EnvInject] - Injecting environment variables from a build step.
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
[EnvInject] - Injecting as environment variables the properties content 
JAVA_1_8_HOME=${JDK_1_8_LATEST_HOME}

[EnvInject] - Variables injected successfully.
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Parsing POMs
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Downloaded artifact 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/85/commons-parent-85.pom
Downloaded artifact 
https://repo.maven.apache.org/maven2/org/apache/apache/35/apache-35.pom
Downloaded artifact 
https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.13.1/junit-bom-5.13.1.pom
Established TCP socket on 56297
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-net-windows] $ java -cp 
f:\jenkins\jenkins-home\712657a4\maven35-agent.jar;f:\jenkins\tools\maven\latest\boot\plexus-classworlds-2.8.0.jar;f:\\jenkins\\tools\\maven\\latest/conf/logging
 jenkins.maven3.agent.Maven35Main f:\\jenkins\\tools\\maven\\latest 
F:\jenkins\jenkins-home\slave.jar 
f:\jenkins\jenkins-home\712657a4\maven35-interceptor.jar 
f:\jenkins\jenkins-home\712657a4\maven3-interceptor-commons.jar 56297
<===[JENKINS REMOTING CAPACITY]===>   channel started
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Executing Maven:  -B -f 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/pom.xml> 
-V clean install --no-transfer-progress --batch-mode -Pjava-1.8
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: F:\jenkins\tools\maven\latest
Java version: 17.0.7, vendor: Eclipse Adoptium, runtime: 
F:\jenkins\tools\java\latest17
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2019", version: "10.0", arch: "amd64", family: 
"windows"
[INFO] Scanning for projects...
[HUDSON] Collecting dependencies info
[INFO] 
[INFO] ----------------------< commons-net:commons-net >-----------------------
[INFO] Building Apache Commons Net 3.12.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/3.6.1/build-helper-maven-plugin-3.6.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/3.6.1/build-helper-maven-plugin-3.6.1.pom
 (8.1 kB at 23 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/91/mojo-parent-91.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/91/mojo-parent-91.pom
 (38 kB at 455 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.13.0/junit-bom-5.13.0.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.13.0/junit-bom-5.13.0.pom
 (5.6 kB at 120 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/3.6.1/build-helper-maven-plugin-3.6.1.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/3.6.1/build-helper-maven-plugin-3.6.1.jar
 (72 kB at 1.0 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.1/exec-maven-plugin-3.5.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.1/exec-maven-plugin-3.5.1.pom
 (14 kB at 178 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/89/mojo-parent-89.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/89/mojo-parent-89.pom
 (37 kB at 534 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.1/exec-maven-plugin-3.5.1.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/3.5.1/exec-maven-plugin-3.5.1.jar
 (88 kB at 1.4 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.5.0/maven-clean-plugin-3.5.0.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.5.0/maven-clean-plugin-3.5.0.pom
 (5.7 kB at 100 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.5.0/maven-clean-plugin-3.5.0.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.5.0/maven-clean-plugin-3.5.0.jar
 (37 kB at 102 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.13.1/junit-jupiter-api-5.13.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.13.1/junit-jupiter-api-5.13.1.pom
 (3.2 kB at 78 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.13.1/junit-platform-commons-1.13.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.13.1/junit-platform-commons-1.13.1.pom
 (2.8 kB at 73 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.13.1/junit-vintage-engine-5.13.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.13.1/junit-vintage-engine-5.13.1.pom
 (3.2 kB at 82 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.13.1/junit-platform-engine-1.13.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.13.1/junit-platform-engine-1.13.1.pom
 (3.2 kB at 78 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.13.1/junit-jupiter-engine-5.13.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.13.1/junit-jupiter-engine-5.13.1.pom
 (3.2 kB at 84 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-params/5.13.1/junit-jupiter-params-5.13.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-params/5.13.1/junit-jupiter-params-5.13.1.pom
 (3.0 kB at 79 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.13.1/junit-jupiter-api-5.13.1.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.13.1/junit-jupiter-api-5.13.1.jar
 (240 kB at 2.9 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.13.1/junit-platform-commons-1.13.1.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.13.1/junit-vintage-engine-5.13.1.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.13.1/junit-platform-engine-1.13.1.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.13.1/junit-jupiter-engine-5.13.1.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-params/5.13.1/junit-jupiter-params-5.13.1.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.13.1/junit-platform-engine-1.13.1.jar
 (269 kB at 1.9 MB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.13.1/junit-vintage-engine-5.13.1.jar
 (76 kB at 520 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.13.1/junit-jupiter-engine-5.13.1.jar
 (339 kB at 2.0 MB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.13.1/junit-platform-commons-1.13.1.jar
 (153 kB at 863 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-params/5.13.1/junit-jupiter-params-5.13.1.jar
 (661 kB at 3.5 MB/s)
[INFO] 
[INFO] --- clean:3.5.0:clean (default-clean) @ commons-net ---
[INFO] Deleting 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/target>
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-maven-version) @ commons-net ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion 
passed
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-java-version) @ commons-net ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- apache-rat:0.16.1:check (rat-check) @ commons-net ---
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 350 licenses.
[INFO] 
[INFO] --- artifact:3.6.0:check-buildplan (check-buildplan) @ commons-net ---
[INFO] No known issue in 21 plugins
[INFO] 
[INFO] --- build-helper:3.6.1:parse-version (parse-version) @ commons-net ---
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/file-management/3.2.0/file-management-3.2.0.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/file-management/3.2.0/file-management-3.2.0.pom
 (4.5 kB at 104 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/44/maven-shared-components-44.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/44/maven-shared-components-44.pom
 (3.8 kB at 100 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/file-management/3.2.0/file-management-3.2.0.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/file-management/3.2.0/file-management-3.2.0.jar
 (26 kB at 74 kB/s)
[INFO] 
[INFO] --- antrun:3.1.0:run (javadoc.resources) @ commons-net ---
[INFO] Executing tasks
[INFO]      [copy] Copying 2 files to 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/target\apidocs\META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ 
commons-net ---
[INFO] Skipping remote resources execution.
[INFO] 
[INFO] --- buildnumber:3.2.1:create (default) @ commons-net ---
[INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI 
%aE %aN""
[INFO] Working directory: 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[INFO] Storing buildNumber: null at timestamp: 1750768938971
[INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[INFO] Working directory: 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI 
%aE %aN""
[INFO] Working directory: 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[INFO] Storing scmBranch: UNKNOWN
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ commons-net ---
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO] Copying 2 resources from  to target\classes\META-INF
[INFO] 
[INFO] --- compiler:3.14.0:compile (default-compile) @ commons-net ---
[WARNING]  Parameter 'compilerVersion' (user property 
'maven.compiler.compilerVersion') is deprecated: This parameter is no longer 
evaluated by the underlying compilers, instead the actual version of the javac 
binary is automatically retrieved.
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 216 source files with javac [forked debug release 8] to 
target\classes
[WARNING] Attempt to (de-)serialize anonymous class 
org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  44.128 s
[INFO] Finished at: 2025-06-24T12:42:24Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile (default-compile) 
on project commons-net: Fatal error compiling: Could not retrieve version from 
${JDK_1_8_LATEST_HOME}/bin/javac. Exit code 1, Output: The system cannot find 
the path specified. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[JENKINS] Archiving 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/pom.xml> 
to commons-net/commons-net/3.12.0-SNAPSHOT/commons-net-3.12.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8

Reply via email to