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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.0.8, 2.0.9
    • Fix Version/s: 2.0.10, 2.1.0
    • Component/s: POM, Reactor and workspace
    • Labels:
      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

              • Assignee:
                jdcasey John Casey
                Reporter:
                jdcasey John Casey
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: