Build failed in Jenkins: spring-extensions-v7 » Spring Framework Extension #36
Shibboleth Jenkins
noreply at shibboleth.net
Fri Jul 22 15:28:56 UTC 2022
See <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/36/display/redirect?page=changes>
Changes:
[Rod Widdowson] JSPT-108 ServiceableComponent should implement AutoClose
------------------------------------------
Established TCP socket on 44985
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
<===[JENKINS REMOTING CAPACITY]===> channel started
Executing Maven: -B -f <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/ws/pom.xml> -V -B --update-snapshots -Dno-check-m2 clean install
[1mApache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)[m
Maven home: /efs/optjava/maven/apache-maven-3.8.4
Java version: 17.0.4, vendor: Amazon.com Inc., runtime: /efs/optjava/jdk/amazon/amazon-corretto-17.0.4.8.1-linux-x64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-1160.66.1.el7.x86_64", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml (601 B at 1.6 kB/s)
[INFO]
[INFO] ----------------< net.shibboleth.ext:spring-extensions >----------------
[INFO] Building Spring Framework Extension 7.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/maven/snapshots/net/shibboleth/utilities/java-support/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/utilities/java-support/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/maven/snapshots/net/shibboleth/utilities/java-support/9.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 127 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ spring-extensions ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ spring-extensions ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ spring-extensions ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ spring-extensions ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 90 source files to <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/ws/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/ws/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java>: <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/ws/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java> uses or overrides a deprecated API.
[INFO] <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/ws/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java>: Recompile with -Xlint:deprecation for details.
[INFO] <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/ws/src/main/java/net/shibboleth/ext/spring/service/ClassBasedServiceStrategy.java>: <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/ws/src/main/java/net/shibboleth/ext/spring/service/ClassBasedServiceStrategy.java> uses unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/ws/src/main/java/net/shibboleth/ext/spring/service/ClassBasedServiceStrategy.java>: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/ws/src/main/java/net/shibboleth/ext/spring/factory/ProxiedFactoryBean.java>:[115,61] incompatible types: try-with-resources not applicable to variable type
(net.shibboleth.utilities.java.support.service.ServiceableComponent<org.springframework.context.ApplicationContext> cannot be converted to java.lang.AutoCloseable)
[ERROR] <http://127.0.0.1:1583/jenkins/job/spring-extensions-v7/net.shibboleth.ext$spring-extensions/ws/src/main/java/net/shibboleth/ext/spring/config/ReloadableScope.java>:[63,61] incompatible types: try-with-resources not applicable to variable type
(net.shibboleth.utilities.java.support.service.ServiceableComponent<org.springframework.context.ApplicationContext> cannot be converted to java.lang.AutoCloseable)
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
More information about the commits
mailing list