Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2057

hibernate-core artifact depends on obsolete javax.xml.bind dependency

XMLWordPrintable

    • False
    • None
    • False
    • ---

      hibernate-core artifact depends on obsolete javax.xml.bind dependency

      Javax dependencies are considered outdated and jakarata dependencies should be used instead.

      grep -C2 2.3.1.redhat-00001 . -R in ER4 maven repo gives these related artifacts:

      ./maven-repository/org/hibernate/hibernate-core/5.6.5.Final-redhat-00001/hibernate-core-5.6.5.Final-redhat-00001.pom-      <groupId>javax.xml.bind</groupId>
      ./maven-repository/org/hibernate/hibernate-core/5.6.5.Final-redhat-00001/hibernate-core-5.6.5.Final-redhat-00001.pom-      <artifactId>jaxb-api</artifactId>
      ./maven-repository/org/hibernate/hibernate-core/5.6.5.Final-redhat-00001/hibernate-core-5.6.5.Final-redhat-00001.pom:      <version>2.3.1.redhat-00001</version>
      ./maven-repository/org/hibernate/hibernate-core/5.6.5.Final-redhat-00001/hibernate-core-5.6.5.Final-redhat-00001.pom-      <scope>compile</scope>
      ./maven-repository/org/hibernate/hibernate-core/5.6.5.Final-redhat-00001/hibernate-core-5.6.5.Final-redhat-00001.pom-      <exclusions>
      

      Quick check of https://github.com/hibernate/hibernate-orm/tree/5.6 shows usage of javax.xml.bind on various places.

      Assuming javax.xml.bind will be removed with Hibernate 6 integration in Quarkus.

              sgrinove Sanne Grinovero (Inactive)
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: