-
Feature Request
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
Allow users to deploy Maven projects directly from the CLI.
Create a new command "mavendeploy"
This will take a pom.xml for a war, ear or ejb project and will maven build, then deploy to the server using the DeployHandler.
First iteration of this would take same parameters as "deploy" except for one, --goals that specifies what goals to build the project with before deploying. (this makes it so you can clean before install, or just install, or call whatever goal that is needed to build the artifact).
Examples:
[standalone@localhost:9999 /] mavendeploy C:\workspace\test-webapp\pom.xml
[standalone@localhost:9999 /] mavendeploy C:\workspace\test-webapp\pom.xml --goals="clean install"