-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
2.20.2.Final
-
None
Hi, I'm trying to install addon in Forge 2.x without luck.
This is what I'm doing:
[pantinor]$ addon-install --coordinate io.fabric8.forge:camel-commands,2.2.121 ***ERROR*** Error while executing 'addon-install' java.lang.RuntimeException: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find io.fabric8.forge:camel-commands:jar:forge-addon:2.2.121 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveResources(MavenAddonDependencyResolver.java:172) at org.jboss.forge.furnace.manager.maven.addon.LazyAddonInfo.resolveResources(LazyAddonInfo.java:88) at org.jboss.forge.furnace.manager.maven.addon.LazyAddonInfo.getResources(LazyAddonInfo.java:39) at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.deploy(DeployRequestImpl.java:59) at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl$1.call(DeployRequestImpl.java:49) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.execute(DeployRequestImpl.java:44) at org.jboss.forge.furnace.manager.impl.request.AbstractAddonActionRequest.perform(AbstractAddonActionRequest.java:57) at org.jboss.forge.furnace.manager.impl.request.InstallRequestImpl.perform(InstallRequestImpl.java:39) at org.jboss.forge.addon.manager.impl.ui.AddonInstallCommand.execute(AddonInstallCommand.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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.manager.impl.ui.AddonInstallCommand_$$_javassist_09c5cd7e-e8c0-47cd-9630-ef7affd443d4.execute(AddonInstallCommand_$$_javassist_09c5cd7e-e8c0-47cd-9630-ef7affd443d4.java) at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:94) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find io.fabric8.forge:camel-commands:jar:forge-addon:2.2.121 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384) at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveResources(MavenAddonDependencyResolver.java:168) ... 25 more Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find io.fabric8.forge:camel-commands:jar:forge-addon:2.2.121 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced 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.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367) ... 26 more Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find io.fabric8.forge:camel-commands:jar:forge-addon:2.2.121 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:231) at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:585) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:503) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421) ... 28 more ***ERROR*** Addon io.fabric8.forge:camel-commands,2.2.121 could not be installed.
The artifact is correctly there in Maven:
http://repo1.maven.org/maven2/io/fabric8/forge/camel/2.2.121/
It fails also when I try to install a core addon:
addon-install --coordinate org.jboss.forge.addon:slf4j,1.7.13
[pantinor]$ version JBoss Forge, version [ 2.20.2.Final ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ] [pantinor]$ forge-update ***INFO*** Forge is up to date! Enjoy! [pantinor]$ system-property-get | grep java [pantinor]$ java.runtime.name=Java(TM) SE Runtime Environment sun.boot.library.path=/usr/java/jdk1.7.0_76/jre/lib/amd64 java.vm.version=24.76-b04 java.vm.vendor=Oracle Corporation java.vendor.url=http\://java.oracle.com/ java.vm.name=Java HotSpot(TM) 64-Bit Server VM sun.java.launcher=SUN_STANDARD java.vm.specification.name=Java Virtual Machine Specification java.runtime.version=1.7.0_76-b13 java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment java.endorsed.dirs=/usr/java/jdk1.7.0_76/jre/lib/endorsed java.io.tmpdir=/tmp java.vm.specification.vendor=Oracle Corporation java.util.logging.manager=org.jboss.logmanager.LogManager java.library.path=/usr/java/packages/lib/amd64\:/usr/lib64\:/lib64\:/lib\:/usr/lib java.specification.name=Java Platform API Specification java.class.version=51.0 java.awt.printerjob=sun.print.PSPrinterJob java.specification.version=1.7 java.class.path=/data/software/redhat/utils/forge/lib/furnace-manager-spi-2.22.10.Final.jar\:/data/software/redhat/utils/forge/lib/wagon-provider-api-1.0.jar\:/data/software/redhat/utils/forge/lib/jboss-logmanager-1.4.1.Final.jar\:/data/software/redhat/utils/forge/lib/plexus-interpolation-1.21.jar\:/data/software/redhat/utils/forge/lib/aether-api-1.0.2.v20150114.jar\:/data/software/redhat/utils/forge/lib/furnace-2.22.10.Final.jar\:/data/software/redhat/utils/forge/lib/aether-spi-1.0.2.v20150114.jar\:/data/software/redhat/utils/forge/lib/jsoup-1.7.2.jar\:/data/software/redhat/utils/forge/lib/maven-settings-builder-3.3.3.jar\:/data/software/redhat/utils/forge/lib/furnace-manager-api-2.22.10.Final.jar\:/data/software/redhat/utils/forge/lib/plexus-cipher-1.4.jar\:/data/software/redhat/utils/forge/lib/forge-bootstrap-2.20.2.Final.jar\:/data/software/redhat/utils/forge/lib/maven-model-builder-3.3.3.jar\:/data/software/redhat/utils/forge/lib/aether-impl-1.0.2.v20150114.jar\:/data/software/redhat/utils/forge/lib/guava-18.0.jar\:/data/software/redhat/utils/forge/lib/maven-settings-3.3.3.jar\:/data/software/redhat/utils/forge/lib/plexus-utils-3.0.20.jar\:/data/software/redhat/utils/forge/lib/commons-lang-2.6.jar\:/data/software/redhat/utils/forge/lib/maven-builder-support-3.3.3.jar\:/data/software/redhat/utils/forge/lib/aether-connector-basic-1.0.2.v20150114.jar\:/data/software/redhat/utils/forge/lib/jboss-modules-1.3.1.Final-forge.jar\:/data/software/redhat/utils/forge/lib/wagon-http-lightweight-2.8.jar\:/data/software/redhat/utils/forge/lib/commons-io-2.2.jar\:/data/software/redhat/utils/forge/lib/furnace-manager-resolver-maven-2.22.10.Final.jar\:/data/software/redhat/utils/forge/lib/xml-parser-1.0.0.Final.jar\:/data/software/redhat/utils/forge/lib/jgrapht-0.8.3.jar\:/data/software/redhat/utils/forge/lib/furnace-api-2.22.10.Final.jar\:/data/software/redhat/utils/forge/lib/maven-repository-metadata-3.3.3.jar\:/data/software/redhat/utils/forge/lib/maven-model-3.3.3.jar\:/data/software/redhat/utils/forge/lib/aether-util-1.0.2.v20150114.jar\:/data/software/redhat/utils/forge/lib/wagon-file-2.8.jar\:/data/software/redhat/utils/forge/lib/plexus-sec-dispatcher-1.3.jar\:/data/software/redhat/utils/forge/lib/wagon-http-shared-2.8.jar\:/data/software/redhat/utils/forge/lib/maven-aether-provider-3.3.3.jar\:/data/software/redhat/utils/forge/lib/plexus-component-annotations-1.5.5.jar\:/data/software/redhat/utils/forge/lib/forge-javassist-2.jar\:/data/software/redhat/utils/forge/lib/furnace-proxy-2.22.10.Final.jar\:/data/software/redhat/utils/forge/lib/furnace-manager-2.22.10.Final.jar\:/data/software/redhat/utils/forge/lib/aether-transport-wagon-1.0.2.v20150114.jar java.vm.specification.version=1.7 sun.java.command=org.jboss.forge.bootstrap.Bootstrap --immutableAddonDir /data/software/redhat/utils/forge/addons/ java.home=/usr/java/jdk1.7.0_76/jre java.specification.vendor=Oracle Corporation java.vm.info=mixed mode java.version=1.7.0_76 java.ext.dirs=/usr/java/jdk1.7.0_76/jre/lib/ext\:/usr/java/packages/lib/ext sun.boot.class.path=/usr/java/jdk1.7.0_76/jre/lib/resources.jar\:/usr/java/jdk1.7.0_76/jre/lib/rt.jar\:/usr/java/jdk1.7.0_76/jre/lib/sunrsasign.jar\:/usr/java/jdk1.7.0_76/jre/lib/jsse.jar\:/usr/java/jdk1.7.0_76/jre/lib/jce.jar\:/usr/java/jdk1.7.0_76/jre/lib/charsets.jar\:/usr/java/jdk1.7.0_76/jre/lib/jfr.jar\:/usr/java/jdk1.7.0_76/jre/classes java.vendor=Oracle Corporation java.vendor.url.bug=http\://bugreport.sun.com/bugreport/
- is related to
-
FORGE-2596 addons installation instructions are wrong
- Closed