Remove the internal fail-fast behavior and allow the collection of all problems -------------------------------------------------------------------------------
Key: MARTIFACT-2 URL: http://jira.codehaus.org/browse/MARTIFACT-2 Project: Maven Artifact Issue Type: Improvement Reporter: Jason van Zyl We need a mechanism that makes it flexible to change how the resolver works but not keep increasing the number of signatures: ArtifactResolutionResult result = artifactResolver.resolve( artifactResolutionRequest ); So this just removes the many signatures required to perform differently. Based on the request the artifactResolver responses appropriately. So I'm following the pattern we have in the embedder where you have a request that can be constructed in a ruby-esque way: ArtifactResolutionRequest request = new ArtifactResolutionRequest() .setArtifact( projectArtifact ) .setArtifactDependencies( project.getDependencyArtifacts() ) .setLocalRepository( localRepository ) .setRemoteRepostories( project.getRemoteArtifactRepositories() ) .setManagedVersionMap( managedVersions ) .setMetadataSource( artifactMetadataSource ); ArtifactResolutionResult result = artifactResolver.resolve( request ); This will greatly reduce the confusion from people using the resolver. -- 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