Details
Description
When the archetype's are in a password protected repository you can't download the archetype
Command used:
mvn archetype:generate -DarchetypeGroupId=nl.func.quickstart -DarchetypeArtifactId=quickstart -DarchetypeVersion=1.0 -DgroupId=nl.func.test -DartifactId=apple -DarchetypeRepository=https://maven.func.nl
There is a "archetypeRepository" option, but there is no option to bind a server id from the settings.xml.
Could this, or some other solution, be added?
My current workaround is to use scpexe instead of https.
Command used:
mvn archetype:generate -DarchetypeGroupId=nl.func.quickstart -DarchetypeArtifactId=quickstart -DarchetypeVersion=1.0 -DgroupId=nl.func.test -DartifactId=apple -DarchetypeRepository=scpexe://maven.func.nl/var/sites/nl.func.maven/www/ -Darchetype.interactive=false
Attachments
Issue Links
- is duplicated by
-
ARCHETYPE-446 Generate Mojo should use security for repository access
- Closed
-
ARCHETYPE-460 archetype:generate does not use settings.xml when archetype is in repository with restricted access
- Closed
-
ARCHETYPE-167 Archiva : mvn archetype:create without guest user
- Closed
- is related to
-
ARCHETYPE-206 Document how to generate a project from archetype with authenticated repository
- Closed
- relates to
-
ARCHETYPE-220 Unable to access remote catalogs on HTTPS protocol, even with redirection
- Closed