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

Forge.bat throws error while attempting to install addons

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.0.0.CR2
    • None
    • Init Scripts
    • None

      C:\Users\George\Documents\GitHub\core\dist\target\forge-distribution-2.0.0-SNAPSHOT\forge-distribution-2.0.0-SNAPSHOT\bin>forge.bat --install org.jboss.forge.addons:core,2.0.0-SNAPSHOT
      Unknown option: 2.0.0-SNAPSHOT
      java.lang.RuntimeException: Failed to look up versions for [org.jboss.forge.addon:org.jboss.forge.addons:core]
              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.getVersions(MavenAddonDependencyResolver.java:269)
              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveVersions(MavenAddonDependencyResolver.java:147)
              at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:205)
              at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:152)
              at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:92)
      Caused by: java.lang.IllegalArgumentException: Bad artifact coordinates org.jboss.forge.addon:org.jboss.forge.addons:core:jar:forge-addon:[,), expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>
              at org.eclipse.aether.artifact.DefaultArtifact.<init>(DefaultArtifact.java:68)
              at org.eclipse.aether.artifact.DefaultArtifact.<init>(DefaultArtifact.java:51)
              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.getVersions(MavenAddonDependencyResolver.java:262)
              ... 4 more
      > Forge version [2.0.0-SNAPSHOT]
      

              vineet.reynolds_jira Vineet Reynolds (Inactive)
              rhn-support-ggastald George Gastaldi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: