You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "heapifyman (JIRA)" <ji...@codehaus.org> on 2014/07/04 16:07:10 UTC
[jira] (ARCHETYPE-460) archetype:generate does not use settings.xml
when archetype is in repository with restricted access
heapifyman created ARCHETYPE-460:
------------------------------------
Summary: archetype:generate does not use settings.xml when archetype is in repository with restricted access
Key: ARCHETYPE-460
URL: https://jira.codehaus.org/browse/ARCHETYPE-460
Project: Maven Archetype
Issue Type: Bug
Components: Generator
Affects Versions: 2.2
Environment: Apache Maven 3.2.2
Java version: 1.8.0_05, vendor: Oracle Corporation
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
Reporter: heapifyman
Priority: Blocker
I have an archetype deployed to an Artifactory repository with restricted access.
I have defined the <server> with <id>, <username> and <password> in my settings.xml.
When I run
"mvn archetype:generate -DarchetypeRepository=<my_artifactory_reop_with_restricted_access>"
I get
"Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Not authorized , ReasonPhrase:Unauthorized."
Apparently, archetype:generate does not take into account the access rights defined in settings.xml
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)