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

allow configurable M2Resolvers #14252

Open
jianlins opened this issue May 17, 2024 · 2 comments
Open

allow configurable M2Resolvers #14252

jianlins opened this issue May 17, 2024 · 2 comments
Assignees

Comments

@jianlins
Copy link

Description

In air-gap environment, the default maven repos are not accessible.

Preferred Solution

Can you set the M2Resolvers to read default ~/.m2/settings.xml to get the repo settings? or parameterize the repo URL?

Additional Context

running some configurations fails when it trying to reach out to maven repo.

@jianlins
Copy link
Author

sorry, miss click the assignment. not sure how to correct it.

@maziyarpanahi
Copy link
Member

Hi @jianlins

Isn't this possible to proxy the Maven from outside to any location you need without changing anything in the library? We have many users using it in air-gap env.

Also, it would be best if you can use our official fat Jars that come with everything to avoid pulling any dependencies from anywhere. (it's the official recommendation for 100% offline support) - we list these jars in each release notes: https://github.com/JohnSnowLabs/spark-nlp/releases/tag/5.3.3

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

No branches or pull requests

2 participants