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

                 Key: ARCHETYPE-89
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-89
             Project: Maven Archetype
          Issue Type: Bug
    Affects Versions: NG-1.0-alpha-1
            Reporter: Brian Fox


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.

{noformat}
$ 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: :
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to