You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/02/13 13:31:28 UTC

[jira] Commented: (ARCHETYPE-89) archetypeng:create doesn't use configured repos to find artifacts

    [ http://jira.codehaus.org/browse/ARCHETYPE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_123514 ] 

Brett Porter commented on ARCHETYPE-89:
---------------------------------------

all the data in this issue seems obsolete, but I have a different problem that would fall under the same description.

The repository URL should not be hardcoded into the internal catalog - it is looking at repo1, when really it should be looking at the repository defined by central (ie, the one in my settings file that points to my internal repository proxy). So, it needs to honour settings. I believe the catalog should specify and id and a url - and if the id exists use that instead (and if not, fall back to the URL).

> 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
>            Reporter: Brian Fox
>            Assignee: Raphaël Piéroni
>             Fix For: 2.0-alpha-2
>
>
> 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