Package org.eclipse.tycho.core.shared
Interface MavenContext
-
- All Known Implementing Classes:
MavenContextImpl
public interface MavenContextMakes maven information which is constant for the whole maven session available as a service to the embedded OSGi runtime.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.FilegetLocalRepositoryRoot()MavenLoggergetLogger()MavenRepositorySystemgetRepositorySystem()java.util.PropertiesgetSessionProperties()Session-global properties merged from (in order of precedence) user properties ("-Dkey=value" via CLI) properties in active profiles of settings.xml system propertiesbooleanisOffline()whether maven was started in offline mode (CLI option "-o")
-
-
-
Method Detail
-
getLocalRepositoryRoot
java.io.File getLocalRepositoryRoot()
-
getLogger
MavenLogger getLogger()
-
isOffline
boolean isOffline()
whether maven was started in offline mode (CLI option "-o")
-
getSessionProperties
java.util.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
-
getRepositorySystem
MavenRepositorySystem getRepositorySystem()
-
-