public interface MavenFacet extends ProjectFacet
ProjectFacet adding support for the Maven build system.| Modifier and Type | Method and Description |
|---|---|
boolean |
executeMaven(List<String> parameters)
Execute Maven with the given arguments.
|
boolean |
executeMavenEmbedded(List<String> parameters)
Execute Maven with the given arguments.
|
DirectoryResource |
getLocalRepositoryDirectory()
Returns a
DirectoryResource representing the location of the current local Maven repository. |
org.apache.maven.model.Model |
getPOM()
Get the current Maven
Model for this Project. |
MavenPomResource |
getPomResource()
Get the
MavenPomResource for this Project. |
String |
resolveProperties(String value)
Resolve Maven properties for the given input
String, replacing occurrences of the `${property}` with their
defined value. |
void |
setPOM(org.apache.maven.model.Model pom)
Set the current Maven
Model for this Project. |
MavenPomResource getPomResource()
MavenPomResource for this Project.org.apache.maven.model.Model getPOM()
Model for this Project.void setPOM(org.apache.maven.model.Model pom)
Model for this Project.String resolveProperties(String value)
String, replacing occurrences of the `${property}` with their
defined value.boolean executeMaven(List<String> parameters)
true on success or false on failure.boolean executeMavenEmbedded(List<String> parameters)
true on success or false on failure.DirectoryResource getLocalRepositoryDirectory()
DirectoryResource representing the location of the current local Maven repository.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.