public final class MavenSettings extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MavenSettings.DownloadStrategy |
static class |
MavenSettings.OutputTabName |
Modifier and Type | Field and Description |
---|---|
static String |
PROP_NETWORK_PROXY |
static String |
PROP_PROJECTNODE_NAME_PATTERN |
public static final String PROP_PROJECTNODE_NAME_PATTERN
public static final String PROP_NETWORK_PROXY
public static MavenSettings getDefault()
public boolean isInteractive()
public Boolean isOffline()
public boolean isShowDebug()
public boolean isShowErrors()
public boolean isUpdateSnapshots()
public String getDefaultOptions()
public void setDefaultOptions(String options)
public boolean isVMOptionsWrap()
public void setVMOptionsWrap(boolean b)
public String getDefaultJdk()
public void setDefaultJdk(String jdk)
public String getLastArchetypeGroupId()
public void setLastArchetypeGroupId(String groupId)
public boolean isSkipTests()
public void setSkipTests(boolean skipped)
public boolean isAlwaysShowOutput()
public void setAlwaysShowOutput(boolean show)
public boolean isShowLoggingLevel()
public void setShowLoggingLevel(boolean show)
public boolean isReuseOutputTabs()
public void setReuseOutputTabs(boolean reuse)
public String getLastArchetypeVersion()
public void setLastArchetypeVersion(String version)
public void setProjectNodeNamePattern(String pattern)
public String getProjectNodeNamePattern()
public boolean isPreferMavenWrapper()
public void setPreferMavenWrapper(boolean preferWrapper)
public boolean isUseBestMaven()
public void setUseBestMaven(boolean bestMaven)
public boolean isUseBestMavenAltLocation()
public void setUseBestMavenAltLocation(boolean bestMavenAltLocation)
public void setBestMavenAltLocation(String location)
public String getBestMavenAltLocation()
public boolean isCollapseSuccessFolds()
public void setCollapseSuccessFolds(boolean collapse)
public void setOutputTabShowConfig(boolean selected)
public boolean isOutputTabShowConfig()
public MavenSettings.OutputTabName getOutputTabName()
public void setOutputTabName(MavenSettings.OutputTabName ds)
public void addWeakPropertyChangeListener(PropertyChangeListener l)
public MavenSettings.DownloadStrategy getSourceDownloadStrategy()
public void setSourceDownloadStrategy(MavenSettings.DownloadStrategy ds)
public MavenSettings.DownloadStrategy getJavadocDownloadStrategy()
public void setJavadocDownloadStrategy(MavenSettings.DownloadStrategy ds)
public MavenSettings.DownloadStrategy getBinaryDownloadStrategy()
public void setBinaryDownloadStrategy(MavenSettings.DownloadStrategy ds)
@CheckForNull public static String getCommandLineMavenVersion()
@CheckForNull public static String getCommandLineMavenVersion(File mavenHome)
public static boolean isMavenDaemon(Path mavenHome)
public static String getDefaultExternalMavenRuntime()
It searches in this order:
Only the first appereance will be appended.
public NetworkProxySettings getNetworkProxy()
public void setNetworkProxy(NetworkProxySettings s)