Hi all,
looks like the master branch currently doesn't compile at all. Seems to be related to the latest commits for MicroProfile Config:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:02 min
[INFO] Finished at: 2022-06-18T10:32:28+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project microprofile-config: Compilation failure: Compilation failure:
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[43,25] cannot access io.helidon.common.NativeImageHelper
[ERROR] bad class file: /home/ck/.m2/repository/io/helidon/common/helidon-common/3.0.0-M2/helidon-common-3.0.0-M2.jar(/io/helidon/common/NativeImageHelper.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[44,25] cannot access io.helidon.config.ConfigException
[ERROR] bad class file: /home/ck/.m2/repository/io/helidon/config/helidon-config/3.0.0-M2/helidon-config-3.0.0-M2.jar(/io/helidon/config/ConfigException.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[45,28] cannot access io.helidon.config.mp.MpConfig
[ERROR] bad class file: /home/ck/.m2/repository/io/helidon/config/helidon-config-mp/3.0.0-M2/helidon-config-mp-3.0.0-M2.jar(/io/helidon/config/mp/MpConfig.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[102,33] cannot access io.helidon.microprofile.config.ConfigBeanDescriptor
[ERROR] bad class file: /home/ck/.m2/repository/io/helidon/microprofile/config/helidon-microprofile-config/3.0.0-M2/helidon-microprofile-config-3.0.0-M2.jar(/io/helidon/microprofile/config/ConfigBeanDescriptor.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[295,47] cannot access io.helidon.microprofile.config.FieldTypes
[ERROR] bad class file: /home/ck/.m2/repository/io/helidon/microprofile/config/helidon-microprofile-config/3.0.0-M2/helidon-microprofile-config-3.0.0-M2.jar(/io/helidon/microprofile/config/FieldTypes.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[84,67] cannot access io.helidon.microprofile.config.ConfigPropertyLiteral
[ERROR] bad class file: /home/ck/.m2/repository/io/helidon/microprofile/config/helidon-microprofile-config/3.0.0-M2/helidon-microprofile-config-3.0.0-M2.jar(/io/helidon/microprofile/config/ConfigPropertyLiteral.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[166,54] cannot access io.helidon.microprofile.config.SerializableConfig
[ERROR] bad class file: /home/ck/.m2/repository/io/helidon/microprofile/config/helidon-microprofile-config/3.0.0-M2/helidon-microprofile-config-3.0.0-M2.jar(/io/helidon/microprofile/config/SerializableConfig.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[170,45] cannot access io.helidon.config.Config
[ERROR] bad class file: /home/ck/.m2/repository/io/helidon/config/helidon-config/3.0.0-M2/helidon-config-3.0.0-M2.jar(/io/helidon/config/Config.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[177,32] cannot find symbol
[ERROR] symbol: variable MpConfig
[ERROR] location: class io.helidon.microprofile.config.ConfigCdiExtension
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[223,50] cannot find symbol
[ERROR] symbol: class ConfigException
[ERROR] location: class io.helidon.microprofile.config.ConfigCdiExtension
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[241,13] cannot find symbol
[ERROR] symbol: variable NativeImageHelper
[ERROR] location: class io.helidon.microprofile.config.ConfigCdiExtension
[ERROR] /home/ck/projects/mvc/glassfish/appserver/microprofile/config/src/main/java/io/helidon/microprofile/config/ConfigCdiExtension.java:[281,28] cannot access io.helidon.microprofile.config.DefaultConfigValue
[ERROR] bad class file: /home/ck/.m2/repository/io/helidon/microprofile/config/helidon-microprofile-config/3.0.0-M2/helidon-microprofile-config-3.0.0-M2.jar(/io/helidon/microprofile/config/DefaultConfigValue.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :microprofile-config
Jenkins is running into this error as well:
Christian