[
http://jira.codehaus.org/browse/MJBOSS-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=185276#action_185276
]
Benjamin Bentmann commented on MJBOSS-28:
-----------------------------------------
You could also configure a dedicated profile, say "jboss", in the EAR module's
POM that binds jboss:harddeploy to a lifecycle phase like integration-test.
Then, you could run "mvn clean install -P jboss" to get the desired effect of
only deploying the EAR.
> harddeploy should skip unconfigured POMs without failing
> --------------------------------------------------------
>
> Key: MJBOSS-28
> URL: http://jira.codehaus.org/browse/MJBOSS-28
> Project: Maven 2.x JBoss Plugin
> Issue Type: Improvement
> Reporter: David Wallace Croft
> Priority: Minor
>
> I would like to be able to do a clean compile and deploy to JBoss from the
> command line like this:
> mvn clean install jboss:harddeploy
> This works if the working directory does not have
> sub-directories/sub-modules. If it does have sub-modules, each must also
> have a configuration for the plug or it will fail. I have my directory
> structure like this, each with a POM:
> project (parent POM)
> project/war
> project/ejb
> project/ear
> The file I want to deploy is in the ear module but I would like to be able to
> run "mvn clean install jboss:harddeploy" from the parent directory level to
> clean compile everything and then just deploy ear module.
> Please change the harddeploy goal so that it silently skips or skips with a
> warning any module that does not have a plugin config. This will allow me to
> add a plugin config to just my ear module POM but run the mvn command at the
> parent level.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email