[ 
https://jira.codehaus.org/browse/MDEPLOY-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=351823#comment-351823
 ] 

Karl-Heinz Marbaise commented on MDEPLOY-181:
---------------------------------------------

A simple work a round at the moment is to define a property within your pom 
file:

{code:xml}
 <properties>
   <deployAtEnd>true<deployAtEnd>
 </properties>
 ...
 <deployAtEnd>${deployAtEnd}</deployAtEnd>
{code}
This should work to override this via command line:
{code}
mvn clean deploy -DdeployAtEnd=false
{code}


> DeployAtEnd cannot be overwritten from command line using -DdeployAtEnd=false
> -----------------------------------------------------------------------------
>
>                 Key: MDEPLOY-181
>                 URL: https://jira.codehaus.org/browse/MDEPLOY-181
>             Project: Maven Deploy Plugin
>          Issue Type: Bug
>          Components: deploy:deploy
>    Affects Versions: 2.8.1
>         Environment: Maven 3.2.1 on Mac OSX 10.9.2
>            Reporter: Christian Lipphardt (camunda)
>            Priority: Minor
>             Fix For: 2.8.2
>
>
> 1. Declare the maven-deploy-plugin and as configuration, add 
> <deployAtEnd>true</deployAtEnd>.
> 2. Override deployAtEnd property using the command line argument 
> '-DdeployAtEnd=false'.
> 3. Deploy plugin still wants to deploy all artifacts at the end.
> Expected behaviour:
> Deploy plugin honors command line argument '-DdeployAtEnd=false'.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to