Hello Flo,

There is a bug (http://jira.codehaus.org/browse/ARCHETYPE-150) on archetype
plugin that doesn't work with remote repositoryId url, but it's been fixed
on latest release. Are you running latest? Try using mvn -U archetype:create
might also help.

On Wed, Apr 30, 2008 at 10:57 AM, flo35 <[EMAIL PROTECTED]>
wrote:

>
> Hi all!
>
> I try to launch mvn archetype:create with an archetype located on an
> archiva
> proxy.
>
> In archiva, when guest user  isn't lock, it works, but when i lock guest
> user , it's not possible.
>
> The command :
> mvn archetype:create
> -DgroupId=com.myserver
> -DartifactId=myserver
> -DarchetypeGroupId=com.archetypes
> -DarchetypeArtifactId=server_archetype
> -DarchetypeVersion=2.0
> -DremoteRepositories=http://url/
>
> I try to add -DRepositoryId but it's not ok.
>
> Is it possible to pass username and password to archiva with the command?
>
> Thanks a lot
>
> Flo
> --
> View this message in context:
> http://www.nabble.com/Archiva-%3A-mvn-archetype%3Acreate-without-guest-user-tp16984616p16984616.html
> Sent from the archiva-users mailing list archive at Nabble.com.
>
>


-- 
Thanks,
Zemian Deng

Reply via email to