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

                 Key: MNG-3645
                 URL: http://jira.codehaus.org/browse/MNG-3645
             Project: Maven 2
          Issue Type: Bug
          Components: POM, Reactor and workspace
    Affects Versions: 2.0.9
            Reporter: John Casey


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

{code:xml}
<dependencyManagement>
  <dependencies>
    <groupId>org.group</groupId>
    <artifactId>foo</artifactId>
    <version>1</version>
  </dependencies>
</dependencyManagement>
{code}

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to