Search in sources :

Example 16 with Wagon

use of org.apache.maven.wagon.Wagon in project sonatype-aether by sonatype.

the class WagonRepositoryConnector method close.

public void close() {
    closed = true;
    for (Wagon wagon = wagons.poll(); wagon != null; wagon = wagons.poll()) {
        disconnectWagon(wagon);
        releaseWagon(wagon);
    }
    shutdown(executor);
}
Also used : StreamingWagon(org.apache.maven.wagon.StreamingWagon) Wagon(org.apache.maven.wagon.Wagon)

Aggregations

Wagon (org.apache.maven.wagon.Wagon)16 WagonFactoryRequest (org.apache.archiva.proxy.common.WagonFactoryRequest)6 ConnectionException (org.apache.maven.wagon.ConnectionException)5 ProxyInfo (org.apache.maven.wagon.proxy.ProxyInfo)4 Repository (org.apache.maven.wagon.repository.Repository)4 NetworkProxy (org.apache.archiva.admin.model.beans.NetworkProxy)3 ArchivaConfiguration (org.apache.archiva.configuration.ArchivaConfiguration)3 Configuration (org.apache.archiva.configuration.Configuration)3 ManagedRepositoryConfiguration (org.apache.archiva.configuration.ManagedRepositoryConfiguration)3 ProxyConnectorConfiguration (org.apache.archiva.configuration.ProxyConnectorConfiguration)3 RemoteRepositoryConfiguration (org.apache.archiva.configuration.RemoteRepositoryConfiguration)3 WagonFactory (org.apache.archiva.proxy.common.WagonFactory)3 ArtifactRepository (org.apache.maven.artifact.repository.ArtifactRepository)3 TransferFailedException (org.apache.maven.wagon.TransferFailedException)3 UnsupportedProtocolException (org.apache.maven.wagon.UnsupportedProtocolException)3 AuthenticationInfo (org.apache.maven.wagon.authentication.AuthenticationInfo)3 Before (org.junit.Before)3 ContextConfiguration (org.springframework.test.context.ContextConfiguration)3 File (java.io.File)2 IOException (java.io.IOException)2