jackson-datatype-hibernate5
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-hibernate5</artifactId> <version>2.19.0</version> </dependency>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <!-- This module was also published with a richer model, Gradle metadata, --> <!-- which should be used instead. Do not delete the following line which --> <!-- is to indicate to Gradle or any Gradle module metadata file consumer --> <!-- that they should prefer consuming it instead. --> <!-- do_not_remove: published-with-gradle-metadata --> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-hibernate-parent</artifactId> <version>2.19.0</version> </parent> <artifactId>jackson-datatype-hibernate5</artifactId> <name>Jackson-datatype-Hibernate5</name> <packaging>bundle</packaging> <description>Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Hibernate (https://hibernate.org) version 5.x data types. </description> <url>https://github.com/FasterXML/jackson-datatype-hibernate</url> <properties> <javac.src.version>1.8</javac.src.version> <javac.target.version>1.8</javac.target.version> <!-- Generate PackageVersion.java into this directory. --> <packageVersion.dir>com/fasterxml/jackson/datatype/hibernate5</packageVersion.dir> <packageVersion.package>${project.groupId}.hibernate5</packageVersion.package> <!-- Hibernate with JPA 2.0 --> <hibernate.version>5.3.37.Final</hibernate.version> <osgi.export>${project.groupId}.hibernate5</osgi.export> </properties> <dependencies> <!-- 18-Dec-2015, tatu: Since 5.0.1, we get exception for missing class "javax.transaction.SystemException", without this: --> <dependency> <groupId>javax.transaction</groupId> <artifactId>javax.transaction-api</artifactId> <version>1.3</version> </dependency> <!-- what would be the best scope to use here? --> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>${hibernate.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>${hibernate.version}</version> <scope>provided</scope> </dependency> <dependency> <!-- update Hibernate dependency on Javassist to 3.23.1 for Java 11 compatibility --> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.23.1-GA</version> <scope>test</scope> </dependency> <!-- and for some contributed tests Mockito --> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>test</scope> </dependency> <!-- 03-May-2020, tatu: JAXB API needed for tests too on JDK11, somehow (but there are other issues too it seems) --> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> <version>2.3.2</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <!-- Inherited from oss-base. Generate PackageVersion.java.--> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <executions> <execution> <id>process-packageVersion</id> <phase>generate-sources</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED</argLine> </configuration> </plugin> <!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata --> <!-- 28-Feb-2025, jjohannes: Apply plugin last as it has to be the last of all 'package phase' plugins --> <plugin> <groupId>org.gradlex</groupId> <artifactId>gradle-module-metadata-maven-plugin</artifactId> </plugin> </plugins> </build> </project>