mirror of https://github.com/apache/archiva.git
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:
parent
fc3ea50031
commit
a1f72ea29b
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue