public abstract class AbstractProfilePluginFacet extends AbstractPluginFacet
pluginArtifact
,
configurations
,
dependencies
,
profileId
, and
executions
.Modifier and Type | Field and Description |
---|---|
protected Collection<org.apache.maven.model.PluginExecution> |
executions
Executions for the installed plugin.
|
protected boolean |
extensions |
protected String |
profileId
The profile to add this plugin to.
|
configurations, dependencies, pluginArtifact
MAIN_PROFILE
Constructor and Description |
---|
AbstractProfilePluginFacet() |
Modifier and Type | Method and Description |
---|---|
Collection<org.apache.maven.model.PluginExecution> |
getPluginExecutions() |
boolean |
install() |
protected boolean |
isExtensions() |
boolean |
isInstalled() |
boolean |
uninstall() |
getConfigurations, getDependencies, getExecutions, getPluginArtifact, init, isMatchingConfiguration, maybeInit, merge, mergeConfigurationElement
addDependenciesToProfile, error, getDependency, getDependency, getProject, hasDependency, hasProvidedDependency, warning
equals, getFaceted, hashCode, setFaceted
protected Collection<org.apache.maven.model.PluginExecution> executions
protected boolean extensions
protected String profileId
the main profile
.public Collection<org.apache.maven.model.PluginExecution> getPluginExecutions()
protected boolean isExtensions()
public boolean install()
install
in interface org.jboss.forge.addon.facets.Facet<org.jboss.forge.addon.projects.Project>
install
in class AbstractPluginFacet
public boolean isInstalled()
isInstalled
in interface org.jboss.forge.addon.facets.Facet<org.jboss.forge.addon.projects.Project>
isInstalled
in class AbstractPluginFacet
public boolean uninstall()
uninstall
in interface org.jboss.forge.addon.facets.Facet<org.jboss.forge.addon.projects.Project>
uninstall
in class AbstractPluginFacet
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.