-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
The goal 'package' failed with an error, and it seems upgrading io.thorntail:thorntail-maven-plugin to version 2.4.0.Final solves the problem.
It needs to be fixed in your repo other than locally, since the ansible playbook will always try to clone the latest code online.
As a workaround, I can bypass this issue by downgrade my Maven version to 3.5.4
See their commit solving this problem to get more information:
thorntail/thorntail@c17aade
Appendix, the maven output:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.708 s
[INFO] Finished at: 2019-04-15T11:12:25+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.thorntail:thorntail-maven-plugin:2.2.0.Final:package (default) on project hola: Execution default of goal io.thorntail:thorntail-maven-plugin:2.2.0.Final:package failed: An API incompatibility was encountered while executing io.thorntail:thorntail-maven-plugin:2.2.0.Final:package: java.lang.AbstractMethodError: Receiver class org.wildfly.swarm.plugin.maven.RepositorySystemSessionWrapper does not define or inherit an implementation of the resolved method abstract getFileTransformerManager()Lorg/eclipse/aether/transform/FileTransformerManager; of interface org.eclipse.aether.RepositorySystemSession.
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>io.thorntail:thorntail-maven-plugin:2.2.0.Final
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/username/.m2/repository/io/thorntail/thorntail-maven-plugin/2.2.0.Final/thorntail-maven-plugin-2.2.0.Final.jar
[ERROR] urls[1] = file:/Users/username/.m2/repository/io/thorntail/fraction-metadata/2.2.0.Final/fraction-metadata-2.2.0.Final.jar
[ERROR] urls[2] = file:/Users/username/.m2/repository/io/thorntail/meta-spi/2.2.0.Final/meta-spi-2.2.0.Final.jar
[ERROR] urls[3] = file:/Users/username/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-impl-javaee/2.0.0/shrinkwrap-descriptors-impl-javaee-2.0.0.jar
[ERROR] urls[4] = file:/Users/username/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-impl-base/2.0.0/shrinkwrap-descriptors-impl-base-2.0.0.jar
[ERROR] urls[5] = file:/Users/username/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-spi/2.0.0/shrinkwrap-descriptors-spi-2.0.0.jar
[ERROR] urls[6] = file:/Users/username/.m2/repository/org/ow2/asm/asm/6.0/asm-6.0.jar
[ERROR] urls[7] = file:/Users/username/.m2/repository/com/eclipsesource/minimal-json/minimal-json/0.9.4/minimal-json-0.9.4.jar
[ERROR] urls[8] = file:/Users/username/.m2/repository/io/thorntail/tools/2.2.0.Final/tools-2.2.0.Final.jar
[ERROR] urls[9] = file:/Users/username/.m2/repository/io/thorntail/bootstrap/2.2.0.Final/bootstrap-2.2.0.Final.jar
[ERROR] urls[10] = file:/Users/username/.m2/repository/org/jboss/modules/jboss-modules/1.6.4.Final/jboss-modules-1.6.4.Final.jar
[ERROR] urls[11] = file:/Users/username/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar
[ERROR] urls[12] = file:/Users/username/.m2/repository/org/jboss/shrinkwrap/shrinkwrap-api/1.2.6/shrinkwrap-api-1.2.6.jar
[ERROR] urls[13] = file:/Users/username/.m2/repository/org/jboss/shrinkwrap/shrinkwrap-spi/1.2.6/shrinkwrap-spi-1.2.6.jar
[ERROR] urls[14] = file:/Users/username/.m2/repository/org/jboss/shrinkwrap/shrinkwrap-impl-base/1.2.6/shrinkwrap-impl-base-1.2.6.jar
[ERROR] urls[15] = file:/Users/username/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-api-jboss/2.0.0/shrinkwrap-descriptors-api-jboss-2.0.0.jar
[ERROR] urls[16] = file:/Users/username/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-api-javaee/2.0.0/shrinkwrap-descriptors-api-javaee-2.0.0.jar
[ERROR] urls[17] = file:/Users/username/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-api-base/2.0.0/shrinkwrap-descriptors-api-base-2.0.0.jar
[ERROR] urls[18] = file:/Users/username/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-impl-jboss/2.0.0/shrinkwrap-descriptors-impl-jboss-2.0.0.jar
[ERROR] urls[19] = file:/Users/username/.m2/repository/net/lingala/zip4j/zip4j/1.3.2/zip4j-1.3.2.jar
[ERROR] urls[20] = file:/Users/username/.m2/repository/io/thorntail/spi/2.2.0.Final/spi-2.2.0.Final.jar
[ERROR] urls[21] = file:/Users/username/.m2/repository/org/jboss/jandex/2.0.5.Final/jandex-2.0.5.Final.jar
[ERROR] urls[22] = file:/Users/username/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
[ERROR] urls[23] = file:/Users/username/.m2/repository/org/eclipse/aether/aether-util/1.0.0.v20140518/aether-util-1.0.0.v20140518.jar
[ERROR] urls[24] = file:/Users/username/.m2/repository/org/jooq/joox-java-6/1.6.0/joox-java-6-1.6.0.jar
[ERROR] urls[25] = file:/Users/username/.m2/repository/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.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
herrsergio
Metadata
Metadata
Assignees
Labels
No labels