mirror of https://github.com/apache/maven.git
PR: MNG-1443
Submitted By: Edwin Punzalan Reviewed By: John Casey Applied the patch, which changes the ArtifactResolutionException to ArtifactNotFoundException for a missing POM when the system is offline. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354640 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c54202821e
commit
790f8f8fed
|
@ -109,7 +109,7 @@ public class DefaultArtifactResolver
|
|||
{
|
||||
if ( !wagonManager.isOnline() )
|
||||
{
|
||||
throw new ArtifactResolutionException( "System is offline.", artifact );
|
||||
throw new ArtifactNotFoundException( "System is offline.", artifact );
|
||||
}
|
||||
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue