src/java/fr/jayasoft/ivy/resolver/AbstractResourceResolver.java
/**
     * Output message to log indicating what have been done to look for an artifact which
     * has finally not been found
     * 
     * @param artifact the artifact which has not been found
     */
Output message to log indicating what have been done to look for an artifact which
has finally not been found

@param artifact the artifact which has not been found
Output message to log indicating what have been done to look for an artifact which has finally not been found @param artifact the artifact which has not been found
protected void logArtifactNotFound(Artifact artifact) {
        if (_artifactPatterns.isEmpty()) {
        	if (artifact.getUrl() == null) {
        		logArtifactAttempt(artifact, "no artifact pattern => no attempt to find artifact "+artifact);
        	}
        }
        Artifact used = artifact;
        if (isM2compatible()) {
        	used = DefaultArtifact.cloneWithAnotherMrid(artifact, convertM2IdForResourceSearch(artifact.getModuleRevisionId()));
        }
        for (Iterator iter = _artifactPatterns.iterator(); iter.hasNext();) {
            String pattern = (String)iter.next();
            String resolvedFileName = IvyPatternHelper.substitute(pattern, used);
            logArtifactAttempt(artifact, resolvedFileName);
        }
    	if (used.getUrl() != null) {
    		logArtifactAttempt(artifact, used.getUrl().toString());
    	}
    }
protected void logArtifactNotFound ( Artifact artifact ) { if ( _artifactPatterns . isEmpty ( ) ) { if ( artifact . getUrl ( ) == null ) { logArtifactAttempt ( artifact , "no artifact pattern => no attempt to find artifact " + artifact ) ; } } Artifact used = artifact ; if ( isM2compatible ( ) ) { used = DefaultArtifact . cloneWithAnotherMrid ( artifact , convertM2IdForResourceSearch ( artifact . getModuleRevisionId ( ) ) ) ; } for ( Iterator iter = _artifactPatterns . iterator ( ) ; iter . hasNext ( ) ; ) { String pattern = ( String ) iter . next ( ) ; String resolvedFileName = IvyPatternHelper . substitute ( pattern , used ) ; logArtifactAttempt ( artifact , resolvedFileName ) ; } if ( used . getUrl ( ) != null ) { logArtifactAttempt ( artifact , used . getUrl ( ) . toString ( ) ) ; } }
Output message to log indicating what have been done to look for an artifact which
 has finally not been found
Output message to log indicating what have been done to look for an artifact which has finally not been found