GitHub user DrIgor opened a pull request:
https://github.com/apache/zeppelin/pull/1769
[ZEPPELIN-1818] Absolute local repo path in dependency downloader
### What is this PR for?
Allow dependency resolver to use absolute path for local repo
### What type of PR is it?
Bug Fix
### Todos
* [ ] - Task
### What is the Jira issue?
[ZEPPELIN-1818](https://issues.apache.org/jira/browse/ZEPPELIN-1818)
### How should this be tested?
Outline the steps to test the PR here.
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Old implementation expected localRepoPath to be relative to ZEPPELIN_HOME.
It created broken path with absolute localRepoPath
(e.g. C:\Users\User\AppData\Local\Temp\..\C:\......)
Huge amount of tests passed absolute path to newRepositorySystemSession.
Path.resolve(...) works fine if parameter is absolute path
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/DrIgor/zeppelin ZEPPELIN-1807
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1769.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1769
----
commit 00b1dd3cca7b98c629765476a18875e7a382f758
Author: Igor Drozdov <[email protected]>
Date: 2016-12-14T13:30:33Z
Make it possible to use absolute local repo path in dependency downloader
Old implementation expected localRepoPath to be relative to ZEPPELIN_HOME.
It created broken path with absolute localRepoPath
(e.g. C:\Users\User\AppData\Local\Temp\..\C:\......)
Huge amount of tests passed absolute path to newRepositorySystemSession.
Path.resolve(...) works fine if parameter is absolute path
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---