Remote repositories other than central ignored when resolving an archetype in 
archetype:create
----------------------------------------------------------------------------------------------

         Key: ARCHETYPE-44
         URL: http://jira.codehaus.org/browse/ARCHETYPE-44
     Project: Maven Archetype
        Type: Bug

  Components: Creator  
    Versions: 1.0-alpha-4    
 Environment: Maven 2.0.4
Custom HTTPS remote repository
    Reporter: Cédric Vidal
    Priority: Critical


When using command "mvn archetype:create", if the archetype is stored in a 
remote repository other than central, even if that remote repository is defined 
in settings.xml (both as a repository and a plugin repository), then, it is 
ignored when maven tries to resolve the archetype. Maven thus fails with 
reason: Unable to download the artifact from any repository.

To make sure that my repository is being ignored, I have put a dummy url in the 
repository definition in settings.xml and Maven doesn't even try to resolve the 
archetype artifact from my repository.

Cheers


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