]
George Gastaldi closed FORGE-1572.
----------------------------------
Fix Version/s: (was: 3.x Future)
Resolution: Cannot Reproduce Bug
Doesn't seem to be reproduceable in the latest versions. Closing it. Reopen if the
problem persists
forge --install doesn't work on Windows Powershell
--------------------------------------------------
Key: FORGE-1572
URL:
https://issues.jboss.org/browse/FORGE-1572
Project: Forge
Issue Type: Bug
Components: UI - Shell, Windows
Affects Versions: 2.0.0.Final
Environment: Windows 7 x64, Powershell 2.0
Reporter: Adam WyĆuda
Priority: Minor
It seems that comma character is preprocessed by Powershell before it executes command.
{code}
C:\Users\Adam\forge-workspace\core [master]> forge --install org.jboss.forge.add
on:core,2.0.1-SNAPSHOT
Unknown option: 2.0.1-SNAPSHOT
java.lang.RuntimeException: Failed to look up versions for [org.jboss.forge.addo
n:org.jboss.forge.addon:core]
at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResol
ver.getVersions(MavenAddonDependencyResolver.java:269)
at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResol
ver.resolveVersions(MavenAddonDependencyResolver.java:147)
at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:229)
at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:150)
at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:93)
Caused by: java.lang.IllegalArgumentException: Bad artifact coordinates org.jbos
s.forge.addon:org.jboss.forge.addon:core:jar:forge-addon:[,), expected format is
<groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>
at org.eclipse.aether.artifact.DefaultArtifact.<init>(DefaultArtifact.ja
va:68)
at org.eclipse.aether.artifact.DefaultArtifact.<init>(DefaultArtifact.ja
va:51)
at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResol
ver.getVersions(MavenAddonDependencyResolver.java:262)
... 4 more
> Forge version [2.0.1-SNAPSHOT]
C:\Users\Adam\forge-workspace\core [master]>
{code}