@Override public String toString() { return getArtifact() + " @ " + getRepositories(); }
@Override public String toString() { return getArtifact() + " @ " + getRepositories(); }
@Override public String toString() { return getArtifact() + " @ " + getRepositories(); }
private boolean isLocallyInstalled( LocalArtifactResult lar, VersionResult vr ) { if ( lar.isAvailable() ) { return true; } if ( lar.getFile() != null ) { if ( vr.getRepository() instanceof LocalRepository ) { // resolution of (snapshot) version found locally installed artifact return true; } else if ( vr.getRepository() == null && lar.getRequest().getRepositories().isEmpty() ) { // resolution of version range found locally installed artifact return true; } } return false; }
private boolean isLocallyInstalled( LocalArtifactResult lar, VersionResult vr ) { if ( lar.isAvailable() ) { return true; } if ( lar.getFile() != null ) { if ( vr.getRepository() instanceof LocalRepository ) { // resolution of (snapshot) version found locally installed artifact return true; } else if ( vr.getRepository() == null && lar.getRequest().getRepositories().isEmpty() ) { // resolution of version range found locally installed artifact return true; } } return false; }
for ( RemoteRepository repository : request.getRepositories() )
for ( RemoteRepository repository : request.getRepositories() )