Managed Java dependencies - do not commit vendorlib in version control - Mendix Forum

Managed Java dependencies - do not commit vendorlib in version control

4

Since Mendix 10.3, you have implemented dependency management in modules, which is great.

 

However, this feature is still committing the jars in version control, which is not a good practice and overloads disk space in GIT. Source control is designed for sources, not binaries. We should rely on the registries to download the jars when needed. 

 

Having tested this new feature, I have tried to add the vendorlib in the gitignore list. Therefore, my jars are not committed to GIT as I thought makes sense.

Now, if I try to create a deployment package from Studio Pro, the sources get donwloaded from git (in a temp folder i guess) without hte Jars. I was hoping the jars to be resolved by the "Synchronize Dependencies" feature, but it did not.

 

Could you add an option / feature in this direction ?

 

Here is a post i did on the topic with my use case: https://community.mendix.com/link/space/deployment/questions/133529

 

Many thanks

 

asked
0 answers