Skip to content

Console Output

+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn clean deploy -DoutFolder=/srv/www/appng.org/appng/builds/stable -Pmaven-central
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] 
[INFO] ---------------------< org.appng:appng-scheduler >----------------------
[INFO] Building Scheduler 1.17.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-scheduler ---
[INFO] 
[INFO] --- openapi-generator-maven-plugin:5.3.0:generate (rest-api) @ appng-scheduler ---
[INFO] Generating with dryRun=false
[INFO] Output directory (/var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi) does not exist, or is inaccessible. No file (.openapi-generator-ignore) will be evaluated.
[INFO] OpenAPI Generator: spring (server)
[INFO] Generator 'spring' is considered stable.
[INFO] ----------------------------------
[WARNING] java8 option has been deprecated as it's set to true by default (JDK7 support has been deprecated)
[INFO] Set base package to invoker package (org.appng.scheduler.openapi.invoke)
[INFO] Environment variable JAVA_POST_PROCESS_FILE not defined so the Java code may not be properly formatted. To define it, try 'export JAVA_POST_PROCESS_FILE="/usr/local/bin/clang-format -i"' (Linux/Mac)
[INFO] NOTE: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
[INFO] Processing operation getJobState
[INFO] Processing operation getJobs
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/Job.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/JobRecord.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/JobState.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/Jobs.java
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/JobStateApi.java
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/pom.xml
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/README.md
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/ApiUtil.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/.openapi-generator-ignore
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/.openapi-generator/VERSION
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/.openapi-generator/FILES
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project 🙏                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-scheduler ---
[INFO] Source directory: /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/constants added.
[INFO] Source directory: /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java added.
[INFO] 
[INFO] --- appng-maven-plugin:1.25.0:generateApplicationConstants (applicationConstants) @ appng-scheduler ---
[INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/application-home/application.xml, org.appng.application.scheduler.PropertyConstants, /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/constants]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.650 s
[INFO] Finished at: 2023-04-26T14:18:34+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.appng:appng-maven-plugin:1.25.0:generateApplicationConstants (applicationConstants) on project appng-scheduler: Execution applicationConstants of goal org.appng:appng-maven-plugin:1.25.0:generateApplicationConstants failed: An API incompatibility was encountered while executing org.appng:appng-maven-plugin:1.25.0:generateApplicationConstants: java.lang.ExceptionInInitializerError: null
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.appng:appng-maven-plugin:1.25.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/var/lib/jenkins/.m2/repository/org/appng/appng-maven-plugin/1.25.0/appng-maven-plugin-1.25.0.jar
[ERROR] urls[1] = file:/var/lib/jenkins/.m2/repository/org/appng/appng-xmlapi/1.25.0/appng-xmlapi-1.25.0.jar
[ERROR] urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-log4j12/1.7.26/slf4j-log4j12-1.7.26.jar
[ERROR] urls[3] = file:/var/lib/jenkins/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
[ERROR] urls[4] = file:/var/lib/jenkins/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar
[ERROR] urls[5] = file:/var/lib/jenkins/.m2/repository/net/sf/saxon/Saxon-HE/10.6/Saxon-HE-10.6.jar
[ERROR] urls[6] = file:/var/lib/jenkins/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar
[ERROR] urls[7] = file:/var/lib/jenkins/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar
[ERROR] urls[8] = file:/var/lib/jenkins/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
[ERROR] urls[9] = file:/var/lib/jenkins/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
[ERROR] urls[10] = file:/var/lib/jenkins/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
[ERROR] urls[11] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
[ERROR] urls[12] = file:/var/lib/jenkins/.m2/repository/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar
[ERROR] urls[13] = file:/var/lib/jenkins/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar
[ERROR] urls[14] = file:/var/lib/jenkins/.m2/repository/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
[ERROR] urls[15] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
[ERROR] urls[16] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/3.1.0/plexus-utils-3.1.0.jar
[ERROR] urls[17] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
[ERROR] urls[18] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[19] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[20] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[project>org.appng:appng-scheduler:1.17.0, parent: ClassRealm[maven.api, parent: null]]]
[ERROR] 
[ERROR] -----------------------------------------------------
[ERROR] : error while creating JAXBContext for path 'org.appng.xml.platform'
[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/PluginContainerException