|
Forge - Maven API 2.0.0.Alpha3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MavenFacet
A ProjectFacet adding support for the Maven build system.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.jboss.forge.facets.Facet |
|---|
getOrigin, install, isInstalled, uninstall |
| Method Detail |
|---|
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.
|
Forge - Maven API 2.0.0.Alpha3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||