public interface MavenRuntime
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROLE
The Plexus role for this component.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.project.MavenProject |
getProject(java.lang.Class<?> klass)
Gets the specified class's Maven project.
|
org.apache.maven.project.MavenProject |
getProject(java.net.URL url)
Gets the specified URL's Maven project.
|
MavenProjectProperties |
getProjectProperties(java.lang.Class<?> klass)
Gets the properties for the specified class's Maven project.
|
MavenProjectProperties |
getProjectProperties(java.net.URL url)
Gets the properties for the specified URL's Maven project.
|
java.util.List<org.apache.maven.project.MavenProject> |
getProjects(java.lang.ClassLoader classLoader)
Obtains a list of Maven projects accessible from the specified class loader.
|
java.util.List<MavenProjectProperties> |
getProjectsProperties(java.lang.ClassLoader classLoader)
Obtains a list of basic properties for each Maven project accessible from the specified class loader.
|
java.util.List<org.apache.maven.project.MavenProject> |
getSortedProjects(java.lang.ClassLoader classLoader)
Obtains a list of Maven projects accessible from the specified class loader ordered by their dependencies.
|
MavenProjectProperties getProjectProperties(java.net.URL url) throws MavenRuntimeException
url - the URL to introspectMavenRuntimeException - if an error occurred introspecting the Maven runtime environmentMavenProjectProperties getProjectProperties(java.lang.Class<?> klass) throws MavenRuntimeException
klass - the class to introspectMavenRuntimeException - if an error occurred introspecting the Maven runtime environmentjava.util.List<MavenProjectProperties> getProjectsProperties(java.lang.ClassLoader classLoader) throws MavenRuntimeException
classLoader - the class loader to introspectMavenRuntimeException - if an error occurred introspecting the Maven runtime environmentorg.apache.maven.project.MavenProject getProject(java.net.URL url)
throws MavenRuntimeException
url - the URL to introspectMavenRuntimeException - if an error occurred introspecting the Maven runtime environmentorg.apache.maven.project.MavenProject getProject(java.lang.Class<?> klass)
throws MavenRuntimeException
klass - the class to introspectMavenRuntimeException - if an error occurred introspecting the Maven runtime environmentjava.util.List<org.apache.maven.project.MavenProject> getProjects(java.lang.ClassLoader classLoader)
throws MavenRuntimeException
classLoader - the class loader to introspectMavenRuntimeException - if an error occurred introspecting the Maven runtime environmentjava.util.List<org.apache.maven.project.MavenProject> getSortedProjects(java.lang.ClassLoader classLoader)
throws MavenRuntimeException
classLoader - the class loader to introspectMavenRuntimeException - if an error occurred introspecting the Maven runtime environmentCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.