Uploaded image for project: 'WildFly Maven Plugin'
  1. WildFly Maven Plugin
  2. WFMP-141

Can't deploy without packaging

XMLWordPrintable

      We are in a context where the Maven plugin is configured in pom file with an execution of the package goal (provision/configure the server and deploy the application).

      • mvn clean package has been called, a server is provisioned in target/server.
      • The server is started in background: target/server/bin/standalone.sh &
      • We want to make change to the src and have the application be re-package and re-deployed.
      • Calling mvn wildfly:deploy implies package that implies re-packaging of the server and app. That is not what we want.

      We need a way to disable wildfly:package goal.

      Something like: mvn wildfly:deploy -Dwildfly.package.skip=true

      Today the skip property is "wildfly.skip". It must be of a finer grain to identify the goal that also provision a server. We should have:

      -Dwildfly.package.skip=true|false and -Dwildfly.provision.skip=true|false

              jdenise@redhat.com Jean Francois Denise
              jdenise@redhat.com Jean Francois Denise
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: