public class MavenDependencyResolverSettings extends Object
Constructor and Description |
---|
MavenDependencyResolverSettings()
Creates settings with default values
|
Modifier and Type | Method and Description |
---|---|
List<org.sonatype.aether.repository.RemoteRepository> |
getRemoteRepositories()
Gets remote repositories.
|
org.apache.maven.settings.Settings |
getSettings() |
boolean |
isOffline() |
boolean |
isUseMavenCentral() |
void |
setModelRemoteRepositories(org.apache.maven.model.Model model)
Sets a list of remote repositories using a POM model
|
void |
setOffline(boolean offline) |
void |
setSettings(org.apache.maven.settings.Settings settings) |
void |
setUseMavenCentral(boolean useMavenCentral) |
public MavenDependencyResolverSettings()
public List<org.sonatype.aether.repository.RemoteRepository> getRemoteRepositories()
public void setModelRemoteRepositories(org.apache.maven.model.Model model)
model
- the POM modelpublic org.apache.maven.settings.Settings getSettings()
public void setSettings(org.apache.maven.settings.Settings settings)
settings
- the settings to setpublic boolean isUseMavenCentral()
public void setUseMavenCentral(boolean useMavenCentral)
useMavenCentral
- the useMavenCentral to setpublic boolean isOffline()
public void setOffline(boolean offline)
offline
- the offline to setCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.