Console Output

Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[INFO] 
[INFO] ----< it.tidalwave.steelblue:it-tidalwave-steelblue-example-model >-----
[INFO] Building SteelBlue - Examples - Model 1.1-ALPHA-4-SNAPSHOT         [5/7]
[INFO]   from modules/examples/Model/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.4.0:clean (default-clean) @ it-tidalwave-steelblue-example-model ---
[INFO] 
[INFO] --- buildnumber:3.2.1:create (default) @ it-tidalwave-steelblue-example-model ---
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model
[INFO] Storing buildNumber: 3ab18bbdf1e6 at timestamp: 1734596124069
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model' && 'git' 'symbolic-ref' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model
[INFO] Storing scmBranch: UNKNOWN
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ it-tidalwave-steelblue-example-model ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ it-tidalwave-steelblue-example-model ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO] 
[INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ it-tidalwave-steelblue-example-model ---
[INFO] Executing tasks
[INFO]      [echo] DESCRIPTION: origin/master 1.1-ALPHA-4-SNAPSHOT 3ab18bbdf1e6
[INFO]      [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21
[INFO] Executed tasks
[INFO] 
[INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ it-tidalwave-steelblue-example-model ---
[INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/1/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model/target/jacoco.exec
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-steelblue-example-model ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model/src/main/resources
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ it-tidalwave-steelblue-example-model ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 5 source files with javac [forked debug deprecation release 21] to target/classes
[WARNING]   on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
/var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model/src/main/java/it/tidalwave/role/ui/example/model/SimpleDciEntity.java:[64,34] [this-escape] possible 'this' escape before subclass is fully initialized
[WARNING] /var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model/src/main/java/it/tidalwave/role/ui/example/model/FileEntity.java:[65,18] [serial] serializable class FileEntityFinder has no definition of serialVersionUID
[WARNING] /var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model/src/main/java/it/tidalwave/role/ui/example/model/FileEntity.java:[68,27] [serial] non-transient instance field of a serializable class declared with a non-serializable type
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-steelblue-example-model ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model/src/test/resources
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ it-tidalwave-steelblue-example-model ---
[INFO] No sources to compile
[INFO] 
[INFO] --- surefire:3.5.2:test (default-test) @ it-tidalwave-steelblue-example-model ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- jacoco:0.8.12:report (report) @ it-tidalwave-steelblue-example-model ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO] 
[INFO] --- jar:3.4.2:jar (default-jar) @ it-tidalwave-steelblue-example-model ---
[INFO] Building jar: /var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model/target/it-tidalwave-steelblue-example-model-1.1-ALPHA-4-SNAPSHOT.3ab18bbdf1e6.jar
[INFO] 
[INFO] --- jar:3.4.2:test-jar (default-test-jar) @ it-tidalwave-steelblue-example-model ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- install:3.1.3:install (default-install) @ it-tidalwave-steelblue-example-model ---
[INFO] Installing /var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model/pom.xml to /var/jenkins_home/maven-repositories/1/it/tidalwave/steelblue/it-tidalwave-steelblue-example-model/1.1-ALPHA-4-SNAPSHOT/it-tidalwave-steelblue-example-model-1.1-ALPHA-4-SNAPSHOT.pom
[INFO] Installing /var/jenkins_home/jobs/SteelBlue_Metrics_JDK_21_branches/workspace/modules/examples/Model/target/it-tidalwave-steelblue-example-model-1.1-ALPHA-4-SNAPSHOT.3ab18bbdf1e6.jar to /var/jenkins_home/maven-repositories/1/it/tidalwave/steelblue/it-tidalwave-steelblue-example-model/1.1-ALPHA-4-SNAPSHOT/it-tidalwave-steelblue-example-model-1.1-ALPHA-4-SNAPSHOT.jar
[INFO] 
[INFO] >>> spotbugs:4.8.6.6:check (default-cli) > :spotbugs @ it-tidalwave-steelblue-example-model >>>
[INFO] 
[INFO] --- spotbugs:4.8.6.6:spotbugs (spotbugs) @ it-tidalwave-steelblue-example-model ---
[INFO] Fork Value is true
[INFO] Done SpotBugs Analysis....
[INFO] 
[INFO] <<< spotbugs:4.8.6.6:check (default-cli) < :spotbugs @ it-tidalwave-steelblue-example-model <<<
[INFO] 
[INFO] 
[INFO] --- spotbugs:4.8.6.6:check (default-cli) @ it-tidalwave-steelblue-example-model ---
[INFO] BugInstance size is 6
[INFO] Error size is 0
[INFO] Total bugs: 6
[ERROR] Medium: Redundant nullcheck of this$path, which is known to be non-null in it.tidalwave.role.ui.example.model.FileEntity.equals(Object) [it.tidalwave.role.ui.example.model.FileEntity] Redundant null check at FileEntity.java:[line 61] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
[ERROR] Medium: Redundant nullcheck of $path, which is known to be non-null in it.tidalwave.role.ui.example.model.FileEntity.hashCode() [it.tidalwave.role.ui.example.model.FileEntity] Redundant null check at FileEntity.java:[line 61] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
[ERROR] Medium: Exception thrown in class it.tidalwave.role.ui.example.model.FileEntity$FileEntityFinder at new it.tidalwave.role.ui.example.model.FileEntity$FileEntityFinder(Path) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.role.ui.example.model.FileEntity$FileEntityFinder, it.tidalwave.role.ui.example.model.FileEntity$FileEntityFinder] At FileEntity.java:[line 64]At FileEntity.java:[line 64] CT_CONSTRUCTOR_THROW
[ERROR] Low: Class it.tidalwave.role.ui.example.model.FileEntity$FileEntityFinder defines non-transient non-serializable instance field path [it.tidalwave.role.ui.example.model.FileEntity$FileEntityFinder] In FileEntity.java SE_BAD_FIELD
[ERROR] Low: it.tidalwave.role.ui.example.model.FileEntity$FileEntityFinder is Serializable; consider declaring a serialVersionUID [it.tidalwave.role.ui.example.model.FileEntity$FileEntityFinder] At FileEntity.java:[lines 64-87] SE_NO_SERIALVERSIONID
[ERROR] Medium: Exception thrown in class it.tidalwave.role.ui.example.model.SimpleEntity at new it.tidalwave.role.ui.example.model.SimpleEntity(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.role.ui.example.model.SimpleEntity, it.tidalwave.role.ui.example.model.SimpleEntity] At SimpleEntity.java:[line 43]At SimpleEntity.java:[line 43] CT_CONSTRUCTOR_THROW
[INFO] 


To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui"



[INFO] 
[INFO] --- pmd:3.20.0:cpd (default-cli) @ it-tidalwave-steelblue-example-model ---
[WARNING]  Parameter 'aggregate' (user property 'aggregate') is deprecated: since 3.15.0 Use the goals <code>pmd:aggregate-pmd</code> and <code>pmd:aggregate-cpd</code>
instead.
[WARNING] Unable to locate Source XRef to link to - DISABLED
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] PMD version: 6.53.0
[INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin.
[INFO] 
[INFO] --- pmd:3.20.0:pmd (default-cli) @ it-tidalwave-steelblue-example-model ---
[WARNING]  Parameter 'aggregate' (user property 'aggregate') is deprecated: since 3.15.0 Use the goals <code>pmd:aggregate-pmd</code> and <code>pmd:aggregate-cpd</code>
instead.
[WARNING] Unable to locate Source XRef to link to - DISABLED
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] PMD version: 6.53.0
[JENKINS] Archiving disabled