]
George Gastaldi commented on FORGEPLUGINS-213:
----------------------------------------------
The exception happens because of a bug introduced in FORGE-2501.
I forked the original AS addon to
as-setup doesn't work with Forge 2.20.Final
-------------------------------------------
Key: FORGEPLUGINS-213
URL:
https://issues.jboss.org/browse/FORGEPLUGINS-213
Project: Forge Plugins/Addons
Issue Type: Bug
Components: JBoss AS Addon
Reporter: Antonio Goncalves
Assignee: George Gastaldi
Priority: Blocker
No matter which version of Wildfly I try to setup, I get an exception with Forge
2.20.Final. For example :
{code}
as-setup --server wildfly8 --version 8.2.0.Final
{code}
Tries to install WildFly 8.2.0.Final and, even if it's in my local repository, tries
to download it, and gets :
{code}
[QuickEntityEndpoint.java]$ as-setup --server wildfly8 --version 8.2.0.Final
***ERROR*** Error while executing 'AS: Setup'
org.jboss.forge.furnace.manager.maven.MavenOperationException:
org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact
org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (
http://repo1.maven.org/maven2)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveArtifact(MavenDependencyResolver.java:208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver_$$_javassist_0a10d91c-6709-4277-b6cf-944f3bbcb48e.resolveArtifact(MavenDependencyResolver_$$_javassist_0a10d91c-6709-4277-b6cf-944f3bbcb48e.java)
at org.jboss.forge.addon.as.jboss.common.JBossProvider.install(JBossProvider.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at
org.jboss.forge.addon.as.jboss.wf8.WildFly8Provider_$$_javassist_ae3d60ec-5e20-4667-91ed-0fbbeb9e46c9.install(WildFly8Provider_$$_javassist_ae3d60ec-5e20-4667-91ed-0fbbeb9e46c9.java)
at org.jboss.forge.addon.as.ui.ASSetupWizardImpl.execute(ASSetupWizardImpl.java:119)
at
org.jboss.forge.addon.as.ui.AbstractASWizardImpl.execute(AbstractASWizardImpl.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at
org.jboss.forge.addon.as.ui.ASSetupWizardImpl_$$_javassist_478b2373-0bcb-4e9b-95e1-03a58d672985.execute(ASSetupWizardImpl_$$_javassist_478b2373-0bcb-4e9b-95e1-03a58d672985.java)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:155)
at
org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152)
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:98)
at
org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:90)
at
org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311)
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find
artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central
(
http://repo1.maven.org/maven2)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
at
org.jboss.forge.addon.maven.dependencies.MavenDependencyResolver.resolveArtifact(MavenDependencyResolver.java:192)
... 36 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact
org.wildfly:wildfly-dist:zip:8.2.0.Final: in central (
http://repo1.maven.org/maven2)
at
org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
at
org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
at
org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
... 40 more
***ERROR*** org.eclipse.aether.resolution.ArtifactResolutionException: Could not find
artifact org.wildfly:wildfly-dist:zip:8.2.0.Final: in central
(
http://repo1.maven.org/maven2)
[QuickEntityEndpoint.java]$
{code}