Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-202

add-repository should offer a built-in list of known repositories

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha3
    • 1.0.0.Alpha2
    • UI - Shell
    • Documentation (Ref Guide, User Guide, etc.)

      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.

              lincolnthree Lincoln Baxter III (Inactive)
              dan.j.allen Dan Allen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: