[JBoss JIRA] (FORGE-1887) Unable to install the Arquillian add-on from Git
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1887?page=com.atlassian.jira.plugin... ]
Antonio Goncalves commented on FORGE-1887:
------------------------------------------
Sorry, it's the wrong Git repository. It should be :
{code}
addon-install-from-git --url https://github.com/aslakknutsen/plugin-arquillian.git --branch forge2
{code}
But it doesn't fine the branch :o(
> 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....
> ***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)
10 years, 6 months
[JBoss JIRA] (FORGE-1887) Unable to install the Arquillian add-on from Git
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1887?page=com.atlassian.jira.plugin... ]
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....
> ***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)
10 years, 6 months
[JBoss JIRA] (FORGE-1887) Unable to install the Arquillian add-on from Git
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-1887:
----------------------------------------
Summary: 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....
***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)
10 years, 6 months
[JBoss JIRA] (FORGE-1886) Scaffolding generates java.lang.Long for Ids
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1886?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1886.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.6.1.Final
(was: 2.x Future)
Resolution: Done
> Scaffolding generates java.lang.Long for Ids
> --------------------------------------------
>
> Key: FORGE-1886
> URL: https://issues.jboss.org/browse/FORGE-1886
> Project: Forge
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Scaffold
> Affects Versions: 2.6.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.6.1.Final
>
>
> When I generate an Entity and then Scaffold the JSF web app, my Backing Beans have the following :
> {code}
> private java.lang.Long id;
> public java.lang.Long get Id() {
> return this.id;
> }
> {code}
> But in the previous release of Forge it used to be like that :
> {code}
> private Long id;
> public Long get Id() {
> return this.id;
> }
> {code}
> This is how to reproduce it :
> {code}
> [Devoxx]$ project-new --named projlong
> [projlong]$ jpa-new-entity --named MyEntity
> [MyEntity.java]$ scaffold-generate --targets org.projlong.model.MyEntity
> [MyEntity.java]$ cd ../..
> [projlong]$ cd view/
> [view]$ more MyEntityBean.java
> @Named
> @Stateful
> @ConversationScoped
> public class MyEntityBean implements Serializable
> {
> private static final long serialVersionUID = 1L;
> /*
> * Support creating and retrieving MyEntity entities
> */
> private java.lang.Long id;
> public java.lang.Long getId()
> {
> return this.id;
> }
> public void setId(java.lang.Long id)
> {
> this.id = id;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1886) Scaffolding generates java.lang.Long for Ids
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1886?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1886:
-------------------------------------
Description:
When I generate an Entity and then Scaffold the JSF web app, my Backing Beans have the following :
{code}
private java.lang.Long id;
public java.lang.Long get Id() {
return this.id;
}
{code}
But in the previous release of Forge it used to be like that :
{code}
private Long id;
public Long get Id() {
return this.id;
}
{code}
This is how to reproduce it :
{code}
[Devoxx]$ project-new --named projlong
[projlong]$ jpa-new-entity --named MyEntity
[MyEntity.java]$ scaffold-generate --targets org.projlong.model.MyEntity
[MyEntity.java]$ cd ../..
[projlong]$ cd view/
[view]$ more MyEntityBean.java
@Named
@Stateful
@ConversationScoped
public class MyEntityBean implements Serializable
{
private static final long serialVersionUID = 1L;
/*
* Support creating and retrieving MyEntity entities
*/
private java.lang.Long id;
public java.lang.Long getId()
{
return this.id;
}
public void setId(java.lang.Long id)
{
this.id = id;
}
{code}
was:
When I generate an Entity and then Scaffold the JSF web app, my Backing Beans have the following :
{code}
private java.lang.Long id;
public java.lang.Long get Id() {
return this.id;
}
{code}
But in the previous release of Forge it used to be like that :
{code}
private Long id;
public Long get Id() {
return this.id;
}
{code}
> Scaffolding generates java.lang.Long for Ids
> --------------------------------------------
>
> Key: FORGE-1886
> URL: https://issues.jboss.org/browse/FORGE-1886
> Project: Forge
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Scaffold
> Affects Versions: 2.6.0.Final
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> When I generate an Entity and then Scaffold the JSF web app, my Backing Beans have the following :
> {code}
> private java.lang.Long id;
> public java.lang.Long get Id() {
> return this.id;
> }
> {code}
> But in the previous release of Forge it used to be like that :
> {code}
> private Long id;
> public Long get Id() {
> return this.id;
> }
> {code}
> This is how to reproduce it :
> {code}
> [Devoxx]$ project-new --named projlong
> [projlong]$ jpa-new-entity --named MyEntity
> [MyEntity.java]$ scaffold-generate --targets org.projlong.model.MyEntity
> [MyEntity.java]$ cd ../..
> [projlong]$ cd view/
> [view]$ more MyEntityBean.java
> @Named
> @Stateful
> @ConversationScoped
> public class MyEntityBean implements Serializable
> {
> private static final long serialVersionUID = 1L;
> /*
> * Support creating and retrieving MyEntity entities
> */
> private java.lang.Long id;
> public java.lang.Long getId()
> {
> return this.id;
> }
> public void setId(java.lang.Long id)
> {
> this.id = id;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1886) Scaffolding generates java.lang.Long for Ids
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-1886:
----------------------------------------
Summary: Scaffolding generates java.lang.Long for Ids
Key: FORGE-1886
URL: https://issues.jboss.org/browse/FORGE-1886
Project: Forge
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: Scaffold
Affects Versions: 2.6.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
When I generate an Entity and then Scaffold the JSF web app, my Backing Beans have the following :
{code}
private java.lang.Long id;
public java.lang.Long get Id() {
return this.id;
}
{code}
But in the previous release of Forge it used to be like that :
{code}
private Long id;
public Long get Id() {
return this.id;
}
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1802) Console hangs when running an invalid script
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1802?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1802:
-----------------------------------
Fix Version/s: 2.6.1.Final
(was: 2.x Future)
> Console hangs when running an invalid script
> --------------------------------------------
>
> Key: FORGE-1802
> URL: https://issues.jboss.org/browse/FORGE-1802
> Project: Forge
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: UI - Shell
> Affects Versions: 2.5.0.Final
> Reporter: Antonio Goncalves
> Assignee: Ivan St. Ivanov
> Priority: Critical
> Fix For: 2.6.1.Final
>
>
> I am executing a script (with the {{run}} command) and the console hanged and stopped working completely (I had to kill the process). I realized that there is an error in the script (missing {{;}} at the end of line {{--named ISBN}}).
> Take the following script, and save it on a {{hangs.fsh}} file
> {code}
> # ##################### #
> # Creates a new project #
> # ##################### #
> project-new --named cdbookstore --topLevelPackage org.agoncal.training.javaee6adv --type war --finalName cdbookstore ;
> # Setup the persistence unit in persistence.xml
> # ############
> jpa-setup --persistenceUnitName cdbookstorePU ;
> # ######################## #
> # Creates the domain model #
> # ######################## #
> # ISBN constraint
> # ############
> constraint-new-annotation --named ISBN
> # Genre entity
> # ############
> jpa-new-entity --named Genre ;
> jpa-new-field --named name --length 100 ;
> {code}
> Now, execute the script, and see the error message :
> {code}
> [temp]$ run hangs.fsh
> project-new --named cdbookstore --topLevelPackage org.agoncal.training.javaee6adv --type war --finalName cdbookstore ;
> ***SUCCESS*** Project named 'cdbookstore' has been created.
> [cdbookstore]$ jpa-setup --persistenceUnitName cdbookstorePU ;
> ***SUCCESS*** Persistence (JPA) is installed.
> [cdbookstore]$ constraint-new-annotation --named ISBN
> ***SUCCESS*** Bean Validation Constraint Annotations org.agoncal.training.javaee6adv.constraints.ISBN was created
> [ISBN.java]$ jpa-new-entity --named Genre ;
> Exception when parsing/running: jpa-new-entity --named Genre , org.jboss.forge.roaster.model.impl.JavaAnnotationImpl cannot be cast to org.jboss.forge.roaster.model.MemberHolder
> [ISBN.java]$
> {code}
> At this point, I can't interact with the console and need to kill the process.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1885) Upgrade to Aesh 0.56
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1885:
--------------------------------------
Summary: Upgrade to Aesh 0.56
Key: FORGE-1885
URL: https://issues.jboss.org/browse/FORGE-1885
Project: Forge
Issue Type: Component Upgrade
Security Level: Public (Everyone can see)
Components: UI - Shell
Affects Versions: 2.6.0.Final
Reporter: George Gastaldi
Fix For: 2.x Future
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months