[
https://jira.codehaus.org/browse/MDEPLOY-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=351755#comment-351755
]
Karl-Heinz Marbaise commented on MDEPLOY-181:
---------------------------------------------
I have checked the output via a test case which produces this:
{code:xml}
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:
org.apache.maven.plugins:maven-deploy-plugin:2.9-SNAPSHOT:deploy
(default-deploy)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<altDeploymentRepository>${altDeploymentRepository}</altDeploymentRepository>
<altReleaseDeploymentRepository>${altReleaseDeploymentRepository}</altReleaseDeploymentRepository>
<altSnapshotDeploymentRepository>${altSnapshotDeploymentRepository}</altSnapshotDeploymentRepository>
<artifact default-value="${project.artifact}"/>
<attachedArtifacts default-value="${project.attachedArtifacts}"/>
<deployAtEnd default-value="false">true</deployAtEnd>
<localRepository default-value="${localRepository}"/>
<offline default-value="${settings.offline}"/>
<packaging default-value="${project.packaging}"/>
<pomFile default-value="${project.file}"/>
<project default-value="${project}"/>
<reactorProjects default-value="${reactorProjects}"/>
<retryFailedDeploymentCount
default-value="1">${retryFailedDeploymentCount}</retryFailedDeploymentCount>
<skip default-value="false">true</skip>
<updateReleaseInfo
default-value="false">${updateReleaseInfo}</updateReleaseInfo>
</configuration>
[DEBUG] ============================
{code}
Added an IT which prooves the existence of the problem.
Added in [r1620139|http://svn.apache.org/r1620139].
> 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.9
>
>
> 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)