Remove custom version injection because it does not work well due to multi-module build #2
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.
I added this when I initially set up the hubspot build, thinking it'd be nice to reflect our actual build numbers in the various UIs, logs, etc. Unfortunately it doesn't work as well as I'd hope, because of the fact that we use multi-module build. The Version class is written by
hbase-commonmodule, which may not get built for every merged change. For example, if a change is pushed tohbase-server, that will not result in a re-build ofhbase-common. So the Version will not update and this can be misleading.There are other options we could consider for injecting our own version, but for now I'm just going to remove this so that we revert to the default behavior of just having it be the upstream version (i.e. just 2.4.6 instead of 2.4.6-hs.35)
Related to HBasePlanning#764