[JBoss JIRA] (FORGE-2184) GenerateDot fails with Maven 3.2.5: NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2184?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2184:
----------------------------------------
I made the changes in Forge to support Maven 3.2.5. However, you may find the following exception when running the plugin from Maven 3.2.3:
{code}
[ERROR] Failed to execute goal org.jboss.forge.furnace:furnace-maven-plugin:2.13.2-SNAPSHOT:addon-install (deploy-addons) on project forge-distribution: Execution deploy-addons of goal org.jboss.forge.furnace:furnace-maven-plugin:2.13.2-SNAPSHOT:addon-install failed: A required class was missing while executing org.jboss.forge.furnace:furnace-maven-plugin:2.13.2-SNAPSHOT:addon-install: org/eclipse/aether/spi/connector/transport/TransporterFactory
{code}
> GenerateDot fails with Maven 3.2.5: NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> ---------------------------------------------------------------------------------------------------------
>
> Key: FORGE-2184
> URL: https://issues.jboss.org/browse/FORGE-2184
> Project: Forge
> Issue Type: Bug
> Components: Build Tools - Maven
> Affects Versions: 2.12.1.Final
> Reporter: Ondrej Zizka
> Assignee: George Gastaldi
>
> STR:
> Use Maven 3.2.5 and run the generate-dot goal on anything.
> Should give you:
> {code}
> --- furnace-maven-plugin:2.12.1.Final:generate-dot (generate-dot) @ windup-victims ---
> Generating /home/ondra/work/Migration/WindupQuickstarts/victi.ms/target/classes/META-INF/resources/windup-victims-2.0.0-SNAPSHOT.dot
> Exception in thread "pool-5-thread-1" Exception in thread "pool-6-thread-1" Exception in thread "DefaultMetadataResolver-3-1" Exception in thread "DefaultMetadataResolver-3-0" java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.spi.connector.Transfer$State
> at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
> ... 5 more
> java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.spi.connector.Transfer$State
> at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
> ... 5 more
> java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)