Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-766

Allow manipulation of maven plugins in a project

XMLWordPrintable

      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:

            MavenPluginBuilder processorPlugin = MavenPluginBuilder.create()
                     .setDependency( ... )
                     .addExecution( .. )
                     .addPluginDependency( ... );
      
            project.getFacet(MavenPluginFacet.class).addPlugin(processorPlugin);
      

            Unassigned Unassigned
            rhn-support-ggastald George Gastaldi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: