public interface MavenContext
Modifier and Type | Method and Description |
---|---|
File |
getLocalRepositoryRoot() |
MavenLogger |
getLogger() |
MavenRepositorySystem |
getRepositorySystem() |
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")
|
File getLocalRepositoryRoot()
MavenLogger getLogger()
boolean isOffline()
Properties getSessionProperties()
MavenRepositorySystem getRepositorySystem()
Copyright © 2008–2022 Eclipse Foundation. All rights reserved.