You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2007/08/22 03:20:47 UTC

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

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

        

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

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox updated ARCHETYPE-89:
-------------------------------

    Fix Version/s:     (was: 2.0-alpha-2)
                   2.0-alpha-3

> 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-3
>
>
> 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

       

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

Posted by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raphaël Piéroni updated ARCHETYPE-89:
-------------------------------------

    Fix Version/s: 2.0-alpha-5

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

       

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ 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

       

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

Posted by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raphaël Piéroni closed ARCHETYPE-89.
------------------------------------

    Resolution: Incomplete

This issue is no longer accurate.
Brett, can you please create a new issue with your particular problem, 
if this is still a problem. Thanks.

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

       

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

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105812 ] 

Brian Fox commented on ARCHETYPE-89:
------------------------------------

I think you could read the settings.xml file directly to find the repositories? Having another goal is not ideal, we need this to be as easy as possible.

> 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: NG-1.0-alpha-1
>
>
> 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