Hi George, did you give it a try ? I still get the same exception

Antonio


2014-06-09 15:00 GMT+02:00 George Gastaldi <ggastald@redhat.com>:
Hi Antonio,

The command is correct, however it may be a Maven bug after building the project. The coordinates parameter should be used only when dealing with multimodule projects.

I'll try to reproduce it.

Best Regards,

George Gastaldi

Em 09/06/2014, às 06:38, Antonio Goncalves <antonio.mailing@gmail.com> escreveu:

Hi guys, 

I would like to install the Arquillian add-on straight from Github. I do the following :

addon-install-from-git --url https://github.com/agoncal/plugin-arquillian.git --branch forge2

But I get the following error. Am I missing something ? The addon-install-from-git has a "coordonates" parameter but I don't know what to enter and if it's useful.

Thanks
Antonio

[projarq]$ addon-install-from-git --url https://github.com/agoncal/plugin-arquillian.git --branch forge2
***INFO*** Installing git addon [0/4] ...
***INFO*** Installing git addon:Cloning repository in /var/folders/ds/w5m7dxx91t98p0s19sjcv6_00000gn/T/1402306123063-0 [0/4] ...
***INFO*** Installing git addon:Installing project into local repository [1/4] ...
***INFO*** Installing git addon:Removing previous addon installation (org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT) [2/4] ...
***INFO*** Installing git addon:Installing addon (org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT) [3/4] ...
***ERROR*** Addon org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT could not be installed.


From the logs :

11:35:10,037 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 7) Addon org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT could not be installed.: java.lang.RuntimeException: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT 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:111) [furnace-manager-resolver-maven-2.6.1-20140604.061652-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.furnace.manager.maven.addon.LazyAddonInfo.resolveResources(LazyAddonInfo.java:88) [furnace-manager-resolver-maven-2.6.1-20140604.061652-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.furnace.manager.maven.addon.LazyAddonInfo.getResources(LazyAddonInfo.java:39) [furnace-manager-resolver-maven-2.6.1-20140604.061652-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.deploy(DeployRequestImpl.java:59) [furnace-manager-2.6.1-20140604.061628-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl$1.call(DeployRequestImpl.java:49) [furnace-manager-2.6.1-20140604.061628-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.furnace.impl.LockManagerImpl.performLocked(LockManagerImpl.java:48) [furnace-2.6.1-20140604.061525-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.execute(DeployRequestImpl.java:44) [furnace-manager-2.6.1-20140604.061628-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.furnace.manager.impl.request.AbstractAddonActionRequest.perform(AbstractAddonActionRequest.java:57) [furnace-manager-2.6.1-20140604.061628-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.furnace.manager.impl.request.InstallRequestImpl.perform(InstallRequestImpl.java:39) [furnace-manager-2.6.1-20140604.061628-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.execute(AddonGitBuildAndInstallCommand.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65) [furnace-proxy-2.6.1-20140604.061510-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.6.1-20140604.061455-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81) [furnace-proxy-2.6.1-20140604.061510-2.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand_$$_javassist_56c43058-db1a-405c-85d8-9f70b3553106.execute(AddonGitBuildAndInstallCommand_$$_javassist_56c43058-db1a-405c-85d8-9f70b3553106.java)
at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:88) [ui-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74) [shell-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:298) [aesh-0.55.jar:0.55]
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:39) [aesh-0.55.jar:0.55]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT 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) [aether-impl-0.9.0.M2.jar:]
at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveResources(MavenAddonDependencyResolver.java:107) [furnace-manager-resolver-maven-2.6.1-20140604.061652-2.jar:2.6.1-SNAPSHOT]
... 24 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT 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:459) [aether-impl-0.9.0.M2.jar:]
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262) [aether-impl-0.9.0.M2.jar:]
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367) [aether-impl-0.9.0.M2.jar:]
... 25 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT 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:232) [aether-impl-0.9.0.M2.jar:]
at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206) [aether-impl-0.9.0.M2.jar:]
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599) [aether-impl-0.9.0.M2.jar:]
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518) [aether-impl-0.9.0.M2.jar:]
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436) [aether-impl-0.9.0.M2.jar:]
... 27 more

--
Antonio Goncalves 
Software architect and Java Champion

Web site | Twitter | LinkedIn | Paris JUG | Devoxx France
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev

_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev



--
Antonio Goncalves 
Software architect and Java Champion

Web site | Twitter | LinkedIn | Paris JUG | Devoxx France