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

Optional tag in dependencyManagement is not inherited in the children projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • Plugins and Lifecycle
    • None

    Description

      If I put this in the parent pom, all the subprojects should inherit the optional tag (and be able to override it)

      <dependencyManagement>
      <dependencies>
      <dependency>
      <groupId>cglib</groupId>
      <artifactId>cglib</artifactId>
      <version>2.1_2</version>
      <optional>true</optional>
      </dependency>
      </dependencies>
      </dependencyManagement>

      it test attached

      Attachments

        1. MNG-1630-maven-project.patch
          1 kB
          Edwin Punzalan
        2. MNG-1630-maven-artifact.patch
          2 kB
          Edwin Punzalan
        3. it1020.patch
          39 kB
          Carlos Sanchez Gonzalez

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              carlos Carlos Sanchez Gonzalez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: