--- On Sat, 9/20/08, Adrian Herscu wrote:
> I have written an archetype and deployed to my remote
> repository.
> The repository requires authentication.
> The problem is when somebody runs mvn archetype:generate
> ... 
> -DarchetypeRepository=http://my.repo he gets a 401 from the
> server and 
> generation fails of course.
> 
> Is there any possibility to supply credentials?

This might help, although I haven't tried it :/

http://maven.apache.org/guides/mini/guide-configuring-maven.html

See the "Security and Deployment Settings" section; it sounds like the <server> 
element may do what you want.

HTH,
Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to