-
Bug
-
Resolution: Done
-
Minor
-
2.0.0.Beta3
-
None
-
Workaround Exists
-
The instructions in the examples' readme files says, e.g. :
Deploying to JBoss AS --------------------- Make sure you have assigned the absolute path of your JBoss AS installation to the JBOSS_HOME environment variable. To deploy the example run: mvn jboss-as:run Now you can view the application at <http://localhost:8080/weld-numberguess>.
This is imprecise, running "mvn jboss-as:run" will ignore JBOSS_HOME property and download AS 7.1.1.
workaround is to add -Djboss-as.home=${JBOSS_HOME}
(I am not sure if the readme files should be changed, or the jboss-as-maven-plugin to be configured to read the JBOSS_HOME property)
see http://docs.jboss.org/jbossas/7/plugins/maven/final/run-mojo.html#jbossHome