Maven
  1. Maven
  2. MNG-3057

properties not expanded in generated POMs when building A/B/C nested projects

    Details

      Description

      Using Maven version: 2.0.8-SNAPSHOT, svn r547427.

      I checked out and built 2.0.8 because I was interested in Jason van Zyl's patch for MNG-2619- "building from the middle pom of a (parent,child,grandchild) heirarchy fails". The fix works for the most part, but there still seems to be a problem with the poms that get generated during the install goal. The poms that get installed into .m2/repository do not have properties interpolated. If I run maven like:

      $ mvn install -Dglobal-version=1.0.0

      I get poms with the string "$

      {global-version}

      " embedded in the resulting poms rather than what I specify on the command line (or in settings.xml). The build works properly aside from this, and if I do "mvn help:effective-pom" the properties are correctly interpolated.

      I've attached a tarfile with an example A/B/C build structure that exhibits this behavior, as well as the generated poms.

      Many thanks for your attention.

      1. example.tar.gz
        6 kB
      2. generated-poms.tar.gz
        2 kB
      3. InstallMojo.java.patch
        4 kB
        Henrik Brautaset Aronsen
      4. InstallMojo.java.patch
        3 kB
        Henrik Brautaset Aronsen
      5. InstallMojo.quoteReplacement.patch
        0.6 kB
        Henrik Brautaset Aronsen
      6. maven-dependency-problem.zip
        2 kB
        Henrik Brautaset Aronsen
      7. maven-install-parent.patch
        8 kB
        Henrik Brautaset Aronsen

        Issue Links

          Activity

          George Armhold created issue -
          Brett Porter made changes -
          Field Original Value New Value
          Fix Version/s 2.0.x [ 13141 ]
          Affects Version/s 2.0.8 [ 13139 ]
          Affects Version/s 2.0.7 [ 13138 ]
          garmhold made changes -
          Link This issue depends upon MNG-2619 [ MNG-2619 ]
          garmhold made changes -
          Link This issue depends upon MNG-2619 [ MNG-2619 ]
          garmhold made changes -
          Link This issue is related to MNG-2619 [ MNG-2619 ]
          garmhold made changes -
          Link This issue relates to MNG-2412 [ MNG-2412 ]
          Henrik Brautaset Aronsen made changes -
          Link This issue relates to MNG-2446 [ MNG-2446 ]
          Henrik Brautaset Aronsen made changes -
          Attachment InstallMojo.java.patch [ 35509 ]
          Henrik Brautaset Aronsen made changes -
          Link This issue relates to MNG-624 [ MNG-624 ]
          Henrik Brautaset Aronsen made changes -
          Attachment InstallMojo.java.patch [ 37086 ]
          Henrik Brautaset Aronsen made changes -
          Attachment maven-install-parent.patch [ 37742 ]
          Henrik Brautaset Aronsen made changes -
          Attachment InstallMojo.quoteReplacement.patch [ 37789 ]
          Robert Varttinen made changes -
          Link This issue is related to MNG-3782 [ MNG-3782 ]
          Brett Porter made changes -
          Fix Version/s 2.0.x [ 13141 ]
          Fix Version/s 2.1.0-M3 [ 14588 ]
          John Casey made changes -
          Assignee John Casey [ jdcasey ]
          John Casey made changes -
          Fix Version/s 2.1.0-M3 [ 14588 ]
          Fix Version/s 2.1.0-M2 [ 14587 ]
          John Casey made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          John Casey made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          John Casey made changes -
          Fix Version/s 2.2.0-M1 [ 14593 ]
          Original Estimate 0h [ 0 ]
          Remaining Estimate 0h [ 0 ]
          Fix Version/s 2.1.0 [ 14587 ]
          John Casey made changes -
          Link This issue is duplicated by MDEPLOY-94 [ MDEPLOY-94 ]
          John Casey made changes -
          Fix Version/s 2.2.0-M1 [ 14593 ]
          Fix Version/s 2.1.0 [ 14587 ]
          John Casey made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          John Casey made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          John Casey made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Benjamin Bentmann made changes -
          Link This issue is related to MNG-2820 [ MNG-2820 ]
          John Casey made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Benjamin Bentmann made changes -
          Link This issue is duplicated by MINSTALL-50 [ MINSTALL-50 ]
          Henrik Brautaset Aronsen made changes -
          Attachment maven-dependency-problem.zip [ 40905 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-4140 [ MNG-4140 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-2971 [ MNG-2971 ]
          John Casey made changes -
          Link This issue is related to MNG-4167 [ MNG-4167 ]
          John Casey made changes -
          Link This issue depends upon MNG-3538 [ MNG-3538 ]
          John Casey made changes -
          Link This issue depends upon MNG-3538 [ MNG-3538 ]
          John Casey made changes -
          Link This issue is related to MNG-3538 [ MNG-3538 ]
          John Casey made changes -
          Link This issue relates to MNG-4223 [ MNG-4223 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Link This issue is duplicated by MDEPLOY-94 [ MDEPLOY-94 ]
          Mark Thomas made changes -
          Link This issue is duplicated by MINSTALL-50 [ MINSTALL-50 ]
          Mark Thomas made changes -
          Workflow jira [ 12713552 ] Default workflow, editable Closed status [ 12755452 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Link This issue is duplicated by MDEPLOY-94 [ MDEPLOY-94 ]
          Mark Thomas made changes -
          Link This issue is duplicated by MINSTALL-50 [ MINSTALL-50 ]
          Mark Thomas made changes -
          Workflow jira [ 12953171 ] Default workflow, editable Closed status [ 12989050 ]

            People

            • Assignee:
              John Casey
              Reporter:
              George Armhold
            • Votes:
              9 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development