[
https://issues.jboss.org/browse/FORGE-2047?page=com.atlassian.jira.plugin...
]
Rafael Soares (Tuelho) commented on FORGE-2047:
-----------------------------------------------
and what about specific maven plugin's configuration? This should be handled by a
specific add-on?
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
Labels: starter
Fix For: 3.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
(v7.5.0#75005)