Search in sources :

Example 6 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)6 ConnectionException (org.apache.maven.wagon.ConnectionException)3 IOException (java.io.IOException)2 ArtifactRepository (org.apache.maven.artifact.repository.ArtifactRepository)2 ResourceDoesNotExistException (org.apache.maven.wagon.ResourceDoesNotExistException)2 StreamingWagon (org.apache.maven.wagon.StreamingWagon)2 TransferFailedException (org.apache.maven.wagon.TransferFailedException)2 UnsupportedProtocolException (org.apache.maven.wagon.UnsupportedProtocolException)2 AuthenticationException (org.apache.maven.wagon.authentication.AuthenticationException)2 AuthenticationInfo (org.apache.maven.wagon.authentication.AuthenticationInfo)2 ProxyInfo (org.apache.maven.wagon.proxy.ProxyInfo)2 Repository (org.apache.maven.wagon.repository.Repository)2 File (java.io.File)1 FileInputStream (java.io.FileInputStream)1 FileOutputStream (java.io.FileOutputStream)1 FileWriter (java.io.FileWriter)1 InputStream (java.io.InputStream)1 OutputStream (java.io.OutputStream)1 PrintWriter (java.io.PrintWriter)1 UnknownHostException (java.net.UnknownHostException)1