[ http://jira.codehaus.org/browse/MNG-732?page=all ]

John Casey updated MNG-732:
---------------------------

    Remaining Estimate: 8 hours  (was: 1 day)
     Original Estimate: 28800  (was: 86400)

> Improve plugin configuration property merge algorithm
> -----------------------------------------------------
>
>          Key: MNG-732
>          URL: http://jira.codehaus.org/browse/MNG-732
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-core
>     Versions: 2.0-alpha-3
>     Reporter: Vincent Massol
>     Assignee: John Casey
>     Priority: Critical
>      Fix For: 2.0-beta-1

>
> Original Estimate: 8 hours
>         Remaining: 8 hours
>
> If the property are the same in the parent and the child project, then the 
> parent property is not inherited. This is fine for simple properties but 
> breaks for complex properties such as lists. Here's an example:
> My parent POM:
>   <build>
>     <pluginManagement>
>       <plugins>
>         <plugin>
>           <artifactId>maven-surefire-plugin</artifactId>
>           <configuration>
>             <systemProperties>
>               <property>
>                 <name>cargo.resin3x.port</name>
>                 <value>8280</value>
>               </property>
>               <property>
>                 <name>cargo.resin3x.url</name>
>                 <value>http://www.caucho.com/download/resin-3.0.9.zip</value>
>               </property>
>             </systemProperties>
>           </configuration>
>         </plugin>
>       </plugins>
>     </pluginManagement>
>   </build>
> My child POM:
>   <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <configuration>
>           <systemProperties>
>             <!-- Default list of containers to run on. If you want to shorten 
> or change the
>                  execution of 'samples', simply specify a shorter list of 
> containers on the
>                  command line or in your settings -->
>             <property>
>               <name>cargo.containers</name>
>               <value>resin3x, orion2x, tomcat5x, jetty4xEmbedded</value>
>             </property>
>             <!-- Location where to download and install the containers for 
> the tests -->
>             <property>
>               <name>cargo.install.dir</name>
>               <value>${basedir}/../../target/installs</value>
>             </property>
>           </systemProperties>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
> It sounds a reasonable expectations that the system properties will get 
> merged.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to