Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0.4
-
None
-
None
Description
I added a dependency to a module a couple of days ago. I did it just a tad too quickly (copy and paste from dependency management), and forgot to enclose with the dependency tag, i.e. I had the following structure:
<dependencies>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependencies>
So - what happened when I did an "mvn install" the dependency was ignored rather than producing an error message as the pom was actually valid xml. It would be nice to have some defaulting of xsd if none was specified.
Attachments
Issue Links
- is superceded by
-
MNG-3645 Maven doesn't do strict model validation for POMs in the current reactor
- Closed