Uploaded image for project: 'Hibernate ORM'
  1. HHH-12474

Make sure the JPA version is defined by a single property across build files

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 5.3.0.CR2
    • Components: build
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      Several build files have been upgraded to refer to JPA 2.2, but I see several other places are still referring to JPA 2.1.

      For example:

      • hibernate-core OSGi headers are referring to 'javax.persistence;version="2.1.0"'
      • hibernate-envers OSGi headers have multiple references to 2.1
      • base-information.gradle defines jpaVersion

      Might be useful to make sure they all depend on the same property?

      To handle the case "2.1.0" vs "2.1" we might need multiple such properties but I'd recommend to define them close to each other so that when changing one it's unlikely to not notice the other.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: