[
https://issues.apache.org/jira/browse/IVY-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16018820#comment-16018820
]
jaikiran pai commented on IVY-1506:
-----------------------------------
You should be able use user/passwords (a.k.a credentials) for ibiblio resolver.
We do it currently. Here's an example:
{code}
<ivysettings>
...
<credentials host="<ip-or-hostname-of-your-remote-repo>"
username="yourusername" passwd="yourpassword"/>
<ibiblio name="public-repo" m2compatible="true"
root="http://<ip-or-hostname-of-your-remote-repo>:<port>/content/groups/public"/>
...
</ivysettings>
{code}
> Add support for password protected Maven repositories in ibiblio resolver
> -------------------------------------------------------------------------
>
> Key: IVY-1506
> URL: https://issues.apache.org/jira/browse/IVY-1506
> Project: Ivy
> Issue Type: Improvement
> Components: Maven Compatibility
> Affects Versions: 2.3.0
> Reporter: Andre-John Mas
> Labels: ibiblio, ivy, ivy-resolver, maven
>
> There doesn't appear to be a way to access repositories that are protected by
> username/password.
> In the case I encountered, the repository had public access, but when it is
> provided with an authenticated user, then an extended set of artifacts is
> made available. Not being able to specify the username/password via the
> ivy-settings meant I was only able to access the public artefacts.
> The suggestion is to use a similar approach to the 'ssh' resolver and add
> support for username/password elements.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)