Make enterprise dependencies optional, so that it can be used on SE as well #286
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.
We would like to use microprofile-metrics in Eclipse SmartHome as well and trying to add it, I had to noticed that the manifest declares mandatory dependencies to
javax
packages, which are not part of JavaSE.While these dependencies might be relevant at compile time of the project, I absolutely do not see any need for their presence at runtime; only the implementations might have those dependencies, but that should be left to them.
I'd therefore suggest to mark those dependencies as optional, which let's people easily use this API on a plain JavaSE as well.
Signed-off-by: Kai Kreuzer [email protected]