Thanks a lot for your response,

I am using Maven 2.0.9.

The bug is for -DremoteRepositories? it works for me, the problem is when i
want to login me in this repository like the command :

mvn deploy:deploy-file and -DrepositoryId=[id]


It's not possible to add -DrepositoryId to the command :
mvn archetype:create ?

Flo


Zemian Deng-2 wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Archiva-%3A-mvn-archetype%3Acreate-without-guest-user-tp16984616p17053952.html
Sent from the archiva-users mailing list archive at Nabble.com.

Reply via email to