[ 
http://jira.codehaus.org/browse/ARCHETYPE-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy updated ARCHETYPE-204:
------------------------------------

    Description: 
When the archetype's are in a password protected repository you can't download 
the archetype 

Command used: {noformat}mvn archetype:generate 
-DarchetypeGroupId=nl.func.quickstart -DarchetypeArtifactId=quickstart 
-DarchetypeVersion=1.0 -DgroupId=nl.func.test -DartifactId=apple 
-DarchetypeRepository=https://maven.func.nl{noformat}

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:
{noformat}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{noformat}



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




> Add option to use remote repositories that are password protected
> -----------------------------------------------------------------
>
>                 Key: ARCHETYPE-204
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-204
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Generator
>    Affects Versions: 2.0-alpha-3
>         Environment:  mvn -version
> Maven version: 2.0.9
> Java version: 1.6.0_06
> OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"
>            Reporter: Martin Tilma
>            Priority: Minor
>             Fix For: 2.x
>
>
> When the archetype's are in a password protected repository you can't 
> download the archetype 
> Command used: {noformat}mvn archetype:generate 
> -DarchetypeGroupId=nl.func.quickstart -DarchetypeArtifactId=quickstart 
> -DarchetypeVersion=1.0 -DgroupId=nl.func.test -DartifactId=apple 
> -DarchetypeRepository=https://maven.func.nl{noformat}
> 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:
> {noformat}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{noformat}

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