[jboss-jira] [JBoss JIRA] (JBASMP-67) add skip to every goal
Jorge Morales (JIRA)
issues at jboss.org
Thu Apr 10 13:36:13 EDT 2014
[ https://issues.jboss.org/browse/JBASMP-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12960904#comment-12960904 ]
Jorge Morales commented on JBASMP-67:
-------------------------------------
Missed to say that a warning is good, but if, and only if, doesn't try to invoke the cli. It is important that for those projects that are not jboss related, cli doesn't get called, and the sooner, the less time is spent in building.
> 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