4 Replies Latest reply on Jul 1, 2014 3:29 PM by Victor Garcia

    [forge-dev]  How do I install the Arquillian add-on from Git ?

      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

       

      $ addon-install-from-git --url

      https://github.com/agoncal/plugin-arquillian.git --branch forge2

      **INFO** Installing git addon ...

      **INFO** Installing git addon:Cloning repository in

      /var/folders/ds/w5m7dxx91t98p0s19sjcv6_00000gn/T/1402306123063-0 ...

      **INFO** Installing git addon:Installing project into local repository

      ...

      **INFO** Installing git addon:Removing previous addon installation

      (org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT) ...

      **INFO** Installing git addon:Installing addon

      (org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT) ...

      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.

       

       

      From the logs :

       

      11:35:10,037 SEVERE

      (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)

      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.LockManagerImpl.performLocked(LockManagerImpl.java:48)

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

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

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

      at

      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      at java.lang.Thread.run(Thread.java:744)

      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)

      at

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

      ... 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)

      at

      org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)

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

      at

      org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)

      at

      org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)

      at

      org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)

      at

      org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)

      ... 27 more

       

      --

      Antonio Goncalves

      Software architect and Java Champion

       

      Web site <http://www.antoniogoncalves.org/> | Twitter

      <http://twitter.com/agoncal> | LinkedIn <http://www.linkedin.com/in/agoncal>

      | Paris JUG <http://www.parisjug.org/> | Devoxx France

      <http://www.devoxx.fr/>

       

        • 1. Re: [forge-dev] How do I install the Arquillian add-on from Git ?
          George Gastaldi Master

          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

           

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

          **INFO** Installing git addon       ...

          **INFO** Installing git addon:Cloning repository in /var/folders/ds/w5m7dxx91t98p0s19sjcv6_00000gn/T/1402306123063-0       ...

          **INFO** Installing git addon:Installing project into local repository       ...

          **INFO** Installing git addon:Removing previous addon installation (org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT)       ...

          **INFO** Installing git addon:Installing addon (org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT)       ...

          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.

           

           

          From the logs :

           

          11:35:10,037 SEVERE (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)

               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.LockManagerImpl.performLocked(LockManagerImpl.java:48)

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

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

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

               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

               at java.lang.Thread.run(Thread.java:744)

          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)

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

               ... 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)

               at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)

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

               at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)

               at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)

               at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)

               at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)

               ... 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

           

          • 2. Re: [forge-dev] How do I install the Arquillian add-on from Git ?

            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

             

            $ addon-install-from-git --url

            https://github.com/agoncal/plugin-arquillian.git --branch forge2

            **INFO** Installing git addon ...

            **INFO** Installing git addon:Cloning repository in

            /var/folders/ds/w5m7dxx91t98p0s19sjcv6_00000gn/T/1402306123063-0 ...

            **INFO** Installing git addon:Installing project into local repository

            ...

            **INFO** Installing git addon:Removing previous addon installation

            (org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT) ...

            **INFO** Installing git addon:Installing addon

            (org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT) ...

            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.

             

            >

            From the logs :

             

            11:35:10,037 SEVERE

            (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)

            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.LockManagerImpl.performLocked(LockManagerImpl.java:48)

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

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

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

            at

            java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

            at java.lang.Thread.run(Thread.java:744)

            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)

            at

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

            ... 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)

            at

            org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)

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

            at

            org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)

            at

            org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)

            at

            org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)

            at

            org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)

            ... 27 more

             

            --

            Antonio Goncalves

            Software architect and Java Champion

             

            Web site <http://www.antoniogoncalves.org/> | Twitter

            <http://twitter.com/agoncal> | LinkedIn

            <http://www.linkedin.com/in/agoncal> | Paris JUG

            <http://www.parisjug.org/> | Devoxx France <http://www.devoxx.fr/>

             

            _______________________________________________

            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 <http://www.antoniogoncalves.org/> | Twitter

            <http://twitter.com/agoncal> | LinkedIn <http://www.linkedin.com/in/agoncal>

            | Paris JUG <http://www.parisjug.org/> | Devoxx France

            <http://www.devoxx.fr/>

             

            • 3. Re: [forge-dev] How do I install the Arquillian add-on from Git ?
              George Gastaldi Master

              Not yet, will do asap

               

              Em 15/06/2014, às 17:32, Antonio Goncalves <antonio.mailing@gmail.com> escreveu:

               

              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

              >>>

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

              >>> **INFO** Installing git addon       ...

              >>> **INFO** Installing git addon:Cloning repository in /var/folders/ds/w5m7dxx91t98p0s19sjcv6_00000gn/T/1402306123063-0       ...

              >>> **INFO** Installing git addon:Installing project into local repository       ...

              >>> **INFO** Installing git addon:Removing previous addon installation (org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT)       ...

              >>> **INFO** Installing git addon:Installing addon (org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT)       ...

              >>> 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.

              >>>

              >>>

              >>> From the logs :

              >>>

              >>> 11:35:10,037 SEVERE (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)

              >>>      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.LockManagerImpl.performLocked(LockManagerImpl.java:48)

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

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

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

              >>>      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

              >>>      at java.lang.Thread.run(Thread.java:744)

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

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

              >>>      ... 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)

              >>>      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)

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

              >>>      at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)

              >>>      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)

              >>>      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)

              >>>      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)

              >>>      ... 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

              _______________________________________________

              forge-dev mailing list

              forge-dev@lists.jboss.org

              https://lists.jboss.org/mailman/listinfo/forge-dev

               

              • 4. Re: [forge-dev]  How do I install the Arquillian add-on from Git ?
                Victor Garcia Newbie

                I'm also getting a very similar error. It seems like forge cannot resolve plugins that are compiled and put on the local maven repository. I tried with the Arquillian addone, but I get the same problem with any plugin I try to add from git, because i then tried the plugins for TOMEE and SLF4J.

                 

                I looks to me, that after the plugin clones and then compiles the plugin, it is somehow looking directly to the maven central repository instead of looking in the local (cache) repository.

                 

                Maybe it's a maven configuration problem??

                 

                 

                 

                java.lang.RuntimeException: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT in central (http://repo1.maven.org/maven2)

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

                  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.LockManagerImpl.performLocked(LockManagerImpl.java:48)

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

                  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: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_921d4d62-888e-43b0-ad8b-0004c2396bbd.execute(AddonGitBuildAndInstallCommand_$$_javassist_921d4d62-888e-43b0-ad8b-0004c2396bbd.java)

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

                  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.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:103)

                  at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)

                  at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:76)

                  at org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_9943efbc-cc5d-4c2f-ae65-750c9af4d0cf.execute(CommandController_$$_javassist_9943efbc-cc5d-4c2f-ae65-750c9af4d0cf.java)

                  at org.jboss.tools.forge.ui.internal.ext.wizards.ForgeWizard$1.run(ForgeWizard.java:90)

                  at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

                Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT in central (http://repo1.maven.org/maven2)

                  at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)

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

                  ... 28 more

                Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT in central (http://repo1.maven.org/maven2)

                  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)

                  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)

                  at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)

                  ... 29 more

                Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT in central (http://repo1.maven.org/maven2)

                  at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1012)

                  at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)

                  at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)

                  at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)

                  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)