[ 
http://jira.codehaus.org/browse/MNG-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Casey reopened MNG-3536:
-----------------------------


plugin configuration that uses ${project.build.outputDirectory}/foo will still 
fail in the current 2.0.10-RC codebase, since this will resolve to:

${project.build.directory}/classes/foo

when delegated within the PathTranslatingValueSource. This translating value 
source will then attempt to align that value to the base directory, which is 
incorrect. Rather, the expression needs further recursion to resolve 
project.build.directory before attempting to align to the base directory.

I'll have to look into why out current unit/integration tests don't test for 
this problem.

> REGRESSION: pom.build.sourceDirectory in Maven 2.0.9: it doesn't work anymore
> -----------------------------------------------------------------------------
>
>                 Key: MNG-3536
>                 URL: http://jira.codehaus.org/browse/MNG-3536
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>         Environment: MacOSX, Java 6, Maven 2.0.9
>            Reporter: Sébastien Arbogast
>            Assignee: John Casey
>            Priority: Critical
>             Fix For: 2.0.10
>
>         Attachments: core-integration-testing-plugins.patch, 
> interpolator.it.patch, test.zip
>
>
> On one of my projects, I have the following property:
>  
> <model.uri>file:${project.build.sourceDirectory}/myapp.xmi</model.uri>
>  
> Knowing that in the same POM, sourceDirectory is configured that way:
>  
> <sourceDirectory>${project.basedir}/src/main/uml</sourceDirectory>
>  
> With Maven 2.0.8, model.uri was correctly mapped to 
> /Users/sarbogast/dev/myapp/src/main/uml/myapp.xmi
> But with Maven 2.0.9, now it's mapped to 
> /Users/sarbogast/dev/myapp/Users/sarbogast/dev/myapp/src/main/uml/myapp.xmi, 
> which is not good at all.
>  
> I have attached a test project that builds with Maven 2.0.8 but not with 
> Maven 2.0.9.
> It's not the simplest project ever but it's a real AndroMDA skeleton project.
> All the configuration is in mda/pom.xml

-- 
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


Reply via email to