[forge-issues] [JBoss JIRA] (FORGE-766) Allow manipulation of maven plugins in a project

George Gastaldi (JIRA) jira-events at lists.jboss.org
Wed Jan 23 14:13:47 EST 2013


George Gastaldi created FORGE-766:
-------------------------------------

             Summary: 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


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


More information about the forge-issues mailing list