This example includes creating a MarkLogic plugin (examples/dependency-project/provider-project/src/main/ml-plugins/variance)
Although this does make the entire reference architetcure more complete, it does have a drawback:
Just to prove that the bundle works and deploys, one must be able to compile c++ code.
In that respect, the completeness of the example (including a plugin) adds quite a bit of noise to an otherwise simple and elegant (yet powerful) feature. I think one should be able to create a bundle and use it via samples without having to compile software.
When looking at mlBundle, Consider the following:
https://github.com/marklogic/ml-gradle/tree/master/examples/dependency-project
This example includes creating a MarkLogic plugin (examples/dependency-project/provider-project/src/main/ml-plugins/variance)
Although this does make the entire reference architetcure more complete, it does have a drawback:
Just to prove that the bundle works and deploys, one must be able to compile c++ code.
In that respect, the completeness of the example (including a plugin) adds quite a bit of noise to an otherwise simple and elegant (yet powerful) feature. I think one should be able to create a bundle and use it via samples without having to compile software.