Is there a way to force Maven to send credential to a specific repo?

I found the following quote in a different forum:

You're right, maven first tries to communicate with no permissions
(anonymous user on Artifactory side) and will only send credentials if
requested by Artifactory.

The problem is that I need to allow two repos to be accessed anonymously and
via credentials while two others need to be always accessed via credentials. 
How can I force Maven to always pass credentials to a specific repository?

Note:

I have all my repos (profiles) and server credentials configured in my
settings.xml

Thanks,
mk
-- 
View this message in context: 
http://old.nabble.com/Force-server-credentials-to-be-used-against-Artifactory-tp28145193p28145193.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to