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

Allow manipulation of maven plugins in a project

    XMLWordPrintable

Details

    Description

      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);
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: