Codota Logo
ArtifactRepository.setLayout
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain ArtifactRepository
private void myMethod () {
ArtifactRepository a =
  • Codota IconMavenSession session;session.getLocalRepository()
  • Codota IconArtifact artifact;artifact.getRepository()
  • Codota IconEnforcerRuleHelper helper;(ArtifactRepository) helper.evaluate("${localRepository}")
  • Smart code suggestions by Codota
}
origin: apache/maven

private void injectMirror( ArtifactRepository repository, Mirror mirror )
{
  if ( mirror != null )
  {
    ArtifactRepository original =
      createArtifactRepository( repository.getId(), repository.getUrl(), repository.getLayout(),
                   repository.getSnapshots(), repository.getReleases() );
    repository.setMirroredRepositories( Collections.singletonList( original ) );
    repository.setId( mirror.getId() );
    repository.setUrl( mirror.getUrl() );
    if ( StringUtils.isNotEmpty( mirror.getLayout() ) )
    {
      repository.setLayout( getLayout( mirror.getLayout() ) );
    }
  }
}
origin: apache/maven

private void injectMirror( ArtifactRepository repository, Mirror mirror )
{
  if ( mirror != null )
  {
    ArtifactRepository original =
      createArtifactRepository( repository.getId(), repository.getUrl(), repository.getLayout(),
                   repository.getSnapshots(), repository.getReleases() );
    repository.setMirroredRepositories( Collections.singletonList( original ) );
    repository.setId( mirror.getId() );
    repository.setUrl( mirror.getUrl() );
    if ( StringUtils.isNotEmpty( mirror.getLayout() ) )
    {
      repository.setLayout( getLayout( mirror.getLayout() ) );
    }
  }
}
origin: org.jvnet.hudson.main/maven-plugin

public void setLayout( ArtifactRepositoryLayout layout )
{
  artifactRepository.setLayout( layout );
}
public String getKey()
origin: jenkinsci/maven-plugin

public void setLayout( ArtifactRepositoryLayout layout )
{
  artifactRepository.setLayout( layout );
}
public String getKey()
org.apache.maven.artifact.repositoryArtifactRepositorysetLayout

Popular methods of ArtifactRepository

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Menu (java.awt)
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now