Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0.9
-
Fix Version/s: 2.1.0-M1
-
Component/s: None
-
Labels:None
-
Environment:MacOSX, Java 6, Maven 2.0.9
-
Complexity:Intermediate
-
Number of attachments :
Description
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
Bug fix here: https://svn.apache.org/repos/asf/maven/sandbox/branches/MNG-3536
This is part of a rewrite of the interpolation code.