Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1058

Allow the CLI to deploy maven projects

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • CLI
    • 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"

            jgreene@redhat.com Jason Greene
            ndipiazza66 blah mcgee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: