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

Properties inside <dependency> are not replaced in resulting POM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.9
    • None
    • None
    • None

    Description

      When I use the following dependency definition, the correct classifier is used during build; however, when the project POM file is deployed to the repository, it still contains the property name, not the replaced value:

      <dependency>
      <groupId>someGroup</groupId>
      <artifactId>someArtifact</artifactId>
      <version>3.3.0</version>
      <classifier>${myproperty.arch}</classifier>
      </dependency>

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              ondrejpar Ondrej Par
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: