effective-pom should resolve properties in submodules
-----------------------------------------------------

                 Key: MPH-85
                 URL: https://jira.codehaus.org/browse/MPH-85
             Project: Maven 2.x Help Plugin
          Issue Type: Improvement
    Affects Versions: 2.1.1
         Environment: mvn --version
Apache Maven 3.0.4-RC3 (r1210461; 2011-12-05 14:58:54+0100)
Maven home: /usr/local/Cellar/maven/current/libexec
Java version: 1.6.0_29, vendor: Apple Inc.
Java home: /Library/Java/JavaVirtualMachines/1.6.0_29-b11-402.jdk/Contents/Home
Default locale: de_DE, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.2", arch: "x86_64", family: "mac"
            Reporter: Mirko Friedenhagen
         Attachments: mfriedenhagen-multi-module-sample-6d3b71a.zip

When defining the {{scm}} in the parent and referencing it in the
module projects I would expect {{help:effective-pom}} to resolve these.

Right now running {{{mvn clean install site site:stage}}} is resolving
this IMO correctly as specified in {{source-repository.html}} 
while in the the output of {{help:effective-pom}} leaves the properties alone.

I have assembled a small multi-module project to show the effect.

Run
{code}
mvn clean install site site:stage
mvn help:effective-pom -Doutput=target/ep.xml
{code}

The original code may be seen at 
https://github.com/mfriedenhagen/multi-module-sample/tree/help-effective-pom

This is maybe somewhat related to MPIR-234.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to