]
James Perkins closed JBASMP-78.
-------------------------------
Resolution: Duplicate Issue
Requirement to ser JBOSS_HOME as soon as commands are executed
--------------------------------------------------------------
Key: JBASMP-78
URL:
https://issues.jboss.org/browse/JBASMP-78
Project: JBoss AS Maven Plugins
Issue Type: Bug
Components: common
Affects Versions: 7.7.Final
Environment: This at least happens on Windows Machines, Haven't tried on
Linux/Unix based machines.
Reporter: Christofer Dutz
If I run jboss-as:run without any configuration and no JBoss installed, the plugin
correctly downloads JBoss and unpacks it in my ear projects target directory. It also
correctly starts the server and tries to deploy the application. Unfortunately I need to
do some configuration first, so I added some "before-deployment" commands. Now
the build fails with a message, that the JBOSS_HOME variable isn't set. As soon as I
set it to the "target/jboss-as-run/jboss-as-7.1.1.Final" it is able to continue.
Would be good however if the plugin could already ensure the variable from being set.