[
https://issues.jboss.org/browse/FORGE-766?page=com.atlassian.jira.plugin....
]
Lincoln Baxter III commented on FORGE-766:
------------------------------------------
Yes, I believe you are correct :) Thanks for the reminder!
Allow manipulation of maven plugins in a project
------------------------------------------------
Key: FORGE-766
URL:
https://issues.jboss.org/browse/FORGE-766
Project: Forge
Issue Type: Enhancement
Components: Builtin Plugins
Affects Versions: 1.2.0.Final
Reporter: George Gastaldi
Labels: starter
The ProjectPlugin could introduce the addition and removal maven plugins, so it will be
easy to register a new Maven plugin in the pom.xml project without the need to write a
plugin for that.
The implementation could be like this:
{code}
MavenPluginBuilder processorPlugin = MavenPluginBuilder.create()
.setDependency( ... )
.addExecution( .. )
.addPluginDependency( ... );
project.getFacet(MavenPluginFacet.class).addPlugin(processorPlugin);
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira