Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.5, 2.0.8, 2.0.9
-
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
- is duplicated by
-
MNG-2747 Maven doesn't detect invalid dependency descriptions in the pom
- Closed
- relates to
-
MNG-4019 Unrecognised association "exclude" in pom parsing <resource><directory><excludes> in 2.0.10-RC10
- Closed
-
MNG-3616 Null Pointer Exception when mirrorOf missing from mirror in settings.xml
- Closed
-
MNG-4644 Misplaced text contents in root element of POM is not rejected by parser
- Closed
- supercedes
-
MNG-1678 missing element does not trigger any warning
- Closed
-
MNG-2816 Pom without xsd import is not validated
- Closed