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 package warning from core extensions #18732

Closed
gastaldi opened this issue Jul 15, 2021 · 5 comments
Closed

Split package warning from core extensions #18732

gastaldi opened this issue Jul 15, 2021 · 5 comments
Labels
area/panache kind/bug Something isn't working

Comments

@gastaldi
Copy link
Contributor

Describe the bug

The following warning is displayed in the logs when building my Quarkus app using 2.1.0.CR1

2021-07-15 15:16:36,432 WARN  [io.qua.arc.dep.SplitPackageProcessor] (build-19) Detected a split package usage which is considered a bad practice and should be avoided. Following packages were detected in multiple archives: 
- "io.quarkus.hibernate.orm.panache" found in [io.quarkus:quarkus-hibernate-orm-panache-common, io.quarkus:quarkus-hibernate-orm-panache]

Expected behavior

No warning should be displayed for our core extensions

Actual behavior

Warning is displayed

How to Reproduce?

Build the panache quickstart with 2.1.0.CR1

Output of uname -a or ver

Fedora 34

Output of java -version

11

GraalVM version (if different from Java)

21

Quarkus version or git rev

2.1.0.CR1

Build tool (ie. output of mvnw --version or gradlew --version)

Maven 3.8.1

Additional information

This was first seen in #18617 (comment)

@gastaldi gastaldi added the kind/bug Something isn't working label Jul 15, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 15, 2021

/cc @FroMage, @loicmathieu

@gsmet
Copy link
Member

gsmet commented Jul 16, 2021

There are more problems than just this one unfortunately.

Here is the list:

"io.fabric8.kubernetes.api.model" found in [io.fabric8:kubernetes-model-apiextensions, io.fabric8:kubernetes-model-rbac, io.fabric8:kubernetes-model-extensions, io.fabric8:kubernetes-model-networking, io.fabric8:kubernetes-model-coordination, io.fabric8:kubernetes-model-discovery, io.fabric8:kubernetes-model-metrics, io.fabric8:kubernetes-model-batch, io.fabric8:kubernetes-model-node, io.fabric8:kubernetes-model-admissionregistration, io.fabric8:kubernetes-model-certificates, io.fabric8:kubernetes-model-apps, io.fabric8:kubernetes-model-storageclass, io.fabric8:kubernetes-model-autoscaling, io.fabric8:kubernetes-model-core, io.fabric8:kubernetes-model-flowcontrol, io.fabric8:kubernetes-model-events, io.fabric8:kubernetes-model-scheduling, io.fabric8:kubernetes-model-policy]
(and a lot more for this one)

"io.quarkus.arquillian.test" found in [/home/runner/work/quarkus/quarkus/test-framework/arquillian/target/quarkus-arquillian-test14456914113993333186/lib/3c00744b-5421-4757-8795-5f30f04bd855.jar, application classes]

"io.quarkus.hibernate.orm.panache" found in [io.quarkus:quarkus-hibernate-orm-panache-common, io.quarkus:quarkus-hibernate-orm-panache]

"io.quarkus.mongodb.panache" found in [io.quarkus:quarkus-mongodb-panache-common, io.quarkus:quarkus-mongodb-panache]

"io.quarkus.mongodb.panache.reactive" found in [io.quarkus:quarkus-mongodb-panache-common, io.quarkus:quarkus-mongodb-panache]

"io.quarkus.mongodb.panache.reactive.runtime" found in [io.quarkus:quarkus-mongodb-panache, io.quarkus:quarkus-mongodb-panache-common]

"io.quarkus.mongodb.panache.runtime" found in [io.quarkus:quarkus-mongodb-panache-common, io.quarkus:quarkus-mongodb-panache]

"io.quarkus.registry" found in [application classes, io.quarkus:quarkus-devtools-registry-client]

@gastaldi gastaldi changed the title Split package warning when using Panache Split package warning from core extensions Jul 16, 2021
@FroMage
Copy link
Member

FroMage commented Jul 27, 2021

So, @loicmathieu you fixed the mongodb issues, but not io.quarkus.hibernate.orm.panache right?

@loicmathieu
Copy link
Contributor

@FroMage Guillaume fixed them in Hibernate with Panache.
I think the issue is fixed now as he also add an ignored rules for the k8s client.

@gastaldi can we close this one now thanks to Guillaume's work ?

@FroMage
Copy link
Member

FroMage commented Aug 5, 2021

OK great, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/panache kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants