congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ArtifactRepository.isBlacklisted
Code IndexAdd Tabnine to your IDE (free)

How to use
isBlacklisted
method
in
org.apache.maven.artifact.repository.ArtifactRepository

Best Java code snippets using org.apache.maven.artifact.repository.ArtifactRepository.isBlacklisted (Showing top 4 results out of 315)

origin: jenkinsci/maven-plugin

public boolean isBlacklisted()
{
  return artifactRepository.isBlacklisted();
}
public void setBlacklisted( boolean blackListed )
origin: org.jvnet.hudson.main/maven-plugin

public boolean isBlacklisted()
{
  return artifactRepository.isBlacklisted();
}
public void setBlacklisted( boolean blackListed )
origin: org.apache.maven.plugins/maven-project-info-reports-plugin

if ( repo.isBlacklisted() )
origin: org.apache.continuum/continuum-artifact-manager

public void getArtifact( Artifact artifact,
             ArtifactRepository repository )
  throws TransferFailedException, ResourceDoesNotExistException
{
  String remotePath = repository.pathOf( artifact );
  ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
  if ( !policy.isEnabled() )
  {
    getLogger().debug( "Skipping disabled repository " + repository.getId() );
  }
  else if ( repository.isBlacklisted() )
  {
    getLogger().debug( "Skipping blacklisted repository " + repository.getId() );
  }
  else
  {
    getLogger().debug( "Trying repository " + repository.getId() );
    getRemoteFile( getMirrorRepository( repository ), artifact.getFile(), remotePath, downloadMonitor,
            policy.getChecksumPolicy(), false );
    getLogger().debug( "  Artifact resolved" );
    artifact.setResolved( true );
  }
}
org.apache.maven.artifact.repositoryArtifactRepositoryisBlacklisted

Popular methods of ArtifactRepository

  • getBasedir
  • pathOf
  • getUrl
  • getId
  • getLayout
  • getSnapshots
  • getReleases
  • find
  • pathOfLocalRepositoryMetadata
  • getAuthentication
  • getProtocol
  • pathOfRemoteRepositoryMetadata
  • getProtocol,
  • pathOfRemoteRepositoryMetadata,
  • setAuthentication,
  • getProxy,
  • setProxy,
  • setUrl,
  • setId,
  • setLayout,
  • findVersions

Popular in Java

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now