[forge-dev] [JBoss JIRA] Closed: (SEAMFORGE-64) add-repository should offer a built-in list of known repositories

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Tue Mar 15 13:51:45 EDT 2011


     [ https://issues.jboss.org/browse/SEAMFORGE-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III closed SEAMFORGE-64.
---------------------------------------

           Labels: maven  (was: )
         Assignee: Lincoln Baxter III
    Fix Version/s: 1.0.0.Alpha3
       Resolution: Done


Done...

[example] example $ 
[example] example $ project repository-
repository-list      repository-remove    repository-add       
[example] example $ project repository-list 
[example] example $ project repository-add 
CENTRAL         JBOSS_NEXUS     JBOSS_LEGACY    JAVA_NET        CUSTOM          
[example] example $ project repository-add JBOSS_
JBOSS_NEXUS     JBOSS_LEGACY    
[example] example $ project repository-add JBOSS_NEXUS 
Added repository [JBOSS_NEXUS->http://repository.jboss.org/nexus/content/groups/public]
[example] example $ project repository-add CENTRAL 
Added repository [CENTRAL->http://repo1.maven.org]
[example] example $ project repository-list 
JBOSS_NEXUS->http://repository.jboss.org/nexus/content/groups/public
CENTRAL->http://repo1.maven.org
[example] example $ 


> add-repository should offer a built-in list of known repositories
> -----------------------------------------------------------------
>
>                 Key: SEAMFORGE-64
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-64
>             Project: Seam Forge
>          Issue Type: Feature Request
>          Components: Shell
>    Affects Versions: 1.0.0.Alpha2
>            Reporter: Dan Allen
>            Assignee: Lincoln Baxter III
>              Labels: maven
>             Fix For: 1.0.0.Alpha3
>
>
> We can anticipate most of the repositories the user is going to want to add (the JBoss Nexus repository being the most likely choice). add-repository should allows the user to select from a built-in list of well-known repositories if they don't provide a URL on the commandline. The list could even be read from the .forge directory, so that the user can globally define repositories from which they want to be able to select.
> add-repository <ENTER>
> Please select a repository:
> [1] CENTRAL - http://repo1.maven.org
> [2] JBOSS_NEXUS - http://repository.jboss.org/nexus/content/groups/public
> [3] JBOSS_LEGACY - http://repository.jboss.org/maven2
> [3] JAVA_NET - http://download.java.net/maven/2/
> [4] CUSTOM
> Selecting CUSTOM would prompt the user for a URL.
> The repository name should have a reasonable default, which can be overridden by supplying a name on the commandline.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-dev mailing list