You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gayathri Muralidharan (JIRA)" <ji...@codehaus.org> on 2011/06/17 09:34:42 UTC
[jira] Created: (MDEPLOY-135) Add ability to skip deploying certain
modules from command line
Add ability to skip deploying certain modules from command line
---------------------------------------------------------------
Key: MDEPLOY-135
URL: http://jira.codehaus.org/browse/MDEPLOY-135
Project: Maven 2.x Deploy Plugin
Issue Type: New Feature
Components: deploy:deploy
Affects Versions: 2.6
Reporter: Gayathri Muralidharan
Priority: Minor
Hi,
Currently it is possible to skip certain modules during deployment by setting the config in the pom file.
( <skip> true </skip> )
Wouldn't it be nice to have the ability to mention this via command line like -Dmaven.deploy.skip= modules-to-be-skipped or something so that frequent changes to pom files are not required and this can be specified/modified easily from hudson?
Please correct me if this is already supported or if i am missing something here :)
Thanks,
Gayathri
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MDEPLOY-135) Add ability to skip deploying
certain modules from command line
Posted by "Gayathri Muralidharan (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MDEPLOY-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273809#comment-273809 ]
Gayathri Muralidharan commented on MDEPLOY-135:
-----------------------------------------------
Hi,
Can some one help us here?
Thanks,
Gayathri
> Add ability to skip deploying certain modules from command line
> ---------------------------------------------------------------
>
> Key: MDEPLOY-135
> URL: https://jira.codehaus.org/browse/MDEPLOY-135
> Project: Maven 2.x Deploy Plugin
> Issue Type: New Feature
> Components: deploy:deploy
> Affects Versions: 2.6
> Reporter: Gayathri Muralidharan
> Priority: Minor
>
> Hi,
> Currently it is possible to skip certain modules during deployment by setting the config in the pom file.
> ( <skip> true </skip> )
> Wouldn't it be nice to have the ability to mention this via command line like -Dmaven.deploy.skip= modules-to-be-skipped or something so that frequent changes to pom files are not required and this can be specified/modified easily from hudson?
> Please correct me if this is already supported or if i am missing something here :)
> Thanks,
> Gayathri
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MDEPLOY-135) Add ability to skip deploying certain modules
from command line
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MDEPLOY-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MDEPLOY-135.
----------------------------------
Resolution: Won't Fix
Assignee: Robert Scholte
Although I can't think of a usecase to only deploy a selection, here's a solution: Add something like the following to your pom:
{code:xml}
<project>
<properties>
<module1.deploy.skip>false</module1.deploy.skip> <!-- default -->
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>${module1.deploy.skip}</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
{code}
If you want to skip this module, add {{-Dmodule1.deploy.skip=true}}
> Add ability to skip deploying certain modules from command line
> ---------------------------------------------------------------
>
> Key: MDEPLOY-135
> URL: https://jira.codehaus.org/browse/MDEPLOY-135
> Project: Maven 2.x and 3.x Deploy Plugin
> Issue Type: New Feature
> Components: deploy:deploy
> Affects Versions: 2.6
> Reporter: Gayathri Muralidharan
> Assignee: Robert Scholte
> Priority: Minor
>
> Hi,
> Currently it is possible to skip certain modules during deployment by setting the config in the pom file.
> ( <skip> true </skip> )
> Wouldn't it be nice to have the ability to mention this via command line like -Dmaven.deploy.skip= modules-to-be-skipped or something so that frequent changes to pom files are not required and this can be specified/modified easily from hudson?
> Please correct me if this is already supported or if i am missing something here :)
> Thanks,
> Gayathri
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MDEPLOY-135) Add ability to skip deploying
certain modules from command line
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MDEPLOY-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273848#comment-273848 ]
Wendy Smoak commented on MDEPLOY-135:
-------------------------------------
It's generally better to ask questions on the mailing list, and then open a JIRA issue once you've confirmed that there is a bug or feature request to be reported. JIRA doesn't work very well for discussions. Re-post this on the user list and I bet you'll get some responses. http://maven.apache.org/mail-lists.html
> Add ability to skip deploying certain modules from command line
> ---------------------------------------------------------------
>
> Key: MDEPLOY-135
> URL: https://jira.codehaus.org/browse/MDEPLOY-135
> Project: Maven 2.x Deploy Plugin
> Issue Type: New Feature
> Components: deploy:deploy
> Affects Versions: 2.6
> Reporter: Gayathri Muralidharan
> Priority: Minor
>
> Hi,
> Currently it is possible to skip certain modules during deployment by setting the config in the pom file.
> ( <skip> true </skip> )
> Wouldn't it be nice to have the ability to mention this via command line like -Dmaven.deploy.skip= modules-to-be-skipped or something so that frequent changes to pom files are not required and this can be specified/modified easily from hudson?
> Please correct me if this is already supported or if i am missing something here :)
> Thanks,
> Gayathri
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira