[
https://jira.codehaus.org/browse/MDEPLOY-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MDEPLOY-181.
----------------------------------
Resolution: Not A Bug
Fix Version/s: (was: more-investigation)
Assignee: Robert Scholte
This is how configuration of a Maven plugin works. And actually: I like it.
This makes build much more predictable. If you really want the ability to
override it, then use properties.
> 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)
> Assignee: Robert Scholte
> Priority: Minor
>
> 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)