public class MavenContextImpl extends Object implements MavenContext
| Constructor and Description |
|---|
MavenContextImpl(File localRepositoryRoot,
boolean offline,
MavenLogger mavenLogger,
Properties mergedProperties) |
| Modifier and Type | Method and Description |
|---|---|
File |
getLocalRepositoryRoot() |
MavenLogger |
getLogger() |
Properties |
getSessionProperties()
Session-global properties merged from (in order of precedence)
user properties ("-Dkey=value" via CLI)
properties in active profiles of settings.xml
system properties
|
boolean |
isOffline()
whether maven was started in offline mode (CLI option "-o")
|
public MavenContextImpl(File localRepositoryRoot, boolean offline, MavenLogger mavenLogger, Properties mergedProperties)
public File getLocalRepositoryRoot()
getLocalRepositoryRoot in interface MavenContextpublic MavenLogger getLogger()
getLogger in interface MavenContextpublic boolean isOffline()
MavenContextisOffline in interface MavenContextpublic Properties getSessionProperties()
MavenContextgetSessionProperties in interface MavenContextCopyright © 2008-2012 Eclipse Foundation. All Rights Reserved.