-
Bug
-
Resolution: Not a Bug
-
Critical
-
None
-
2.2.5.GA
-
None
-
False
-
None
-
False
-
---
1. Issue description
Quarkus 2.2.5 compilation is failing when using maven 3.8.5.
2. Work-Around :
It is working fine with maven 3.8.2
3. Relative Github Issue
https://githubhot.com/repo/quarkusio/quarkus/issues/24643
See the following here log trace
mvn com.redhat.quarkus.platform:quarkus-maven-plugin:2.2.5.Final-redhat-00007:create \
> -DprojectGroupId=org.acme \
> -DprojectArtifactId=getting-started \
> -DplatformGroupId=com.redhat.quarkus.platform \
> -DplatformVersion=2.2.5.Final-redhat-00007 \
> -DclassName="org.acme.quickstart.GreetingResource" \
> -Dpath="/hello"
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.apache.maven:standalone-pom >------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] -------------------------------[ pom ]--------------------------------
[INFO]
[INFO] — quarkus-maven-plugin:2.2.5.Final-redhat-00007:create (default-cli) @ standalone-pom —
[INFO] Looking for the newly published extensions in registry.quarkus.io
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.415 s
[INFO] Finished at: 2022-04-07T05:01:22-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.redhat.quarkus.platform:quarkus-maven-plugin:2.2.5.Final-redhat-00007:create (default-cli) on project standalone-pom: Execution default-cli of goal com.redhat.quarkus.platform:quarkus-maven-plugin:2.2.5.Final-redhat-00007:create failed: An API incompatibility was encountered while executing com.redhat.quarkus.platform:quarkus-maven-plugin:2.2.5.Final-redhat-00007:create: java.lang.NoSuchMethodError: 'org.apache.maven.model.profile.activation.FileProfileActivator org.apache.maven.model.profile.activation.FileProfileActivator.setPathTranslator(org.apache.maven.model.path.PathTranslator)'
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>com.redhat.quarkus.platform:quarkus-maven-plugin:2.2.5.Final-redhat-00007
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/quicklab/.m2/repository/com/redhat/quarkus/platform/quarkus-maven-plugin/2.2.5.Final-redhat-00007/quarkus-maven-plugin-2.2.5.Final-redhat-00007.jar
[ERROR] urls[1] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-bootstrap-core/2.2.5.Final-redhat-00010/quarkus-bootstrap-core-2.2.5.Final-redhat-00010.jar
[ERROR] urls[2] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-bootstrap-app-model/2.2.5.Final-redhat-00010/quarkus-bootstrap-app-model-2.2.5.Final-redhat-00010.jar
[ERROR] urls[3] = file:/home/quicklab/.m2/repository/org/jboss/logging/jboss-logging/3.4.2.Final-redhat-00002/jboss-logging-3.4.2.Final-redhat-00002.jar
[ERROR] urls[4] = file:/home/quicklab/.m2/repository/org/jboss/logging/commons-logging-jboss-logging/1.0.0.Final-redhat-1/commons-logging-jboss-logging-1.0.0.Final-redhat-1.jar
[ERROR] urls[5] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-bootstrap-maven-resolver/2.2.5.Final-redhat-00010/quarkus-bootstrap-maven-resolver-2.2.5.Final-redhat-00010.jar
[ERROR] urls[6] = file:/home/quicklab/.m2/repository/org/jboss/logmanager/jboss-logmanager-embedded/1.0.9.redhat-00002/jboss-logmanager-embedded-1.0.9.redhat-00002.jar
[ERROR] urls[7] = file:/home/quicklab/.m2/repository/org/apache/maven/maven-embedder/3.8.1/maven-embedder-3.8.1.jar
[ERROR] urls[8] = file:/home/quicklab/.m2/repository/commons-cli/commons-cli/1.4.0.redhat-00001/commons-cli-1.4.0.redhat-00001.jar
[ERROR] urls[9] = file:/home/quicklab/.m2/repository/org/apache/maven/resolver/maven-resolver-connector-basic/1.6.2/maven-resolver-connector-basic-1.6.2.jar
[ERROR] urls[10] = file:/home/quicklab/.m2/repository/org/apache/maven/resolver/maven-resolver-transport-wagon/1.6.2/maven-resolver-transport-wagon-1.6.2.jar
[ERROR] urls[11] = file:/home/quicklab/.m2/repository/org/apache/maven/wagon/wagon-http/3.4.3/wagon-http-3.4.3.jar
[ERROR] urls[12] = file:/home/quicklab/.m2/repository/org/apache/maven/wagon/wagon-http-shared/3.4.3/wagon-http-shared-3.4.3.jar
[ERROR] urls[13] = file:/home/quicklab/.m2/repository/org/jsoup/jsoup/1.12.1/jsoup-1.12.1.jar
[ERROR] urls[14] = file:/home/quicklab/.m2/repository/org/apache/httpcomponents/httpclient/4.5.13.redhat-00002/httpclient-4.5.13.redhat-00002.jar
[ERROR] urls[15] = file:/home/quicklab/.m2/repository/commons-codec/commons-codec/1.15.0.redhat-00001/commons-codec-1.15.0.redhat-00001.jar
[ERROR] urls[16] = file:/home/quicklab/.m2/repository/org/apache/httpcomponents/httpcore/4.4.14.redhat-00001/httpcore-4.4.14.redhat-00001.jar
[ERROR] urls[17] = file:/home/quicklab/.m2/repository/org/apache/maven/wagon/wagon-file/3.4.3/wagon-file-3.4.3.jar
[ERROR] urls[18] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-bootstrap-gradle-resolver/2.2.5.Final/quarkus-bootstrap-gradle-resolver-2.2.5.Final.jar
[ERROR] urls[19] = file:/home/quicklab/.m2/repository/io/smallrye/common/smallrye-common-io/1.6.0.redhat-00009/smallrye-common-io-1.6.0.redhat-00009.jar
[ERROR] urls[20] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-core-deployment/2.2.5.Final-redhat-00010/quarkus-core-deployment-2.2.5.Final-redhat-00010.jar
[ERROR] urls[21] = file:/home/quicklab/.m2/repository/org/aesh/readline/2.1.0.redhat-00001/readline-2.1.0.redhat-00001.jar
[ERROR] urls[22] = file:/home/quicklab/.m2/repository/org/apache/commons/commons-lang3/3.12.0.redhat-00001/commons-lang3-3.12.0.redhat-00001.jar
[ERROR] urls[23] = file:/home/quicklab/.m2/repository/org/wildfly/common/wildfly-common/1.5.4.Final-format-001-redhat-00001/wildfly-common-1.5.4.Final-format-001-redhat-00001.jar
[ERROR] urls[24] = file:/home/quicklab/.m2/repository/io/quarkus/gizmo/gizmo/1.0.9.Final-redhat-00001/gizmo-1.0.9.Final-redhat-00001.jar
[ERROR] urls[25] = file:/home/quicklab/.m2/repository/org/ow2/asm/asm-util/9.1/asm-util-9.1.jar
[ERROR] urls[26] = file:/home/quicklab/.m2/repository/org/ow2/asm/asm-tree/9.1.0.redhat-00001/asm-tree-9.1.0.redhat-00001.jar
[ERROR] urls[27] = file:/home/quicklab/.m2/repository/org/ow2/asm/asm-analysis/9.1.0.redhat-00001/asm-analysis-9.1.0.redhat-00001.jar
[ERROR] urls[28] = file:/home/quicklab/.m2/repository/org/jboss/jandex/2.3.1.Final-redhat-00001/jandex-2.3.1.Final-redhat-00001.jar
[ERROR] urls[29] = file:/home/quicklab/.m2/repository/org/ow2/asm/asm/9.1.0.redhat-00001/asm-9.1.0.redhat-00001.jar
[ERROR] urls[30] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-development-mode-spi/2.2.5.Final-redhat-00010/quarkus-development-mode-spi-2.2.5.Final-redhat-00010.jar
[ERROR] urls[31] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-class-change-agent/2.2.5.Final-redhat-00010/quarkus-class-change-agent-2.2.5.Final-redhat-00010.jar
[ERROR] urls[32] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-devtools-utilities/2.2.5.Final-redhat-00010/quarkus-devtools-utilities-2.2.5.Final-redhat-00010.jar
[ERROR] urls[33] = file:/home/quicklab/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.4/org.eclipse.sisu.inject-0.3.4.jar
[ERROR] urls[34] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-core/2.2.5.Final-redhat-00010/quarkus-core-2.2.5.Final-redhat-00010.jar
[ERROR] urls[35] = file:/home/quicklab/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5.redhat-00003/jakarta.annotation-api-1.3.5.redhat-00003.jar
[ERROR] urls[36] = file:/home/quicklab/.m2/repository/io/smallrye/config/smallrye-config/2.5.1.redhat-00001/smallrye-config-2.5.1.redhat-00001.jar
[ERROR] urls[37] = file:/home/quicklab/.m2/repository/io/smallrye/config/smallrye-config-core/2.5.1.redhat-00001/smallrye-config-core-2.5.1.redhat-00001.jar
[ERROR] urls[38] = file:/home/quicklab/.m2/repository/org/eclipse/microprofile/config/microprofile-config-api/2.0.0.redhat-00002/microprofile-config-api-2.0.0.redhat-00002.jar
[ERROR] urls[39] = file:/home/quicklab/.m2/repository/io/smallrye/common/smallrye-common-annotation/1.6.0.redhat-00009/smallrye-common-annotation-1.6.0.redhat-00009.jar
[ERROR] urls[40] = file:/home/quicklab/.m2/repository/io/smallrye/common/smallrye-common-expression/1.6.0.redhat-00009/smallrye-common-expression-1.6.0.redhat-00009.jar
[ERROR] urls[41] = file:/home/quicklab/.m2/repository/io/smallrye/common/smallrye-common-function/1.6.0.redhat-00009/smallrye-common-function-1.6.0.redhat-00009.jar
[ERROR] urls[42] = file:/home/quicklab/.m2/repository/io/smallrye/common/smallrye-common-constraint/1.6.0.redhat-00009/smallrye-common-constraint-1.6.0.redhat-00009.jar
[ERROR] urls[43] = file:/home/quicklab/.m2/repository/io/smallrye/common/smallrye-common-classloader/1.6.0.redhat-00009/smallrye-common-classloader-1.6.0.redhat-00009.jar
[ERROR] urls[44] = file:/home/quicklab/.m2/repository/io/smallrye/config/smallrye-config-common/2.5.1.redhat-00001/smallrye-config-common-2.5.1.redhat-00001.jar
[ERROR] urls[45] = file:/home/quicklab/.m2/repository/org/jboss/logging/jboss-logging-annotations/2.2.1.Final-redhat-00001/jboss-logging-annotations-2.2.1.Final-redhat-00001.jar
[ERROR] urls[46] = file:/home/quicklab/.m2/repository/org/jboss/threads/jboss-threads/3.4.2.Final-redhat-00001/jboss-threads-3.4.2.Final-redhat-00001.jar
[ERROR] urls[47] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-bootstrap-runner/2.2.5.Final-redhat-00010/quarkus-bootstrap-runner-2.2.5.Final-redhat-00010.jar
[ERROR] urls[48] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-builder/2.2.5.Final-redhat-00010/quarkus-builder-2.2.5.Final-redhat-00010.jar
[ERROR] urls[49] = file:/home/quicklab/.m2/repository/org/graalvm/sdk/graal-sdk/21.3.1.0-0-redhat-00001/graal-sdk-21.3.1.0-0-redhat-00001.jar
[ERROR] urls[50] = file:/home/quicklab/.m2/repository/org/junit/platform/junit-platform-launcher/1.7.2/junit-platform-launcher-1.7.2.jar
[ERROR] urls[51] = file:/home/quicklab/.m2/repository/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0.jar
[ERROR] urls[52] = file:/home/quicklab/.m2/repository/org/junit/platform/junit-platform-engine/1.7.2/junit-platform-engine-1.7.2.jar
[ERROR] urls[53] = file:/home/quicklab/.m2/repository/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar
[ERROR] urls[54] = file:/home/quicklab/.m2/repository/org/junit/platform/junit-platform-commons/1.7.2/junit-platform-commons-1.7.2.jar
[ERROR] urls[55] = file:/home/quicklab/.m2/repository/org/junit/jupiter/junit-jupiter/5.7.2/junit-jupiter-5.7.2.jar
[ERROR] urls[56] = file:/home/quicklab/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.7.2/junit-jupiter-api-5.7.2.jar
[ERROR] urls[57] = file:/home/quicklab/.m2/repository/org/junit/jupiter/junit-jupiter-params/5.7.2/junit-jupiter-params-5.7.2.jar
[ERROR] urls[58] = file:/home/quicklab/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.7.2/junit-jupiter-engine-5.7.2.jar
[ERROR] urls[59] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-project-core-extension-codestarts/2.2.5.Final/quarkus-project-core-extension-codestarts-2.2.5.Final.jar
[ERROR] urls[60] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-devtools-common/2.2.5.Final/quarkus-devtools-common-2.2.5.Final.jar
[ERROR] urls[61] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-devtools-registry-client/2.2.5.Final-redhat-00010/quarkus-devtools-registry-client-2.2.5.Final-redhat-00010.jar
[ERROR] urls[62] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-devtools-artifact-api/2.2.5.Final-redhat-00010/quarkus-devtools-artifact-api-2.2.5.Final-redhat-00010.jar
[ERROR] urls[63] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-devtools-message-writer/2.2.5.Final-redhat-00010/quarkus-devtools-message-writer-2.2.5.Final-redhat-00010.jar
[ERROR] urls[64] = file:/home/quicklab/.m2/repository/io/smallrye/common/smallrye-common-os/1.6.0.redhat-00009/smallrye-common-os-1.6.0.redhat-00009.jar
[ERROR] urls[65] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-devtools-base-codestarts/2.2.5.Final/quarkus-devtools-base-codestarts-2.2.5.Final.jar
[ERROR] urls[66] = file:/home/quicklab/.m2/repository/io/quarkus/quarkus-devtools-codestarts/2.2.5.Final/quarkus-devtools-codestarts-2.2.5.Final.jar
[ERROR] urls[67] = file:/home/quicklab/.m2/repository/io/quarkus/qute/qute-core/2.2.5.Final-redhat-00010/qute-core-2.2.5.Final-redhat-00010.jar
[ERROR] urls[68] = file:/home/quicklab/.m2/repository/io/smallrye/reactive/mutiny/1.0.0.redhat-00008/mutiny-1.0.0.redhat-00008.jar
[ERROR] urls[69] = file:/home/quicklab/.m2/repository/org/reactivestreams/reactive-streams/1.0.3.redhat-00003/reactive-streams-1.0.3.redhat-00003.jar
[ERROR] urls[70] = file:/home/quicklab/.m2/repository/commons-io/commons-io/2.11.0.redhat-00001/commons-io-2.11.0.redhat-00001.jar
[ERROR] urls[71] = file:/home/quicklab/.m2/repository/org/apache/commons/commons-compress/1.21.0.redhat-00001/commons-compress-1.21.0.redhat-00001.jar
[ERROR] urls[72] = file:/home/quicklab/.m2/repository/io/fabric8/maven-model-helper/18/maven-model-helper-18.jar
[ERROR] urls[73] = file:/home/quicklab/.m2/repository/org/jdom/jdom/1.1.3/jdom-1.1.3.jar
[ERROR] urls[74] = file:/home/quicklab/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.12.6.redhat-00001/jackson-dataformat-yaml-2.12.6.redhat-00001.jar
[ERROR] urls[75] = file:/home/quicklab/.m2/repository/org/yaml/snakeyaml/1.29.0.redhat-00001/snakeyaml-1.29.0.redhat-00001.jar
[ERROR] urls[76] = file:/home/quicklab/.m2/repository/org/codehaus/plexus/plexus-utils/3.2.1.redhat-00001/plexus-utils-3.2.1.redhat-00001.jar
[ERROR] urls[77] = file:/home/quicklab/.m2/repository/jakarta/inject/jakarta.inject-api/1.0.0.redhat-00002/jakarta.inject-api-1.0.0.redhat-00002.jar
[ERROR] urls[78] = file:/home/quicklab/.m2/repository/jakarta/enterprise/jakarta.enterprise.cdi-api/2.0.2.redhat-00004/jakarta.enterprise.cdi-api-2.0.2.redhat-00004.jar
[ERROR] urls[79] = file:/home/quicklab/.m2/repository/jakarta/el/jakarta.el-api/3.0.3.redhat-00002/jakarta.el-api-3.0.3.redhat-00002.jar
[ERROR] urls[80] = file:/home/quicklab/.m2/repository/jakarta/interceptor/jakarta.interceptor-api/1.2.5.redhat-00002/jakarta.interceptor-api-1.2.5.redhat-00002.jar
[ERROR] urls[81] = file:/home/quicklab/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.25/plexus-interpolation-1.25.jar
[ERROR] urls[82] = file:/home/quicklab/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar
[ERROR] urls[83] = file:/home/quicklab/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[84] = file:/home/quicklab/.m2/repository/org/apache/maven/maven-builder-support/3.8.1/maven-builder-support-3.8.1.jar
[ERROR] urls[85] = file:/home/quicklab/.m2/repository/org/apache/maven/resolver/maven-resolver-util/1.6.2/maven-resolver-util-1.6.2.jar
[ERROR] urls[86] = file:/home/quicklab/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.3.3/maven-shared-utils-3.3.3.jar
[ERROR] urls[87] = file:/home/quicklab/.m2/repository/com/google/inject/guice/4.2.1/guice-4.2.1-no_aop.jar
[ERROR] urls[88] = file:/home/quicklab/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[ERROR] urls[89] = file:/home/quicklab/.m2/repository/com/google/guava/guava/30.1.1.jre-redhat-00001/guava-30.1.1.jre-redhat-00001.jar
[ERROR] urls[90] = file:/home/quicklab/.m2/repository/com/google/guava/failureaccess/1.0.1.redhat-00001/failureaccess-1.0.1.redhat-00001.jar
[ERROR] urls[91] = file:/home/quicklab/.m2/repository/com/google/guava/listenablefuture/9999.0.0.empty-to-avoid-conflict-with-guava-redhat-00001/listenablefuture-9999.0.0.empty-to-avoid-conflict-with-guava-redhat-00001.jar
[ERROR] urls[92] = file:/home/quicklab/.m2/repository/com/google/errorprone/error_prone_annotations/2.2.0.redhat-00001/error_prone_annotations-2.2.0.redhat-00001.jar
[ERROR] urls[93] = file:/home/quicklab/.m2/repository/org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.jar
[ERROR] urls[94] = file:/home/quicklab/.m2/repository/org/apache/maven/shared/maven-artifact-transfer/0.10.0/maven-artifact-transfer-0.10.0.jar
[ERROR] urls[95] = file:/home/quicklab/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.jar
[ERROR] urls[96] = file:/home/quicklab/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[97] = file:/home/quicklab/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[98] = file:/home/quicklab/.m2/repository/org/freemarker/freemarker/2.3.31/freemarker-2.3.31.jar
[ERROR] urls[99] = file:/home/quicklab/.m2/repository/org/glassfish/jakarta.json/1.1.6.redhat-00003/jakarta.json-1.1.6.redhat-00003.jar
[ERROR] urls[100] = file:/home/quicklab/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.12.6.redhat-00001/jackson-databind-2.12.6.redhat-00001.jar
[ERROR] urls[101] = file:/home/quicklab/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.12.6.redhat-00001/jackson-annotations-2.12.6.redhat-00001.jar
[ERROR] urls[102] = file:/home/quicklab/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.12.6.redhat-00001/jackson-core-2.12.6.redhat-00001.jar
[ERROR] urls[103] = file:/home/quicklab/.m2/repository/org/twdata/maven/mojo-executor/2.3.1/mojo-executor-2.3.1.jar
[ERROR] urls[104] = file:/home/quicklab/.m2/repository/org/jboss/slf4j/slf4j-jboss-logmanager/1.1.0.Final-redhat-00001/slf4j-jboss-logmanager-1.1.0.Final-redhat-00001.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[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/PluginContainerException