maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <>
Subject [jira] Commented: (ARCHETYPE-89) archetypeng:create doesn't use configured repos to find artifacts
Date Wed, 13 Feb 2008 12:31:28 GMT


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:
>             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:
For more information on JIRA, see:


View raw message