[ https://jira.codehaus.org/browse/ARCHETYPE-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318379#comment-318379 ]
Greg Thomas commented on ARCHETYPE-402: --------------------------------------- Have a look at FAQ#2 at http://maven.apache.org/archetype/maven-archetype-plugin/faq.html > plugin does not seem to consult settings.xml for authentication to repository > specified for archetypeCatalog > ------------------------------------------------------------------------------------------------------------ > > Key: ARCHETYPE-402 > URL: https://jira.codehaus.org/browse/ARCHETYPE-402 > Project: Maven Archetype > Issue Type: Improvement > Components: Archetypes > Affects Versions: 2.2 > Reporter: Tamsin Slinn > > We use artifactory internally with authentication, and have manually > published an archetype-catalog.xml file. > If I run archetype:generate -DarchetypeCatalog=https://my.internal.address, > I get an access denied error. > If I run archetype:generate > -DarchetypeCatalog=https://username:password@my.internal.address the it works > fine and I can use my published archetypes. > I have the username and password for the server configured in my settings.xml > file, and it works fine to use published artifacts. It would be nice if it > worked for this archetype catalog too, so I do not have to put username and > password on the command line. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira