|
Forge - Parent 1.2.2-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MavenPluginFacet
| Nested Class Summary | |
|---|---|
static class |
MavenPluginFacet.KnownRepository
|
| Method Summary | |
|---|---|
void |
addPlugin(MavenPlugin plugin)
|
void |
addPluginRepository(MavenPluginFacet.KnownRepository repository)
Add a MavenPluginFacet.KnownRepository to the project build system. |
void |
addPluginRepository(String name,
String url)
Add a repository to the project build system. |
MavenPlugin |
getPlugin(Dependency dependency)
|
List<DependencyRepository> |
getPluginRepositories()
Get the list of plugin repositories for which this project is currently configured to use in dependency resolution. |
boolean |
hasPlugin(Dependency dependency)
|
boolean |
hasPluginRepository(MavenPluginFacet.KnownRepository repository)
Return true if the given MavenPluginFacet.KnownRepository is already registered in this project's build system. |
boolean |
hasPluginRepository(String url)
Return true if the given repository URL is already registered in this project's build system. |
List<MavenPlugin> |
listConfiguredPlugins()
|
void |
removePlugin(Dependency dependency)
|
DependencyRepository |
removePluginRepository(String url)
Remove the given DependencyRepository from the current project. |
void |
updatePlugin(MavenPlugin plugin)
|
| Methods inherited from interface org.jboss.forge.project.Facet |
|---|
getProject, install, isInstalled, setProject, uninstall |
| Method Detail |
|---|
List<MavenPlugin> listConfiguredPlugins()
boolean hasPlugin(Dependency dependency)
MavenPlugin getPlugin(Dependency dependency)
void addPlugin(MavenPlugin plugin)
void removePlugin(Dependency dependency)
void updatePlugin(MavenPlugin plugin)
void addPluginRepository(MavenPluginFacet.KnownRepository repository)
MavenPluginFacet.KnownRepository to the project build system. This is where dependencies can be found, downloaded,
and installed to the project build script.
void addPluginRepository(String name,
String url)
boolean hasPluginRepository(MavenPluginFacet.KnownRepository repository)
MavenPluginFacet.KnownRepository is already registered in this project's build system.
boolean hasPluginRepository(String url)
DependencyRepository removePluginRepository(String url)
DependencyRepository from the current project.
Return true if the repository was removed; return false otherwise. Return the removed repository, or null if no
repository was removed.
List<DependencyRepository> getPluginRepositories()
|
Forge - Parent 1.2.2-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||