2 Replies Latest reply on Jun 27, 2015 3:57 PM by scott_centille

    Forge: 2.15.2.Final - embedded: Addon org.arquillian.forge:arquillian-addon,1.0.0-SNAPSHOT could not be installed

    scott_centille

      Hi Forge Developers,

       

      In working with Arquillian within Forge, attempted to install the addon.

       

      However, am currently experiencing difficulty in getting the addon to install successfully. Here is an outline of the steps I have taken:

       

      1.0) While in Eclipse Luna Service Release 2 (4.4.2)  with Maven Embedded: 3.2.1/1.5.1.20150109-1819 and using the JBoss Tools Forge Console, executed the command:

       

      addon-install-from-git --url https://github.com/forge/addon-arquillian.git --coordinate org.arquillian.forge:arquillian-addon

       

      2.0) Maven built successfully but received the error:

       

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD SUCCESS

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 6.628 s

      [INFO] Finished at: 2015-06-21T12:52:05-05:00

      [INFO] Final Memory: 253M/470M

      [INFO] ------------------------------------------------------------------------

      ***INFO*** Installing Addon from Git:Removing previous addon installation (org.arquillian.forge:arquillian-addon,1.0.0-SNAPSHOT)     [2/4] ...

      ***INFO*** Installing Addon from Git:Installing addon (org.arquillian.forge:arquillian-addon,1.0.0-SNAPSHOT)     [3/4] ...

      ***ERROR*** Error while executing 'addon-install-from-git'

      java.lang.RuntimeException: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find org.arquillian.forge:arquillian-addon:jar:forge-addon:1.0.0-SNAPSHOT in https://repository.jboss.org/nexus/content/repositories/central/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-central-repository has elapsed or updates are forced

          at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveResources(MavenAddonDependencyResolver.java:112)

          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.AddonGitBuildAndInstallCommand.execute(AddonGitBuildAndInstallCommand.java:159)

          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:497)

          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.AddonGitBuildAndInstallCommand_$$_javassist_0acc3563-b02a-4b17-bb2f-404e483004ad.execute(AddonGitBuildAndInstallCommand_$$_javassist_0acc3563-b02a-4b17-bb2f-404e483004ad.java)

          at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:90)

          at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:82)

          at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:325)

          at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40)

          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.DependencyResolutionException: Failure to find org.arquillian.forge:arquillian-addon:jar:forge-addon:1.0.0-SNAPSHOT in https://repository.jboss.org/nexus/content/repositories/central/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-central-repository 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:108)

          ... 24 more

      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find org.arquillian.forge:arquillian-addon:jar:forge-addon:1.0.0-SNAPSHOT in https://repository.jboss.org/nexus/content/repositories/central/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-central-repository 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)

          ... 25 more

      Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.arquillian.forge:arquillian-addon:jar:forge-addon:1.0.0-SNAPSHOT in https://repository.jboss.org/nexus/content/repositories/central/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-central-repository 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)

          ... 27 more

      ***ERROR*** Addon org.arquillian.forge:arquillian-addon,1.0.0-SNAPSHOT could not be installed: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find org.arquillian.forge:arquillian-addon:jar:forge-addon:1.0.0-SNAPSHOT in https://repository.jboss.org/nexus/content/repositories/central/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-central-repository has elapsed or updates are forced


      3.0) Upon inspection of the repository: https://repository.jboss.org/nexus/content/repositories/central/org/arquillian/ org.arquillian.forge:arquillian-addon,1.0.0-SNAPSHOT is not contained in that repo.

       

      4.0) I only have the JBoss Repo: http://repository.jboss.org/nexus/content/groups/public-jboss/ registered in my maven settings.xml per the article located at: https://developer.jboss.org/wiki/MavenGettingStarted-Users.

            Is this correct? Which repo should I be using for JBoss Forge?

       

      5.0) So, not clear on why the addon-install-from-git --url https://github.com/forge/addon-arquillian.git --coordinate org.arquillian.forge:arquillian-addon command is looking at that the

             https://repository.jboss.org/nexus/content/repositories/central/  repo? Maven has successfully installed the arquillian-addon-1.0.0-SNAPSHOT.jar to the local repo. How to get the addon to look at my local repo?

       

      Thanks for your assistance,

       

      Scott