Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Duplicate
-
2.2
-
None
-
None
-
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"
Description
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
Attachments
Issue Links
- duplicates
-
ARCHETYPE-204 Add option to use remote repositories that are password protected
- Closed