From: Jakub Jirutka Date: Fri, 23 Jun 2023 15:40:00 +0200 Subject: [PATCH] Remove some unnecessary dependencies - org.junit.* are testing dependencies; these exclusions don't remove them all, I don't know how are they getting to the final build. - quarkus-devservices-* are only for development and they add some docker bloat to the dependency graph. - quarkus-jdbc-mssql and quarkus-jdbc-oracle are for proprietary databases, we don't support those. - com.openshift adds some bloat for running on OpenShift platform - this package is not intended for OpenShift, users of this platform can use the official docker image. This patch reduces the size of the package by ~23 MiB. There are still many useless dependencies, but it's not easy to get rid of them. --- a/quarkus/deployment/pom.xml +++ b/quarkus/deployment/pom.xml @@ -21,6 +21,17 @@ io.quarkus quarkus-core-deployment + + + + org.junit.platform + junit-platform-launcher + + + org.junit.jupiter + junit-jupiter + + io.quarkus @@ -41,6 +52,13 @@ io.quarkus quarkus-hibernate-orm-deployment + + + + io.quarkus + quarkus-devservices-deployment + + io.quarkus @@ -49,15 +67,37 @@ io.quarkus quarkus-jdbc-postgresql-deployment + + + + io.quarkus + quarkus-devservices-postgresql + + io.quarkus quarkus-jdbc-mariadb-deployment + + + + io.quarkus + quarkus-devservices-mariadb + + io.quarkus quarkus-jdbc-mysql-deployment + + + + io.quarkus + quarkus-devservices-mysql + + + io.quarkus quarkus-bootstrap-core --- a/quarkus/runtime/pom.xml +++ b/quarkus/runtime/pom.xml @@ -59,6 +59,7 @@ io.quarkus quarkus-jdbc-mysql + io.quarkus quarkus-core @@ -684,6 +686,7 @@ +