[ 
https://issues.apache.org/jira/browse/MINSTALL-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MINSTALL-108.
-----------------------------------
       Resolution: Invalid
         Assignee: Robert Scholte
    Fix Version/s:     (was: more-investigation)

This is by design of Maven. If you give a parameter an explicit value inside 
the plugins configuration, it cannot be overwritten. Instead you can do the 
following:

{code:xml}
<properties>
  <installAtEnd>true</installAtEnd> <!-- new default value -->
</prroperties>
{code}


> installAtEnd cannot be overwritten from command line using 
> -DinstallAtEnd=false
> -------------------------------------------------------------------------------
>
>                 Key: MINSTALL-108
>                 URL: https://issues.apache.org/jira/browse/MINSTALL-108
>             Project: Maven Install Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5.2
>            Reporter: Karl Heinz Marbaise
>            Assignee: Robert Scholte
>            Priority: Critical
>
> 1. Declare the maven-install-plugin and as configuration, add 
> <installAtEnd>true</installAtEnd>.
> 2. Override installAtEnd property using the command line argument 
> '-DinstallAtEnd=false'.
> 3. Install plugin still wants to install all artifacts at the end.
> Expected behaviour:
> Deploy plugin honors command line argument '-DinstallAtEnd=false'.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to