[forge-issues] [JBoss JIRA] (FORGE-2047) Commands to add and remove Maven plugins into pom.xml

Antonio Goncalves (JIRA) issues at jboss.org
Fri Sep 26 15:39:02 EDT 2014


Antonio Goncalves created FORGE-2047:
----------------------------------------

             Summary: Commands to add and remove Maven plugins into pom.xml
                 Key: FORGE-2047
                 URL: https://issues.jboss.org/browse/FORGE-2047
             Project: Forge
          Issue Type: Sub-task
          Components: UI - Shell
    Affects Versions: 2.10.1.Final
            Reporter: Antonio Goncalves
             Fix For: 2.x Future


Today we have commands to add/remove dependencies into a `pom.xml` :

{code}
project-add-dependencies
project-remove-dependencies
project-add-managed-dependencies
project-remove-managed-dependencies
{code}

We need to same functionnalites but for plugins. Commands such as : 

{code}
project-add-plugin-dependencies
project-remove-plugin-dependencies
{code}

So a command like this :

{code}
project-add-plugin-dependencies org.codehaus.mojo:exec-maven-plugin:1.3.1
{code}

Would add the following to the {{pom.xml}} : 

{code}
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <version>1.3.1</version>
      </plugin>
    </plugins>
{code}





--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the forge-issues mailing list