Tabnine Logo
ArtifactRepository.getProtocol
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: apache/maven

private org.apache.maven.settings.Proxy getProxy( ArtifactRepository repository,
                         List<org.apache.maven.settings.Proxy> proxies )
{
  if ( proxies != null && repository.getProtocol() != null )
  {
    for ( org.apache.maven.settings.Proxy proxy : proxies )
    {
      if ( proxy.isActive() && repository.getProtocol().equalsIgnoreCase( proxy.getProtocol() ) )
      {
        if ( StringUtils.isNotEmpty( proxy.getNonProxyHosts() ) )
        {
          ProxyInfo pi = new ProxyInfo();
          pi.setNonProxyHosts( proxy.getNonProxyHosts() );
          org.apache.maven.wagon.repository.Repository repo =
            new org.apache.maven.wagon.repository.Repository( repository.getId(), repository.getUrl() );
          if ( !ProxyUtils.validateNonProxyHosts( pi, repo.getHost() ) )
          {
            return proxy;
          }
        }
        else
        {
          return proxy;
        }
      }
    }
  }
  return null;
}
origin: apache/maven

throws TransferFailedException
String protocol = repository.getProtocol();
origin: apache/maven

throws TransferFailedException, ResourceDoesNotExistException
String protocol = repository.getProtocol();
origin: org.jvnet.hudson.main/maven-plugin

public String getProtocol()
{
  return artifactRepository.getProtocol();
}
public String getId()
origin: jenkinsci/maven-plugin

public String getProtocol()
{
  return artifactRepository.getProtocol();
}
public String getId()
origin: org.apache.maven.plugins/maven-gpg-plugin

  repositoryFactory.createDeploymentArtifactRepository( repositoryId, url, layout, uniqueVersion );
if ( StringUtils.isEmpty( deploymentRepository.getProtocol() ) )
origin: com.webcohesion.enunciate/enunciate-slim-maven-plugin

String protocol = repo.getProtocol();
origin: stoicflame/enunciate

String protocol = repo.getProtocol();
origin: org.codehaus.enunciate/maven-enunciate-slim-plugin

String protocol = repo.getProtocol();
origin: org.apache.continuum/continuum-artifact-manager

String protocol = repository.getProtocol();
origin: org.apache.continuum/continuum-artifact-manager

String protocol = repository.getProtocol();
Wagon wagon;
try
org.apache.maven.artifact.repositoryArtifactRepositorygetProtocol

Popular methods of ArtifactRepository

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • findViewById (Activity)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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