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

Maven doesn't do strict model validation for POMs in the current reactor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.5, 2.0.8, 2.0.9
    • 2.0.10, 2.1.0
    • POM, Reactor and Workspace
    • None

    Description

      For example, adding a dependencyManagement section like the following doesn't result in a parser/validation error:

      <dependencyManagement>
        <dependencies>
          <groupId>org.group</groupId>
          <artifactId>foo</artifactId>
          <version>1</version>
        </dependencies>
      </dependencyManagement>
      

      Hint: It's missing the dependency element to contain the groupId/artifactId/version.

      This is probably a duplicate, but if so it looks like the original is buried somewhere deep...I can't find it.

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              jdcasey John Dennis Casey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: