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

Split packages between core and api modules #60

Open
rouzwawi opened this issue Mar 24, 2020 · 1 comment
Open

Split packages between core and api modules #60

rouzwawi opened this issue Mar 24, 2020 · 1 comment

Comments

@rouzwawi
Copy link
Member

I'm trying to use this library in a project that uses JPMS, but run into issues because the package com.spotify.metrics.core is split between two modules, core and api.

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: the unnamed module reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module jsr305 reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module auto.value.annotations reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module awaitility reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module slf4j.api reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module com.google.common reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module okio reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module protobuf.java reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module metrics.core reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module semantic.metrics.api reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module com.spotify.apollo.hermes reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module com.spotify.hermes reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module semantic.metrics.core reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
[ERROR] error: module com.spotify.apollo reads package com.spotify.metrics.core from both semantic.metrics.api and semantic.metrics.core
@lmuhlha lmuhlha self-assigned this Apr 2, 2020
@lmuhlha
Copy link
Member

lmuhlha commented Apr 23, 2020

Thanks for reporting this.
We haven't prioritized a fix for this yet, but PRs are always welcome!
We'll update this ticket once a solution is in progress on our end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants