/[Apache-SVN]
ViewVC logotype

Revision 239981


Jump to revision: Previous Next
Author: jdcasey
Date: Thu Aug 25 03:08:10 2005 UTC (19 years, 2 months ago)
Changed paths: 33
Log Message:
Resolving: MNG-666

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/>).


Changed paths

Path Details
Directorymaven/components/trunk/maven-core-it/README.txt modified , text changed
Directorymaven/components/trunk/maven-core-it/integration-tests.txt modified , text changed
Directorymaven/components/trunk/maven-core-it/it0059/ added
Directorymaven/components/trunk/maven-core-it/it0059/expected-results.txt added
Directorymaven/components/trunk/maven-core-it/it0059/goals.txt added
Directorymaven/components/trunk/maven-core-it/it0059/pom.xml added
Directorymaven/components/trunk/maven-core-it/it0059/src/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/main/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/main/java/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/main/java/org/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/main/java/org/apache/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/main/java/org/apache/maven/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/main/java/org/apache/maven/it0001/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/main/java/org/apache/maven/it0001/Person.java added
Directorymaven/components/trunk/maven-core-it/it0059/src/main/resources/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/main/resources/it0001.properties added
Directorymaven/components/trunk/maven-core-it/it0059/src/test/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/test/java/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/test/java/org/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/test/java/org/apache/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/test/java/org/apache/maven/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/test/java/org/apache/maven/it0001/ added
Directorymaven/components/trunk/maven-core-it/it0059/src/test/java/org/apache/maven/it0001/PersonTest.java added
Directorymaven/components/trunk/maven-core-it/it0059/test-repo/ added
Directorymaven/components/trunk/maven-core-it/it0059/test-repo/test/ added
Directorymaven/components/trunk/maven-core-it/it0059/test-repo/test/test/ added
Directorymaven/components/trunk/maven-core-it/it0059/test-repo/test/test/3.8.1/ added
Directorymaven/components/trunk/maven-core-it/it0059/test-repo/test/test/3.8.1/test-3.8.1.jar added
Directorymaven/components/trunk/maven-core-it/it0059/test-repo/test/test/3.8.1/test-3.8.1.pom added
Directorymaven/components/trunk/maven-core-it/it0059/verifier.properties added
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/InvalidModelException.java added
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26