]
Brian Stansberry resolved WFLY-1058.
------------------------------------
Resolution: Won't Do
The wildfly-maven maven plugin allows deployment to WildFly from a maven build.
Integrating maven into the CLI would be a very large increase in the scope of the CLI in
order to cover a only somewhat different variation of the same use case.
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"