Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$maven dependencies resolver #524

Closed
kgignatyev opened this issue Dec 9, 2016 · 3 comments
Closed

$maven dependencies resolver #524

kgignatyev opened this issue Dec 9, 2016 · 3 comments

Comments

@kgignatyev
Copy link

how difficult it might be to add $maven dependency resolver?
so it would use ~/.m2/settings.xml that lists local repository mirrors and local private repos?

@deusaquilus
Copy link

Okay, I did exactly this with #580, not sure why the Scala 2.10.6 build in Trevor specifically and not others. Any comment would be appreciated.

@lihaoyi
Copy link
Member

lihaoyi commented May 20, 2017

As of 662859f, you should be able to use @alexarchambault's Coursier APIs to create your own maven resolver, and with b5c44b0 you should be able to properly add resolvers in multi-block scripts.

I'm not sure whether Coursier comes with a builtin way of dealing with settings.xml, but it should be possible to load that config in some way without needing to patch Ammonite itself I think

@lihaoyi lihaoyi closed this as completed May 20, 2017
@alexarchambault
Copy link
Collaborator

Yeah, coursier doesn't load things from ~/.m2/settings.xml. It might have some global config file at some point, which I can imagine could allow to load settings from ~/.m2/settings.xml too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants