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

JPMS compability #99

Open
uzilan opened this issue Oct 2, 2018 · 0 comments
Open

JPMS compability #99

uzilan opened this issue Oct 2, 2018 · 0 comments

Comments

@uzilan
Copy link

uzilan commented Oct 2, 2018

Trying to use metrics datadog using the JPMS (Java Platform Module System) is challenging, since one requires both metrics.datadog and dropwizard.metrics.datadog, which both use the same package names. For example, my module-info.java file could look like this:

module com.whatever {
   requires metrics.datadog;
   requires dropwizard.metrics.datadog;
}

...but this gives me the following error:
module com.whatever reads package org.coursera.metrics.datadog from both dropwizard.metrics.datadog and metrics.datadog

I'm not sure how this problem can be solved unless the package names are altered.

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

No branches or pull requests

1 participant