[jboss-jira] [JBoss JIRA] (JBASMP-67) add skip to every goal

Jorge Morales (JIRA) issues at jboss.org
Thu Apr 10 08:22:14 EDT 2014


Jorge Morales created JBASMP-67:
-----------------------------------

             Summary: add skip to every goal
                 Key: JBASMP-67
                 URL: https://issues.jboss.org/browse/JBASMP-67
             Project: JBoss AS Maven Plugins
          Issue Type: Feature Request
          Components: common
    Affects Versions: 7.5.Final
            Reporter: Jorge Morales
            Assignee: James Perkins


When running in multimodule project and only some of them has interactions with JBoss AS, we need to disable plugin execution on the rest of projects.

For this, we define plugin behavior on top parent pom, within pluginManagement, and set skip=true, and on the projects that interact with jboss-as, we enable the plugin (skip=false). This way we deploy and undeploy correctly, but when we run execute-commands from top projects, it fails, because although plugin is disabled, it runs this goal, and since it doesn't have commands configured, gives a nice NullPointerException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list