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

Antonio Goncalves (JIRA) issues at jboss.org
Sun Oct 5 10:57:10 EDT 2014


Antonio Goncalves created FORGE-2056:
----------------------------------------

             Summary: 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
             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}




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


More information about the forge-issues mailing list