@Component(role=MavenRepositorySystem.class, hint="default") public class MavenRepositorySystem extends Object
Constructor and Description |
---|
MavenRepositorySystem() |
public MavenRepositorySystem()
public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type)
public Artifact createProjectArtifact(String groupId, String artifactId, String metaVersionId)
public Artifact createDependencyArtifact(Dependency d)
public Artifact createExtensionArtifact(String groupId, String artifactId, String version)
public Artifact createParentArtifact(String groupId, String artifactId, String version)
public Artifact createPluginArtifact(Plugin plugin)
public List<ArtifactRepository> getEffectiveRepositories(List<ArtifactRepository> repositories)
public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors)
public void injectMirror(List<ArtifactRepository> repositories, List<Mirror> mirrors)
public void injectMirror(org.eclipse.aether.RepositorySystemSession session, List<ArtifactRepository> repositories)
public void injectAuthentication(List<ArtifactRepository> repositories, List<Server> servers)
public void injectAuthentication(org.eclipse.aether.RepositorySystemSession session, List<ArtifactRepository> repositories)
public void injectProxy(org.eclipse.aether.RepositorySystemSession session, List<ArtifactRepository> repositories)
public static Repository fromSettingsRepository(Repository settingsRepository)
public static RepositoryPolicy fromSettingsRepositoryPolicy(RepositoryPolicy settingsRepositoryPolicy)
public static ArtifactRepository buildArtifactRepository(Repository repo) throws InvalidRepositoryException
InvalidRepositoryException
public static ArtifactRepository buildArtifactRepository(Repository repo) throws InvalidRepositoryException
InvalidRepositoryException
public static ArtifactRepositoryPolicy buildArtifactRepositoryPolicy(RepositoryPolicy policy)
public static ArtifactRepository createArtifactRepository(String id, String url, ArtifactRepositoryLayout repositoryLayout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases)
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.