spark-nlp
spark-nlp copied to clipboard
allow configurable M2Resolvers
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.
sorry, miss click the assignment. not sure how to correct it.
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
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