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

Repositories' <uniqueVersion> tag is not inhertied to child POMs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-3
    • 2.0 (RC)
    • Plugins and Lifecycle
    • None
    • Fedora Core 4, JDK 1.5.0_05

    Description

      If you define the following distribution management in a parent POM, child POMs will inherit the repository definition, but the <uniqueVersion> value is reset back to "true".

      Here's a snippet of what I used in the parent POM:
      <distributionManagement>
      <repository>
      <id>corleon</id>
      <name>Corleon Software Foundation (CSF) internal repository</name>
      <url>file:///maven-repo</url>
      <layout>default</layout>
      <uniqueVersion>false</uniqueVersion>
      </repository>
      </distributionManagement>

      If I copy the snippet into the child POM, it works as expected.

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              arikkfir Arik Kfir
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: