fix: simplify project dependencies, fix tests #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello Vojtěchu ;) @vhyza,
My colleagues and I tried to experiment with your plugin, but realized the last published version is too old for our ES instance. Despite not being a java guy at all, I decided to give a custom build a try. Following your instructions to run
mvn package
indeed produced a .zip package, but the test was throwing an exception that was pretty impossible to decipher. I didn't feel like ignoring that and decided to make it work. There were some hints on the internet, that the dependencies might be clashing, so I tried to untangle them. I spend some non-trivial time on that and found those could be really simplified quite a bit. The ultimate fix was to bump the maven-surefire-plugin, though 😮💨Going through all this - and succeeding - I thought I might share the result with you. I actually also found quite useful the contribution from @crabhi, which allowed me to write a very similar building Dockerfile, that dynamically sets both the (
plugin.version
replaced by)project.version
and the targetedelasticsearch.version
:With all that I'd like to thank you for sharing your code with the open source community, so we can all take part.