[
https://issues.apache.org/jira/browse/IVY-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maarten Coene resolved IVY-1645.
--------------------------------
Assignee: Maarten Coene
Resolution: Fixed
The IBiblioResolver class has the 'setRoot' method that can be used to change
the URL to the private repository.
With the CredentialsStore class, you can configure the username/password for
that repository.
Hope this helps?
If not, please reopen the issue.
> Ivy does not support programmatically resolving artifacts from private maven
> repositories
> ------------------------------------------------------------------------------------------
>
> Key: IVY-1645
> URL: https://issues.apache.org/jira/browse/IVY-1645
> Project: Ivy
> Issue Type: Improvement
> Components: Core, Maven Compatibility
> Affects Versions: 2.5.1
> Reporter: junyuc25
> Assignee: Maarten Coene
> Priority: Major
>
> While we could use IBiblioResolver to retrieve artifacts from Maven central
> programmatically ([example
> here|https://stackoverflow.com/questions/15598612/simplest-ivy-code-to-programmatically-retrieve-dependency-from-maven-central]),
> Ivy does not seem to support retrieving dependencies from private Maven
> repository owned by organizations, which are usually protected with user name
> and password. It would be great if Ivy could add support for such use cases.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)