]
George Gastaldi updated FORGE-2056:
-----------------------------------
Labels: starter (was: )
Commands to add and remove plugins repository into pom.xml
----------------------------------------------------------
Key: FORGE-2056
URL:
https://issues.jboss.org/browse/FORGE-2056
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.12.0.Final
Reporter: Antonio Goncalves
Labels: starter
Fix For: 2.x Future
Today we have commands to add/remove dependencies into a `pom.xml` :
{code}
project-add-repository
project-remove-repository
{code}
We need to same functionnalites but for plugin repositories. Commands such as :
{code}
project-add-plugin-repository
project-remove-plugin-repository
{code}
So a command like this :
{code}
project-add-plugin-repository --named jboss-public --url
https://repository.jboss.org/nexus/content/groups/public/ ;
{code}
Would add the following to the {{pom.xml}} :
{code}
<pluginRepositories >
<pluginRepository >
<id>jboss-public</id>
<
url>https://repository.jboss.org/nexus/content/groups/public/</url>
</pluginRepository >
</pluginRepositories >
{code}