quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.82k stars 2.69k forks source link

javax.xml.bind excludes spreaded across multiple modules instead of centralized approach in BOM #26472

Open rsvoboda opened 2 years ago

rsvoboda commented 2 years ago

Describe the bug

javax.xml.bind excludes spreaded across multiple modules instead of centralized approach in BOM

I think the excludes should be managed in the BOM and not across individual extensions Relates to https://github.com/quarkusio/quarkus/issues/26468

javax.xml.bind excludes outside the BOM

extensions/hibernate-envers/runtime/pom.xml-                <!-- These XML parsers are banned in the project as we use the new package -->
extensions/hibernate-envers/runtime/pom.xml-                <exclusion>
extensions/hibernate-envers/runtime/pom.xml:                    <groupId>javax.xml.bind</groupId>
extensions/hibernate-envers/runtime/pom.xml-                    <artifactId>jaxb-api</artifactId>
extensions/hibernate-envers/runtime/pom.xml-                </exclusion>
--
extensions/hibernate-orm/runtime/pom.xml-                <!-- These XML parsers are banned in the project as we use the new package -->
extensions/hibernate-orm/runtime/pom.xml-                <exclusion>
extensions/hibernate-orm/runtime/pom.xml:                    <groupId>javax.xml.bind</groupId>
extensions/hibernate-orm/runtime/pom.xml-                    <artifactId>jaxb-api</artifactId>
extensions/hibernate-orm/runtime/pom.xml-                </exclusion>
--
extensions/hibernate-validator/runtime/pom.xml-                </exclusion>
extensions/hibernate-validator/runtime/pom.xml-                <exclusion>
extensions/hibernate-validator/runtime/pom.xml:                    <groupId>org.jboss.spec.javax.xml.bind</groupId>
extensions/hibernate-validator/runtime/pom.xml-                    <artifactId>jboss-jaxb-api_2.3_spec</artifactId>
extensions/hibernate-validator/runtime/pom.xml-                </exclusion>
--
extensions/kubernetes-client/spi/pom.xml-                </exclusion>
extensions/kubernetes-client/spi/pom.xml-                <exclusion>
extensions/kubernetes-client/spi/pom.xml:                    <groupId>javax.xml.bind</groupId>
extensions/kubernetes-client/spi/pom.xml-                    <artifactId>jaxb-api</artifactId>
extensions/kubernetes-client/spi/pom.xml-                </exclusion>
--
extensions/openshift-client/runtime/pom.xml-                </exclusion>
extensions/openshift-client/runtime/pom.xml-                <exclusion>
extensions/openshift-client/runtime/pom.xml:                    <groupId>javax.xml.bind</groupId>
extensions/openshift-client/runtime/pom.xml-                    <artifactId>jaxb-api</artifactId>
extensions/openshift-client/runtime/pom.xml-                </exclusion>
--
extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml-            <exclusions>
extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml-                <exclusion>
extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml:                    <groupId>javax.xml.bind</groupId>
extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml-                    <artifactId>jaxb-api</artifactId>
extensions/panache/hibernate-orm-panache-kotlin/runtime/pom.xml-                </exclusion>
--
extensions/panache/hibernate-orm-panache/runtime/pom.xml-            <exclusions>
extensions/panache/hibernate-orm-panache/runtime/pom.xml-                <exclusion>
extensions/panache/hibernate-orm-panache/runtime/pom.xml:                    <groupId>javax.xml.bind</groupId>
extensions/panache/hibernate-orm-panache/runtime/pom.xml-                    <artifactId>jaxb-api</artifactId>
extensions/panache/hibernate-orm-panache/runtime/pom.xml-                </exclusion>
--
extensions/panache/hibernate-reactive-panache/runtime/pom.xml-                </exclusion>
extensions/panache/hibernate-reactive-panache/runtime/pom.xml-                <exclusion>
extensions/panache/hibernate-reactive-panache/runtime/pom.xml:                    <groupId>javax.xml.bind</groupId>
extensions/panache/hibernate-reactive-panache/runtime/pom.xml-                    <artifactId>jaxb-api</artifactId>
extensions/panache/hibernate-reactive-panache/runtime/pom.xml-                </exclusion>
--
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                </exclusion>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                <exclusion>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml:                    <groupId>javax.xml.bind</groupId>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                    <artifactId>jaxb-api</artifactId>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                </exclusion>
--
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                </exclusion>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                <exclusion>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml:                    <groupId>javax.xml.bind</groupId>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                    <artifactId>jaxb-api</artifactId>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                </exclusion>
--
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                </exclusion>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                <exclusion>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml:                    <groupId>javax.xml.bind</groupId>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                    <artifactId>jaxb-api</artifactId>
integration-tests/kubernetes/quarkus-standard-way-kafka/pom.xml-                </exclusion>
--
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                </exclusion>
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                <exclusion>
integration-tests/kubernetes/quarkus-standard-way/pom.xml:                    <groupId>javax.xml.bind</groupId>
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                    <artifactId>jaxb-api</artifactId>
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                </exclusion>
--
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                </exclusion>
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                <exclusion>
integration-tests/kubernetes/quarkus-standard-way/pom.xml:                    <groupId>javax.xml.bind</groupId>
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                    <artifactId>jaxb-api</artifactId>
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                </exclusion>
--
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                </exclusion>
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                <exclusion>
integration-tests/kubernetes/quarkus-standard-way/pom.xml:                    <groupId>javax.xml.bind</groupId>
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                    <artifactId>jaxb-api</artifactId>
integration-tests/kubernetes/quarkus-standard-way/pom.xml-                </exclusion>
--
test-framework/kubernetes-client/pom.xml-                </exclusion>
test-framework/kubernetes-client/pom.xml-                <exclusion>
test-framework/kubernetes-client/pom.xml:                    <groupId>javax.xml.bind</groupId>
test-framework/kubernetes-client/pom.xml-                    <artifactId>jaxb-api</artifactId>
test-framework/kubernetes-client/pom.xml-                </exclusion>
--
test-framework/openshift-client/pom.xml-                </exclusion>
test-framework/openshift-client/pom.xml-                <exclusion>
test-framework/openshift-client/pom.xml:                    <groupId>javax.xml.bind</groupId>
test-framework/openshift-client/pom.xml-                    <artifactId>jaxb-api</artifactId>
test-framework/openshift-client/pom.xml-                </exclusion>

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

No response

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

No response

Additional information

No response

quarkus-bot[bot] commented 2 years ago

/cc @evanchooly, @geoand, @iocanel

rsvoboda commented 2 years ago

/cc @aloubyansky @maxandersen