org.apache.maven.artifact.manager
public class DefaultWagonManager extends AbstractLogEnabled implements WagonManager, Contextualizable
Method Summary | |
---|---|
void | addAuthenticationInfo(String repositoryId, String username, String password, String privateKey, String passphrase) |
void | addConfiguration(String repositoryId, Xpp3Dom configuration) |
void | addMirror(String id, String mirrorOf, String url) |
void | addPermissionInfo(String repositoryId, String filePermissions, String directoryPermissions) |
void | addProxy(String protocol, String host, int port, String username, String password, String nonProxyHosts)
Set the proxy used for a particular protocol.
|
void | contextualize(Context context) |
void | getArtifact(Artifact artifact, List remoteRepositories) |
void | getArtifact(Artifact artifact, ArtifactRepository repository) |
void | getArtifactMetadata(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy) |
AuthenticationInfo | getAuthenticationInfo(String id) |
ArtifactRepository | getMirror(String mirrorOf) |
ProxyInfo | getProxy(String protocol) |
Wagon | getWagon(String protocol) |
boolean | isOnline() |
void | putArtifact(File source, Artifact artifact, ArtifactRepository repository) |
void | putArtifactMetadata(File source, ArtifactMetadata artifactMetadata, ArtifactRepository repository) |
void | setDownloadMonitor(TransferListener downloadMonitor) |
void | setInteractive(boolean interactive) |
void | setOnline(boolean online) |
Parameters: protocol the protocol (required) host the proxy host name (required) port the proxy port (required) username the username for the proxy, or null if there is none password the password for the proxy, or null if there is none nonProxyHosts the set of hosts not to use the proxy for. Follows Java system
property format: *.foo.com|localhost
.
UNKNOWN: [BP] would be nice to configure this via plexus in some way
UNKNOWN: I'd rather not be setting this explicitly.