Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3536

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

    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

      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

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: