org.codehaus.mojo.wagon.shared
Class WagonUtils
java.lang.Object
org.codehaus.mojo.wagon.shared.WagonUtils
public class WagonUtils
- extends Object
Method Summary |
static org.apache.maven.wagon.Wagon |
createWagon(String id,
String url,
org.apache.maven.artifact.manager.WagonManager wagonManager,
org.apache.maven.settings.Settings settings,
org.apache.maven.plugin.logging.Log logger)
Convenient method to create a wagon |
protected static org.apache.maven.wagon.repository.RepositoryPermissions |
getPermissions(String id,
org.apache.maven.settings.Settings settings)
|
static org.apache.maven.wagon.proxy.ProxyInfo |
getProxyInfo(org.apache.maven.settings.Settings settings)
Convenience method to map a Proxy object from the user system settings to a ProxyInfo
object. |
static WagonFileSet |
getWagonFileSet(String includes,
String excludes)
|
static WagonFileSet |
getWagonFileSet(String fromDir,
String includes,
String excludes,
boolean isCaseSensitive,
String toDir)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WagonUtils
public WagonUtils()
createWagon
public static org.apache.maven.wagon.Wagon createWagon(String id,
String url,
org.apache.maven.artifact.manager.WagonManager wagonManager,
org.apache.maven.settings.Settings settings,
org.apache.maven.plugin.logging.Log logger)
throws org.apache.maven.wagon.WagonException,
org.apache.maven.wagon.UnsupportedProtocolException,
org.apache.maven.artifact.manager.WagonConfigurationException
- Convenient method to create a wagon
- Parameters:
id
- url
- wagonManager
- settings
- logger
-
- Returns:
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.wagon.WagonException
org.apache.maven.wagon.UnsupportedProtocolException
org.apache.maven.artifact.manager.WagonConfigurationException
getPermissions
protected static org.apache.maven.wagon.repository.RepositoryPermissions getPermissions(String id,
org.apache.maven.settings.Settings settings)
getWagonFileSet
public static WagonFileSet getWagonFileSet(String includes,
String excludes)
getWagonFileSet
public static WagonFileSet getWagonFileSet(String fromDir,
String includes,
String excludes,
boolean isCaseSensitive,
String toDir)
getProxyInfo
public static org.apache.maven.wagon.proxy.ProxyInfo getProxyInfo(org.apache.maven.settings.Settings settings)
- Convenience method to map a
Proxy
object from the user system settings to a ProxyInfo
object.
- Returns:
- a proxyInfo object or null if no active proxy is define in the settings.xml
Copyright © 2008-2012 The Kuali Foundation. All Rights Reserved.