Hi, maven does know how download artifacts from repositories that require
authentication.
It just does it on the second request (non-preemptive).
Make sure that the repository ids (for both download and upload
repositories) matches
the is of the servers in the settings.xml.

Currently the anonymous access is global and there's no way to activate
authentication
for selected repositories.

Yossi

2010/8/27 Marcin Zajączkowski <[email protected]>

> Hi,
>
>
> Regarding situation mentioned in [1] I was able to download artifact
> from password protected repository only after "Allow Anonymous Access"
> is unchecked. But it's a global switch. When anonymous access in general
> is granted, nevertheless that repository is not accessible for anonymous
> users (they don't have permissions) Maven interprets reply as "not
> found" (not as "use password from config").
>
> Is it possible to switch only *selected* repositories into
> "authenticated-user-only-access"?
> (or maybe I can force Maven to use password for selected repos at a
> client side?)
>
>
> [1] -
>
> http://forums.jfrog.org/Working-with-password-protected-repositories-in-read-mode-with-Maven-client-td5457453.html
>
>
> Regards
> Marcin
>
>
>
>
> --
> Ad...
>
>
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to