Open
Description
Reproducing:
- run docker, like debian slim
- download and unpacking galleon 6.0.0+
- run:
galleon/bin/galleon.sh install wildfly:current#32.0.1.Final
Error:
`Error: org.jboss.galleon.universe.maven.MavenUniverseException: Failed to resolve Maven universe org.jboss.universe:community-universe
- Failed to resolve Maven universe org.jboss.universe:community-universe
- Failed to determine the latest version of org.jboss.universe:community-universe:jar:[0.0,). Make sure the remote Maven repository is properly configured and available.`
Problem is in code:
this uses
PropertyUtils.getSystemProperty("user.home")
which is not set correctly in the docker image
I think a better solution would be to use the $HOME environment or similar, or maybe try to set "user.home" in the galleon.sh
script.
Current workaround is set manually:
JAVA_OPTS=-Duser.home=$HOME galleon/bin/galleon.sh install wildfly:current#32.0.1.Final
Metadata
Metadata
Assignees
Labels
No labels