Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make enterprise dependencies optional, so that it can be used on SE as well #286

Merged
merged 1 commit into from
Oct 16, 2018

Conversation

kaikreuzer
Copy link
Member

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 javaxpackages, 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]

kaikreuzer added a commit to kaikreuzer/smarthome that referenced this pull request Sep 7, 2018
Not using official 1.1.1 release, but a manually built 1.1.1-sp1 which contains eclipse/microprofile-metrics#286

Signed-off-by: Kai Kreuzer <[email protected]>
htreu pushed a commit to eclipse-archived/smarthome that referenced this pull request Sep 7, 2018
Not using official 1.1.1 release, but a manually built 1.1.1-sp1 which contains eclipse/microprofile-metrics#286

Signed-off-by: Kai Kreuzer <[email protected]>
@Channyboy
Copy link
Contributor

Tested changes on a Liberty server and no issues were found.

@pilhuhn pilhuhn merged commit 9b44c5c into eclipse:master Oct 16, 2018
@pilhuhn
Copy link
Contributor

pilhuhn commented Oct 16, 2018

Thank you @kaikreuzer See you in Ludwigsburg

@kaikreuzer kaikreuzer deleted the optionalimports branch October 16, 2018 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants