spark-nlp icon indicating copy to clipboard operation
spark-nlp copied to clipboard

allow configurable M2Resolvers

Open jianlins opened this issue 1 year ago • 2 comments

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 avatar May 17 '24 17:05 jianlins

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

jianlins avatar May 17 '24 17:05 jianlins

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

maziyarpanahi avatar May 18 '24 08:05 maziyarpanahi

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Nov 15 '24 00:11 github-actions[bot]