Maven
  1. Maven
  2. MNG-3536

REGRESSION: pom.build.sourceDirectory in Maven 2.0.9: it doesn't work anymore

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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

      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

      1. test.zip
        41 kB
        Sebastien Arbogast
      2. interpolator.it.patch
        27 kB
        Shane Isbell
      3. core-integration-testing-plugins.patch
        2 kB
        Shane Isbell

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              John Casey
              Reporter:
              Sebastien Arbogast
            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development