[ 
https://issues.apache.org/jira/browse/TOREE-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143022#comment-15143022
 ] 

Chip Senkbeil commented on TOREE-246:
-------------------------------------

We have a branch (PR https://github.com/apache/incubator-toree/pull/4) that 
adds a new alternative dependency downloader using Coursier. It correctly 
supports additional Maven repositories.

You can add repositories via the magic itself through
{code:none}
%AddDeps organization artifact version --repository https://some-repo.com
{code}

The class itself has {code:none}addMavenRepository(url: URL){code} and 
{code:none}removeMavenRepository(url: URL){code} to manage repositories.

> IvyDependencyDownloader ignores repositoryUrl
> ---------------------------------------------
>
>                 Key: TOREE-246
>                 URL: https://issues.apache.org/jira/browse/TOREE-246
>             Project: TOREE
>          Issue Type: Bug
>            Reporter: Kevin Mader
>
> The {code:class} IvyDependencyDownloader(repositoryUrl: String, 
> baseDirectory: String){code} takes a URL as an argument but only uses 
> {code:IBiblioResolver```} and does nothing with the ``repositoryUrl{code}. It 
> uses only the central maven repository.
> In the current project
> https://github.com/ibm-et/spark-kernel/blob/master/kernel-api/src/main/scala/com/ibm/spark/dependencies/IvyDependencyDownloader.scala#L39
> from the new project (after refactoring)
> https://github.com/apache/incubator-toree/blob/0a5a7f6bac1afcb0a410887f17112b0d98bbcd68/kernel-api/src/main/scala/com/ibm/spark/dependencies/IvyDependencyDownloader.scala#L39
> I posted here since there is no official JIRA project yet 
> (https://issues.apache.org/jira/browse/INFRA-11082)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to