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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.9
    • 2.1.0-M1
    • None
    • None
    • 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
          Britton Isbell
        2. interpolator.it.patch
          27 kB
          Britton Isbell
        3. test.zip
          41 kB
          Sebastien Arbogast

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              sarbogast Sebastien Arbogast
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: