I am writing a Java Callout policy, thus need to have expressions and message-flow dependencies to be added to pom file. I need to manage these my lib or Java Callout jar as a git repo for version management, also we will build the code using jenkins on remote slave and publish the callout jar file.
I am able to add them to my local .m2 folder and resolve the dependencies locally, but how to achieve that on remote servers [As these two dependencies are not available in any public repos].
Currently, build fails as it is not able to resolve these two dependencies.
Please suggest what needs to be done here.
You have few options
Give it a try and let me know how it goes