pjfanning commented on code in PR #7428:
URL: https://github.com/apache/hadoop/pull/7428#discussion_r1970767570
##########
hadoop-project/pom.xml:
##########
@@ -1275,6 +1278,12 @@
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>${jackson2.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ </exclusion>
Review Comment:
I added the exclusion when testing with jackson 2.18.2.
https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-jaxb-annotations/2.18.2
that has a dependency on javax.xml.bind:jaxb-api not
jakarta.xml.bind:jakarta.xml.bind-api
jakarta.xml.bind:jakarta.xml.bind-api v2 uses the same package name as
javax.xml.bind:jaxb-api (a javax package name) - it was only in v3 that the
package name changed to a jakarta package name.
I think I will add back the exclusion but fix it so that it excludes
jakarta.xml.bind:jakarta.xml.bind-api.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]