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

Forge.bat throws error while attempting to install addons

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.0.CR2
    • Component/s: Init Scripts
    • Labels:
      None
    • Environment:

      Windows 7

      Description

      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]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                vineet.reynolds Vineet Reynolds
                Reporter:
                gastaldi George Gastaldi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: