Started by an SCM change [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/ATS [Pipeline] { [Pipeline] tool [Pipeline] stage [Pipeline] { (git clone) [Pipeline] git Selected Git installation does not exist. Using Default The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/ATS/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:appNG/appng-tomcat-session.git # timeout=10 Fetching upstream changes from git@github.com:appNG/appng-tomcat-session.git > git --version # timeout=10 > git --version # 'git version 2.30.2' > git fetch --tags --force --progress -- git@github.com:appNG/appng-tomcat-session.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 66de32158801197ee281c50d4af942b5cde40d4d (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 66de32158801197ee281c50d4af942b5cde40d4d # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git branch -D master # timeout=10 > git checkout -b master 66de32158801197ee281c50d4af942b5cde40d4d # timeout=10 Commit message: "extract a more generic approach" > git rev-list --no-walk 325610e290325ea49bc63dda95fc6bf016275c77 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Maven Build) [Pipeline] sh + /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn clean deploy [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.appng:appng-tomcat-session:jar:0.4.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 11, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] -------------------< org.appng:appng-tomcat-session >------------------- [INFO] Building appng-tomcat-session 0.4.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-tomcat-session --- [INFO] Deleting /var/lib/jenkins/workspace/ATS/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-tomcat-session --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/ATS/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ appng-tomcat-session --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 21 source files to /var/lib/jenkins/workspace/ATS/target/classes [INFO] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/jdbc/SiteAwareJdbcStore.java: Some input files use or override a deprecated API. [INFO] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/jdbc/SiteAwareJdbcStore.java: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/mongo/MongoSessionManager.java:[279,9] method does not override or implement a method from a supertype [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.997 s [INFO] Finished at: 2022-08-24T15:35:18+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project appng-tomcat-session: Compilation failure [ERROR] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/mongo/MongoSessionManager.java:[279,9] method does not override or implement a method from a supertype [ERROR] [ERROR] -> [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/MojoFailureException [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE