]
Brian Stansberry updated WFLY-1058:
-----------------------------------
Component/s: CLI
(was: Server)
Allow the CLI to deploy maven projects
--------------------------------------
Key: WFLY-1058
URL:
https://issues.jboss.org/browse/WFLY-1058
Project: WildFly
Issue Type: Feature Request
Components: CLI
Reporter: Nicholas DiPiazza
Assignee: Jason Greene
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"