Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2807

Forge addon-install throw BuildException during installation a gradle addon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • 3.9.8.Final
    • Build Tools - Gradle
    • None
    • Hide
      1. run forge;
      2. run the next command 
        addon-install-from-git --url https://github.com/forge/addon-gradle.git --coordinate org.jboss.forge.addon:gradle 
      Show
      run forge; run the next command  addon-install-from-git --url https: //github.com/forge/addon-gradle.git --coordinate org.jboss.forge.addon:gradle

      I execute the next command:

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

      And I got the next exception:

      ***INFO*** Installing Addon from Git     [1/4] ...
      ***INFO*** Installing Addon from Git:Cloning repository in /tmp/tmpdir4622702115845281206     [1/4] ...
      ***INFO*** Installing Addon from Git:Installing project into local repository     [2/4] ...
      ***ERROR*** Error while executing 'addon-install-from-git'
      org.jboss.forge.addon.projects.building.BuildException: Build failed.
          at org.jboss.forge.addon.maven:3.10.0.Final_cb6dab3c-a159-48f8-b647-d01fa6e3210a//org.jboss.forge.addon.maven.projects.MavenProjectBuilder.build(MavenProjectBuilder.java:118)
          at org.jboss.forge.addon.addon-manager:3.10.0.Final_ab0fc10a-d181-4915-b1d7-a2ed816929ce//org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.execute(AddonGitBuildAndInstallCommand.java:125)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
          at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
          at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
          at org.jboss.forge.addon.addon-manager:3.10.0.Final_ab0fc10a-d181-4915-b1d7-a2ed816929ce//org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand_$$_jvst4de_38.execute(AddonGitBuildAndInstallCommand_$$_jvst4de_38.java)
          at org.jboss.forge.addon.ui:3.10.0.Final_38ba6725-0813-4d79-9b62-ed9d1496c7e2//org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:94)
          at org.jboss.forge.addon.shell:3.10.0.Final_68f2aab2-e2d0-4a83-b132-6603343bb1d4//org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:97)
          at org.jboss.forge.addon.shell:3.10.0.Final_68f2aab2-e2d0-4a83-b132-6603343bb1d4//org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:88)
          at org.jboss.forge.addon.shell-spi:3.10.0.Final_439bf658-be82-408c-a459-e5bc5c43fab8//org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311)
          at org.jboss.forge.addon.shell-spi:3.10.0.Final_439bf658-be82-408c-a459-e5bc5c43fab8//org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          at java.base/java.lang.Thread.run(Thread.java:829)
      ***ERROR*** Unable to execute project build
       

      System: Ubuntu 20.04. I got this exception on 3.10.0.Final version.

      Thanks

              Unassigned Unassigned
              stasiukevych.a Anatolii Stasuykevich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: