Started by user Matthias Mueller [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/appNG Tomcat Session [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/appNG Tomcat Session/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/appNG/appng-tomcat-session.git # timeout=10 Fetching upstream changes from https://github.com/appNG/appng-tomcat-session.git > git --version # timeout=10 > git --version # 'git version 2.30.2' > git fetch --tags --force --progress -- https://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 e454c616ffda5ae12ce27b5f8c55e8a50f30b2d5 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f e454c616ffda5ae12ce27b5f8c55e8a50f30b2d5 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git branch -D master # timeout=10 > git checkout -b master e454c616ffda5ae12ce27b5f8c55e8a50f30b2d5 # timeout=10 Commit message: "- added flag alwaysStoreSession - check persistent store for excisting ID" > git rev-list --no-walk 8fdd1dfbdaca0a3d1e4d0f39c3e61d23bdc64d2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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/appNG Tomcat Session/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/appNG Tomcat Session/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/appNG Tomcat Session/target/classes [INFO] /var/lib/jenkins/workspace/appNG Tomcat Session/src/main/java/org/appng/tomcat/session/jdbc/SiteAwareJdbcStore.java: Some input files use or override a deprecated API. [INFO] /var/lib/jenkins/workspace/appNG Tomcat Session/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/appNG Tomcat Session/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.284 s [INFO] Finished at: 2022-08-25T09:53:40+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/appNG Tomcat Session/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