Package org.apache.maven.artifact.manager

Examples of org.apache.maven.artifact.manager.WagonProviderMapping


        finally
        {
            container.release( wagonManager );
        }
       
        WagonProviderMapping mapping = (WagonProviderMapping) container.lookup( WagonProviderMapping.ROLE );
        try
        {
            // set defaults
            mapping.setWagonProvider( "http", "lightweight" );
            mapping.setWagonProvider( "https", "lightweight" );

            for ( Object k: executionProperties.keySet() )
            {
                String key = (String) k;
                if ( key.startsWith( "maven.wagon.provider." ) )
                {
                    String provider = executionProperties.getProperty( key );
                    key = key.substring( "maven.wagon.provider.".length() );
                   
                    mapping.setWagonProvider( key, provider );
                }
            }
        }
        finally
        {
View Full Code Here

TOP

Related Classes of org.apache.maven.artifact.manager.WagonProviderMapping

Copyright © 2018 www.massapicom. 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.