Package org.sam.doubleshot

Source Code of org.sam.doubleshot.ManualWagonProvider

// This class was lifted from the JBundler project:
// https://github.com/mkristian/jbundler

package org.sam.doubleshot;

import org.apache.maven.wagon.Wagon;
import org.apache.maven.wagon.providers.http.HttpWagon;
import org.sonatype.aether.connector.wagon.WagonProvider;

public class ManualWagonProvider implements WagonProvider {

    public Wagon lookup( String roleHint )
        throws Exception {
        if ( "http".equals( roleHint ) ) {
            return new HttpWagon();
        }
        return null;
    }

    public void release( Wagon wagon ) {

    }

}
TOP

Related Classes of org.sam.doubleshot.ManualWagonProvider

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.