[forge-issues] [JBoss JIRA] (FORGE-1887) Unable to install the Arquillian add-on from Git
George Gastaldi (JIRA)
issues at jboss.org
Tue Jun 17 13:13:24 EDT 2014
[ https://issues.jboss.org/browse/FORGE-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977122#comment-12977122 ]
George Gastaldi commented on FORGE-1887:
----------------------------------------
This is what I see when I run this command. Looks like there might be something missing in the Git command:
{code}
[bin]$ 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 /tmp/1403024954678-0 [0/4] ...
org.eclipse.jgit.api.errors.RefNotFoundException: Ref forge2 can not be resolved
at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:241)
at org.jboss.forge.addon.git.GitUtilsImpl.switchBranch(GitUtilsImpl.java:195)
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:65)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
at org.jboss.forge.addon.git.GitUtilsImpl_$$_javassist_cd03a704-8dcf-4bc7-9d7e-8b8b9c90211c.switchBranch(GitUtilsImpl_$$_javassist_cd03a704-8dcf-4bc7-9d7e-8b8b9c90211c.java)
at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.cloneTo(AddonGitBuildAndInstallCommand.java:163)
at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.execute(AddonGitBuildAndInstallCommand.java:103)
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:65)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand_$$_javassist_ee174b0f-8e49-443d-a477-fd6898e52ab9.execute(AddonGitBuildAndInstallCommand_$$_javassist_ee174b0f-8e49-443d-a477-fd6898e52ab9.java)
at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:88)
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74)
at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:298)
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:39)
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)
{code}
> Unable to install the Arquillian add-on from Git
> ------------------------------------------------
>
> Key: FORGE-1887
> URL: https://issues.jboss.org/browse/FORGE-1887
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Addon Development
> Affects Versions: 2.6.0.Final
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> I would like to install the Arquillian add-on straight from Github. I do the following :
> {code}
> addon-install-from-git --url https://github.com/agoncal/plugin-arquillian.git --branch forge2
> {code}
> 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.
> {code}
> [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] ...
> Downloading: http://repo1.maven.org/maven2/org/arquillian/forge/arquillian-plugin/1.0.0-SNAPSHOT/arquillian-plugin-1.0.0-SNAPSHOT-forge-addon.jar
> ***ERROR*** Addon org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT could not be installed.
> {code}
> From the logs :
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the forge-issues
mailing list