mirror of https://github.com/apache/maven.git
da3aa1090f
If a v3 POM is encountered (or any POM where modelVersion is != '4.0.0'), an InvalidModelException is thrown. This exception extends ProjectBuildingException, to enable piggybacking on the same catch() clause. When the MavenMetadataSource catches InvalidModelException, it returns a ResolutionGroup with the pomArtifact and empty collections for the pom dependency artifacts and the repository list with which to resolve the empty artifacts set. Also, added it0059 to test builds where a dependency POM is a v3 pom (missing <modelVersion/>). git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239981 13f79535-47bb-0310-9956-ffa450edef68 |
||
---|---|---|
.. | ||
src | ||
test-repo/test/test/3.8.1 | ||
expected-results.txt | ||
goals.txt | ||
pom.xml | ||
verifier.properties |