mvn cant clean install latest Version due to wrong class file version
See original GitHub issueHello,
Reproduce: Pull the latest che version (7.1.0) and “mvn clean install” in the che dir.
OS: Ubuntu 17.04
JDK: latest java-11-openjdk-amd64
Java --version: openjdk 11.0.4 2019-07-16
Javac --version: javac 11.0.4
Maven -version:
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 11.0.4, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "5.0.0-23-generic", arch: "amd64", family: "unix"
I also tried it with JDK-8, it does get the same type of error, just a few steps later. JDK-12 has the exact same error as JDK-11.
Do you think an older Maven Version could work? Or do you see any other mistakes? Thanks for your help.
Short Error Output of “mvn clean install”:
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ che-core-commons-annotations ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/patweb/customche/che/core/commons/che-core-commons-annotations/target/classes
/home/patweb/customche/che/core/commons/che-core-commons-annotations/src/main/java/org/eclipse/che/commons/annotation/Nullable.java:14: error: cannot access Retention
import java.lang.annotation.Retention;
^
bad class file: /modules/java.base/java/lang/annotation/Retention.class
class file has wrong version 55.0, should be 53.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Che Parent 7.0.0-rc-4.0:
[INFO]
[INFO] Che Parent ......................................... SUCCESS [ 2.014 s]
[INFO] Che Core Parent .................................... SUCCESS [ 0.055 s]
[INFO] Che Core :: Commons :: Parent ...................... SUCCESS [ 0.047 s]
[INFO] Che Core :: Commons :: Annotations ................. FAILURE [ 1.520 s]
[INFO] Che Core :: Commons :: Java API extension classes .. SKIPPED
.
.
and so on
.
.
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.349 s
[INFO] Finished at: 2019-08-15T20:28:54+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project che-core-commons-annotations: Compilation failure -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :che-core-commons-annotations
And here the whole Output:
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Che Parent [pom]
[INFO] Che Core Parent [pom]
[INFO] Che Core :: Commons :: Parent [pom]
[INFO] Che Core :: Commons :: Annotations [jar]
[INFO] Che Core :: Commons :: Java API extension classes [jar]
[INFO] Che Core :: API :: DTO [jar]
[INFO] Che Core :: Commons :: Json helpers [jar]
[INFO] Che Core :: Commons :: Utilities for tests [jar]
[INFO] Che Core :: Commons :: Dependency Injecting [jar]
[INFO] Che Core :: Commons :: Scheduler service [jar]
[INFO] Che Core :: API :: DTO Maven Plugin [maven-plugin]
[INFO] Che Core :: API :: Core [jar]
[INFO] Che Core :: Commons :: Auth [jar]
[INFO] Che Core :: Commons :: Commons Logback [jar]
[INFO] Che Core :: Commons :: XML [jar]
[INFO] Che Core :: Commons :: Commons J2ee [jar]
[INFO] Che Core :: Commons :: Mail sender [jar]
[INFO] Che Core :: Commons :: Tracing [jar]
[INFO] Che Core :: API :: TypeScript DTO maven plugin [maven-plugin]
[INFO] Che Core :: API :: Model [jar]
[INFO] Che Core :: DB [jar]
[INFO] Che Core :: DB :: Vendor H2 [jar]
[INFO] Che Core :: DB :: Vendor MySQL [jar]
[INFO] Che Core :: DB :: Vendor PostgreSQL [jar]
[INFO] Che Core :: Tracing :: Core [jar]
[INFO] Che Core :: Tracing :: Web [jar]
[INFO] Che Core :: Metrics :: Core [jar]
[INFO] Che Core :: Tracing :: Metrics [jar]
[INFO] Che Master Parent [pom]
[INFO] Che Core :: API :: Workspace :: Shared [jar]
[INFO] Che Core :: API :: Installer :: Shared [jar]
[INFO] Che Core :: SQL :: Schema [jar]
[INFO] Che Core :: API :: Installer [jar]
[INFO] Che Core :: API :: Authentication :: Shared [jar]
[INFO] Che Core :: API :: Authentication [jar]
[INFO] Che Core :: API :: Authentication Github [jar]
[INFO] Che Core :: API :: Project Templates :: Shared [jar]
[INFO] Che Core :: API :: Project Templates [jar]
[INFO] Che Core :: API :: Account [jar]
[INFO] Che Core :: API :: System Shared [jar]
[INFO] Che Core :: API :: System [jar]
[INFO] Che Core :: API :: SSH :: Shared [jar]
[INFO] Che Core :: API :: User :: Shared [jar]
[INFO] Che Core :: API :: User [jar]
[INFO] Che Core :: API :: SSH [jar]
[INFO] Che Core :: API :: Workspace [jar]
[INFO] Che Multiuser :: Parent [pom]
[INFO] Che Multiuser :: API Parent [pom]
[INFO] Che Multiuser :: Permissions :: Shared [jar]
[INFO] Che Multiuser :: Sql Schema [jar]
[INFO] Che Multiuser :: Permissions API [jar]
[INFO] Che Multiuser :: Permissions Parent [pom]
[INFO] Che Multiuser :: Workspace Permissions [jar]
[INFO] Che Core :: Workspace Activity [jar]
[INFO] Che Core :: API :: Factory :: Shared [jar]
[INFO] Che Infrastructures Parent [pom]
[INFO] Infrastructure :: Docker :: Parent [pom]
[INFO] Infrastructure :: Docker :: Docker Auth [jar]
[INFO] Infrastructure :: Docker :: Environment [jar]
[INFO] Che Multiuser :: API :: Authorization [jar]
[INFO] Che Multiuser :: Machine Auth Parent [pom]
[INFO] Che Multiuser :: Machine Authentication Shared [jar]
[INFO] Che Multiuser :: Machine Authentication [jar]
[INFO] Infrastructure :: Kubernetes [jar]
[INFO] Che Core :: API :: Factory [jar]
[INFO] Che Core :: API :: Factory Resolver Github [jar]
[INFO] Che Core :: API :: Impl Local [jar]
[INFO] Integration Tests :: Parent [pom]
[INFO] Integration Tests :: Cascade Removal [jar]
[INFO] Che Core :: API :: Logger :: Shared [jar]
[INFO] Che Core :: API :: Logger [jar]
[INFO] Che Core :: API :: Metrics [jar]
[INFO] Che Multiuser :: API :: Authorization Impl [jar]
[INFO] Che Multiuser :: Resource :: Shared [jar]
[INFO] Che Multiuser :: Resource [jar]
[INFO] Che Multiuser :: Organization :: Shared [jar]
[INFO] Che Multiuser :: Organization [jar]
[INFO] Che Multiuser :: JGroups API Implementation [jar]
[INFO] Che Multiuser :: Workspace Activity [jar]
[INFO] Che Multiuser :: User Permissions [jar]
[INFO] Che Multiuser :: Devfile Permissions [jar]
[INFO] Che Multiuser :: Workspace Activity Permissions [jar]
[INFO] Che Multiuser :: Factory Permissions [jar]
[INFO] Che Multiuser :: System Permissions [jar]
[INFO] Che Multiuser :: Installer Permissions [jar]
[INFO] Che Multiuser :: Resource :: Permissions [jar]
[INFO] Che Multiuser :: Logger Permissions [jar]
[INFO] Che Multiuser :: Kubernetes Infrastructure Permissions [jar]
[INFO] Che Multiuser :: Keycloak Integration Parent [pom]
[INFO] Che Multiuser :: Keycloak Shared module [jar]
[INFO] Che Multiuser :: Personal account [jar]
[INFO] Che Multiuser :: Keycloak Server [jar]
[INFO] Che Multiuser :: Keycloak Token Provider [jar]
[INFO] Che Multiuser :: Machine Authentication Agent [jar]
[INFO] Che Multiuser :: Integration Tests [pom]
[INFO] Che Multiuser :: Integration Cascade [jar]
[INFO] Che Multiuser :: PostgreSQL Tck [jar]
[INFO] Che Multiuser :: MYSQL Tck Tests [jar]
[INFO] Infrastructure :: Docker :: Docker Client [jar]
[INFO] Infrastructure :: Docker [jar]
[INFO] Infrastructure :: OpenShift [jar]
[INFO] Che Dashboard :: Web App [war]
[INFO] Che Workspace Loader :: Web App [pom]
[INFO] Che IDE :: Parent [pom]
[INFO] Che IDE :: Compiling WS Master WAR [war]
[INFO] Che IDE :: War Packaging [war]
[INFO] Che Workspace Loader :: War Packaging [war]
[INFO] Che IDE :: Assemblies Tomcat [pom]
[INFO] Che Selenium :: Parent [pom]
[INFO] Che Selenium :: Core [jar]
[INFO] Che Selenium :: Test [jar]
[INFO]
[INFO] ---------------------< org.eclipse.che:che-parent >---------------------
[INFO] Building Che Parent 7.1.0-SNAPSHOT [1/111]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ che-parent ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.9.1:parse-version (parse-version) @ che-parent ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ che-parent ---
[INFO] Executing: /bin/sh -c cd /home/patweb/che7/che && git rev-parse --verify HEAD
[INFO] Working directory: /home/patweb/che7/che
[INFO] Storing buildNumber: d9b01bc01d40ee9e562ce2fcbfac080062fc57b8 at timestamp: 20190815
[INFO] Storing buildScmBranch: master
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java-version) @ che-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ che-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (distribution-management-used) @ che-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (no-distribution-management-at-all) @ che-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (dependency) @ che-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-bad-dependencies) @ che-parent ---
[INFO]
[INFO] --- maven-sortpom-plugin:2.3.0:verify (default) @ che-parent ---
[INFO] Verifying file /home/patweb/che7/che/pom.xml
[INFO]
[INFO] --- fmt-maven-plugin:2.5.1:check (default) @ che-parent ---
[WARNING] Source directory '/home/patweb/che7/che/src/main/java' does not exist, ignoring.
[WARNING] Test source directory '/home/patweb/che7/che/src/test/java' does not exist, ignoring.
[INFO] Processed 0 files (0 non-complying).
[INFO]
[INFO] --- license-maven-plugin:3.0:check (check-headers) @ che-parent ---
[INFO] Checking licenses...
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ che-parent ---
[INFO]
[INFO] --- maven-dependency-plugin:3.0.1:analyze-only (analyze) @ che-parent ---
[INFO] Skipping pom project
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ che-parent ---
[INFO] Installing /home/patweb/che7/che/pom.xml to /home/patweb/.m2/repository/org/eclipse/che/che-parent/7.1.0-SNAPSHOT/che-parent-7.1.0-SNAPSHOT.pom
[INFO]
[INFO] ----------------< org.eclipse.che.core:che-core-parent >----------------
[INFO] Building Che Core Parent 7.1.0-SNAPSHOT [2/111]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ che-core-parent ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.9.1:parse-version (parse-version) @ che-core-parent ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ che-core-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java-version) @ che-core-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ che-core-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (distribution-management-used) @ che-core-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (no-distribution-management-at-all) @ che-core-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (dependency) @ che-core-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-bad-dependencies) @ che-core-parent ---
[INFO]
[INFO] --- maven-sortpom-plugin:2.3.0:verify (default) @ che-core-parent ---
[INFO] Verifying file /home/patweb/che7/che/core/pom.xml
[INFO]
[INFO] --- fmt-maven-plugin:2.5.1:check (default) @ che-core-parent ---
[WARNING] Source directory '/home/patweb/che7/che/core/src/main/java' does not exist, ignoring.
[WARNING] Test source directory '/home/patweb/che7/che/core/src/test/java' does not exist, ignoring.
[INFO] Processed 0 files (0 non-complying).
[INFO]
[INFO] --- license-maven-plugin:3.0:check (check-headers) @ che-core-parent ---
[INFO] Checking licenses...
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ che-core-parent ---
[INFO]
[INFO] --- maven-dependency-plugin:3.0.1:analyze-only (analyze) @ che-core-parent ---
[INFO] Skipping pom project
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ che-core-parent ---
[INFO] Installing /home/patweb/che7/che/core/pom.xml to /home/patweb/.m2/repository/org/eclipse/che/core/che-core-parent/7.1.0-SNAPSHOT/che-core-parent-7.1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------< org.eclipse.che.core:che-core-commons-parent >------------
[INFO] Building Che Core :: Commons :: Parent 7.1.0-SNAPSHOT [3/111]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ che-core-commons-parent ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.9.1:parse-version (parse-version) @ che-core-commons-parent ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ che-core-commons-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java-version) @ che-core-commons-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ che-core-commons-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (distribution-management-used) @ che-core-commons-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (no-distribution-management-at-all) @ che-core-commons-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (dependency) @ che-core-commons-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-bad-dependencies) @ che-core-commons-parent ---
[INFO]
[INFO] --- maven-sortpom-plugin:2.3.0:verify (default) @ che-core-commons-parent ---
[INFO] Verifying file /home/patweb/che7/che/core/commons/pom.xml
[INFO]
[INFO] --- fmt-maven-plugin:2.5.1:check (default) @ che-core-commons-parent ---
[WARNING] Source directory '/home/patweb/che7/che/core/commons/src/main/java' does not exist, ignoring.
[WARNING] Test source directory '/home/patweb/che7/che/core/commons/src/test/java' does not exist, ignoring.
[INFO] Processed 0 files (0 non-complying).
[INFO]
[INFO] --- license-maven-plugin:3.0:check (check-headers) @ che-core-commons-parent ---
[INFO] Checking licenses...
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ che-core-commons-parent ---
[INFO]
[INFO] --- maven-dependency-plugin:3.0.1:analyze-only (analyze) @ che-core-commons-parent ---
[INFO] Skipping pom project
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ che-core-commons-parent ---
[INFO] Installing /home/patweb/che7/che/core/commons/pom.xml to /home/patweb/.m2/repository/org/eclipse/che/core/che-core-commons-parent/7.1.0-SNAPSHOT/che-core-commons-parent-7.1.0-SNAPSHOT.pom
[INFO]
[INFO] ---------< org.eclipse.che.core:che-core-commons-annotations >----------
[INFO] Building Che Core :: Commons :: Annotations 7.1.0-SNAPSHOT [4/111]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ che-core-commons-annotations ---
[INFO] Deleting /home/patweb/che7/che/core/commons/che-core-commons-annotations/target
[INFO]
[INFO] --- build-helper-maven-plugin:1.9.1:parse-version (parse-version) @ che-core-commons-annotations ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ che-core-commons-annotations ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java-version) @ che-core-commons-annotations ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ che-core-commons-annotations ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (distribution-management-used) @ che-core-commons-annotations ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (no-distribution-management-at-all) @ che-core-commons-annotations ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (dependency) @ che-core-commons-annotations ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-bad-dependencies) @ che-core-commons-annotations ---
[INFO]
[INFO] --- maven-sortpom-plugin:2.3.0:verify (default) @ che-core-commons-annotations ---
[INFO] Verifying file /home/patweb/che7/che/core/commons/che-core-commons-annotations/pom.xml
[INFO]
[INFO] --- fmt-maven-plugin:2.5.1:check (default) @ che-core-commons-annotations ---
[WARNING] Test source directory '/home/patweb/che7/che/core/commons/che-core-commons-annotations/src/test/java' does not exist, ignoring.
[INFO] Processed 2 files (0 non-complying).
[INFO]
[INFO] --- license-maven-plugin:3.0:check (check-headers) @ che-core-commons-annotations ---
[INFO] Checking licenses...
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ che-core-commons-annotations ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/patweb/che7/che/core/commons/che-core-commons-annotations/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ che-core-commons-annotations ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/patweb/che7/che/core/commons/che-core-commons-annotations/target/classes
/home/patweb/che7/che/core/commons/che-core-commons-annotations/src/main/java/org/eclipse/che/commons/annotation/Nullable.java:14: error: cannot access Retention
import java.lang.annotation.Retention;
^
bad class file: /modules/java.base/java/lang/annotation/Retention.class
class file has wrong version 55.0, should be 53.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Che Parent 7.1.0-SNAPSHOT:
[INFO]
[INFO] Che Parent ......................................... SUCCESS [ 2.425 s]
[INFO] Che Core Parent .................................... SUCCESS [ 0.061 s]
[INFO] Che Core :: Commons :: Parent ...................... SUCCESS [ 0.064 s]
[INFO] Che Core :: Commons :: Annotations ................. FAILURE [ 1.601 s]
[INFO] Che Core :: Commons :: Java API extension classes .. SKIPPED
[INFO] Che Core :: API :: DTO ............................. SKIPPED
[INFO] Che Core :: Commons :: Json helpers ................ SKIPPED
[INFO] Che Core :: Commons :: Utilities for tests ......... SKIPPED
[INFO] Che Core :: Commons :: Dependency Injecting ........ SKIPPED
[INFO] Che Core :: Commons :: Scheduler service ........... SKIPPED
[INFO] Che Core :: API :: DTO Maven Plugin ................ SKIPPED
[INFO] Che Core :: API :: Core ............................ SKIPPED
[INFO] Che Core :: Commons :: Auth ........................ SKIPPED
[INFO] Che Core :: Commons :: Commons Logback ............. SKIPPED
[INFO] Che Core :: Commons :: XML ......................... SKIPPED
[INFO] Che Core :: Commons :: Commons J2ee ................ SKIPPED
[INFO] Che Core :: Commons :: Mail sender ................. SKIPPED
[INFO] Che Core :: Commons :: Tracing ..................... SKIPPED
[INFO] Che Core :: API :: TypeScript DTO maven plugin ..... SKIPPED
[INFO] Che Core :: API :: Model ........................... SKIPPED
[INFO] Che Core :: DB ..................................... SKIPPED
[INFO] Che Core :: DB :: Vendor H2 ........................ SKIPPED
[INFO] Che Core :: DB :: Vendor MySQL ..................... SKIPPED
[INFO] Che Core :: DB :: Vendor PostgreSQL ................ SKIPPED
[INFO] Che Core :: Tracing :: Core ........................ SKIPPED
[INFO] Che Core :: Tracing :: Web ......................... SKIPPED
[INFO] Che Core :: Metrics :: Core ........................ SKIPPED
[INFO] Che Core :: Tracing :: Metrics ..................... SKIPPED
[INFO] Che Master Parent .................................. SKIPPED
[INFO] Che Core :: API :: Workspace :: Shared ............. SKIPPED
[INFO] Che Core :: API :: Installer :: Shared ............. SKIPPED
[INFO] Che Core :: SQL :: Schema .......................... SKIPPED
[INFO] Che Core :: API :: Installer ....................... SKIPPED
[INFO] Che Core :: API :: Authentication :: Shared ........ SKIPPED
[INFO] Che Core :: API :: Authentication .................. SKIPPED
[INFO] Che Core :: API :: Authentication Github ........... SKIPPED
[INFO] Che Core :: API :: Project Templates :: Shared ..... SKIPPED
[INFO] Che Core :: API :: Project Templates ............... SKIPPED
[INFO] Che Core :: API :: Account ......................... SKIPPED
[INFO] Che Core :: API :: System Shared ................... SKIPPED
[INFO] Che Core :: API :: System .......................... SKIPPED
[INFO] Che Core :: API :: SSH :: Shared ................... SKIPPED
[INFO] Che Core :: API :: User :: Shared .................. SKIPPED
[INFO] Che Core :: API :: User ............................ SKIPPED
[INFO] Che Core :: API :: SSH ............................. SKIPPED
[INFO] Che Core :: API :: Workspace ....................... SKIPPED
[INFO] Che Multiuser :: Parent ............................ SKIPPED
[INFO] Che Multiuser :: API Parent ........................ SKIPPED
[INFO] Che Multiuser :: Permissions :: Shared ............. SKIPPED
[INFO] Che Multiuser :: Sql Schema ........................ SKIPPED
[INFO] Che Multiuser :: Permissions API ................... SKIPPED
[INFO] Che Multiuser :: Permissions Parent ................ SKIPPED
[INFO] Che Multiuser :: Workspace Permissions ............. SKIPPED
[INFO] Che Core :: Workspace Activity ..................... SKIPPED
[INFO] Che Core :: API :: Factory :: Shared ............... SKIPPED
[INFO] Che Infrastructures Parent ......................... SKIPPED
[INFO] Infrastructure :: Docker :: Parent ................. SKIPPED
[INFO] Infrastructure :: Docker :: Docker Auth ............ SKIPPED
[INFO] Infrastructure :: Docker :: Environment ............ SKIPPED
[INFO] Che Multiuser :: API :: Authorization .............. SKIPPED
[INFO] Che Multiuser :: Machine Auth Parent ............... SKIPPED
[INFO] Che Multiuser :: Machine Authentication Shared ..... SKIPPED
[INFO] Che Multiuser :: Machine Authentication ............ SKIPPED
[INFO] Infrastructure :: Kubernetes ....................... SKIPPED
[INFO] Che Core :: API :: Factory ......................... SKIPPED
[INFO] Che Core :: API :: Factory Resolver Github ......... SKIPPED
[INFO] Che Core :: API :: Impl Local ...................... SKIPPED
[INFO] Integration Tests :: Parent ........................ SKIPPED
[INFO] Integration Tests :: Cascade Removal ............... SKIPPED
[INFO] Che Core :: API :: Logger :: Shared ................ SKIPPED
[INFO] Che Core :: API :: Logger .......................... SKIPPED
[INFO] Che Core :: API :: Metrics ......................... SKIPPED
[INFO] Che Multiuser :: API :: Authorization Impl ......... SKIPPED
[INFO] Che Multiuser :: Resource :: Shared ................ SKIPPED
[INFO] Che Multiuser :: Resource .......................... SKIPPED
[INFO] Che Multiuser :: Organization :: Shared ............ SKIPPED
[INFO] Che Multiuser :: Organization ...................... SKIPPED
[INFO] Che Multiuser :: JGroups API Implementation ........ SKIPPED
[INFO] Che Multiuser :: Workspace Activity ................ SKIPPED
[INFO] Che Multiuser :: User Permissions .................. SKIPPED
[INFO] Che Multiuser :: Devfile Permissions ............... SKIPPED
[INFO] Che Multiuser :: Workspace Activity Permissions .... SKIPPED
[INFO] Che Multiuser :: Factory Permissions ............... SKIPPED
[INFO] Che Multiuser :: System Permissions ................ SKIPPED
[INFO] Che Multiuser :: Installer Permissions ............. SKIPPED
[INFO] Che Multiuser :: Resource :: Permissions ........... SKIPPED
[INFO] Che Multiuser :: Logger Permissions ................ SKIPPED
[INFO] Che Multiuser :: Kubernetes Infrastructure Permissions SKIPPED
[INFO] Che Multiuser :: Keycloak Integration Parent ....... SKIPPED
[INFO] Che Multiuser :: Keycloak Shared module ............ SKIPPED
[INFO] Che Multiuser :: Personal account .................. SKIPPED
[INFO] Che Multiuser :: Keycloak Server ................... SKIPPED
[INFO] Che Multiuser :: Keycloak Token Provider ........... SKIPPED
[INFO] Che Multiuser :: Machine Authentication Agent ...... SKIPPED
[INFO] Che Multiuser :: Integration Tests ................. SKIPPED
[INFO] Che Multiuser :: Integration Cascade ............... SKIPPED
[INFO] Che Multiuser :: PostgreSQL Tck .................... SKIPPED
[INFO] Che Multiuser :: MYSQL Tck Tests ................... SKIPPED
[INFO] Infrastructure :: Docker :: Docker Client .......... SKIPPED
[INFO] Infrastructure :: Docker ........................... SKIPPED
[INFO] Infrastructure :: OpenShift ........................ SKIPPED
[INFO] Che Dashboard :: Web App ........................... SKIPPED
[INFO] Che Workspace Loader :: Web App .................... SKIPPED
[INFO] Che IDE :: Parent .................................. SKIPPED
[INFO] Che IDE :: Compiling WS Master WAR ................. SKIPPED
[INFO] Che IDE :: War Packaging ........................... SKIPPED
[INFO] Che Workspace Loader :: War Packaging .............. SKIPPED
[INFO] Che IDE :: Assemblies Tomcat ....................... SKIPPED
[INFO] Che Selenium :: Parent ............................. SKIPPED
[INFO] Che Selenium :: Core ............................... SKIPPED
[INFO] Che Selenium :: Test ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.979 s
[INFO] Finished at: 2019-08-15T17:01:10+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project che-core-commons-annotations: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project che-core-commons-annotations: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1165)
at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:168)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR]
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :che-core-commons-annotations
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
mvn clean install do not use last .class version - Stack Overflow
It appears that the old code is still present somewhere; my guess would be your local repository. Try deleting any entry there that...
Read more >mvn clean install - a short guide to Maven - Marco Behler
You are using the clean command, which will delete all previously compiled Java .class files and resources (like .properties) in your ...
Read more >IntelliJ Maven Project defaults to incorrect dependency versions
My maven pom specifies to use a particular version of each dependency. My project builds properly from the command line (using mvn clean...
Read more >Building applications with Maven - Quarkus
For more information about how to install the Quarkus CLI and use it, please refer ... It can also accept a version range,...
Read more >Maven Getting Started Guide
lock down plugins versions to avoid using Maven defaults (may be moved to parent ... From a clean installation of Maven, this can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That is an expected issue with che and java >8. You can try to build che but you have to build this branch https://github.com/eclipse/che-parent/tree/java11 first. However, work still in progress. I was not able to start Che on java 11 successfully yet.
Issues go stale after
180
days of inactivity.lifecycle/stale
issues rot after an additional7
days of inactivity and eventually close.Mark the issue as fresh with
/remove-lifecycle stale
in a new comment.If this issue is safe to close now please do so.
Moderators: Add
lifecycle/frozen
label to avoid stale mode.