give more information for discovery problems

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@424587 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2006-07-22 14:48:16 +00:00
parent fc3ea50031
commit a1f72ea29b
1 changed files with 3 additions and 2 deletions

View File

@ -140,12 +140,13 @@ public class DefaultArtifactDiscoverer
// poor encapsulation requires we do this to populate base version
if ( !result.isSnapshot() )
{
throw new DiscovererException( "Failed to create a snapshot artifact" );
throw new DiscovererException( "Failed to create a snapshot artifact: " + result );
}
else if ( !result.getBaseVersion().equals( version ) )
{
throw new DiscovererException(
"Built snapshot artifact base version does not match " + "path version" );
"Built snapshot artifact base version does not match path version: " + result +
"; should have been version: " + version );
}
else
{