Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-89

archetypeng:create doesn't use configured repos to find artifacts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.0-alpha-2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I deployed a snapshot of the archetype and create isn't finding it even though i have the maven-snapshot repo in my settings. A secondary problem is that if nothing is found, you get into an infinite loop where it asks you to pick a number that isn't there.

      $ mvn.bat archetypeng:create
      Using maven.home=c:\Program Files\maven2\bin\\..
      [INFO] Scanning for projects...
      [INFO] Searching repository for plugin with prefix: 'archetypeng'.
      [INFO] ----------------------------------------------------------------------------
      [INFO] Building Maven Default Project
      [INFO]    task-segment: [archetypeng:create] (aggregator-style)
      [INFO] ----------------------------------------------------------------------------
      [INFO] Preparing archetypeng:create
      [INFO] [archetypeng:select-archetype]
      Choose group:
      1: org.apache.maven.archetypes
      2: org.codehaus.mojo.archetypes
      3: org.apache.maven.its
      Choose a number:  (1/2/3): 3
      [INFO] org.apache.maven.its: checking for updates from central
      Choose archetype:
      Choose a number: :
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raphael Raphaël Luta
                Reporter:
                brianf Brian Fox
              • Votes:
                3 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: