|
| 1 | +<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"> |
| 2 | + <!-- This module was also published with a richer model, Gradle metadata, --> |
| 3 | + <!-- which should be used instead. Do not delete the following line which --> |
| 4 | + <!-- is to indicate to Gradle or any Gradle module metadata file consumer --> |
| 5 | + <!-- that they should prefer consuming it instead. --> |
| 6 | + <!-- do_not_remove: published-with-gradle-metadata --> |
| 7 | + <modelVersion>4.0.0</modelVersion> |
| 8 | + <parent> |
| 9 | + <groupId>com.fasterxml.jackson.datatype</groupId> |
| 10 | + <artifactId>jackson-datatype-hibernate-parent</artifactId> |
| 11 | + <version>2.20.0-SNAPSHOT</version> |
| 12 | + </parent> |
| 13 | + <artifactId>jackson-datatype-hibernate7</artifactId> |
| 14 | + <name>Jackson-datatype-hibernate7</name> |
| 15 | + <packaging>bundle</packaging> |
| 16 | + <description>Add-on module for Jackson (https://github.com/FasterXML/jackson) to support |
| 17 | +Hibernate (https://hibernate.org/) version 7.x with Jakarta data types. |
| 18 | + </description> |
| 19 | + <url>https://github.com/FasterXML/jackson-datatype-hibernate</url> |
| 20 | + <properties> |
| 21 | + <!-- Generate PackageVersion.java into this directory. --> |
| 22 | + <packageVersion.dir>com/fasterxml/jackson/datatype/hibernate7</packageVersion.dir> |
| 23 | + <packageVersion.package>${project.groupId}.hibernate7</packageVersion.package> |
| 24 | + <!-- Hibernate with Jakarta Persistence 3.0 --> |
| 25 | + <hibernate.version>7.0.3.Final</hibernate.version> |
| 26 | + <osgi.export>${project.groupId}.hibernate7</osgi.export> |
| 27 | + </properties> |
| 28 | + |
| 29 | + <dependencies> |
| 30 | + <dependency> |
| 31 | + <groupId>jakarta.transaction</groupId> |
| 32 | + <artifactId>jakarta.transaction-api</artifactId> |
| 33 | + <version>2.0.1</version> |
| 34 | + </dependency> |
| 35 | + |
| 36 | + <!-- what would be the best scope to use here? --> |
| 37 | + <dependency> |
| 38 | + <groupId>org.hibernate.orm</groupId> |
| 39 | + <artifactId>hibernate-core</artifactId> |
| 40 | + <version>${hibernate.version}</version> |
| 41 | + <scope>provided</scope> |
| 42 | + </dependency> |
| 43 | + |
| 44 | + <!-- and for some contributed tests Mockito --> |
| 45 | + <dependency> |
| 46 | + <groupId>org.mockito</groupId> |
| 47 | + <artifactId>mockito-core</artifactId> |
| 48 | + <scope>test</scope> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>org.slf4j</groupId> |
| 52 | + <artifactId>slf4j-log4j12</artifactId> |
| 53 | + <scope>test</scope> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>log4j</groupId> |
| 57 | + <artifactId>log4j</artifactId> |
| 58 | + <scope>test</scope> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>com.h2database</groupId> |
| 62 | + <artifactId>h2</artifactId> |
| 63 | + <scope>test</scope> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>jakarta.xml.bind</groupId> |
| 67 | + <artifactId>jakarta.xml.bind-api</artifactId> |
| 68 | + <version>3.0.1</version> |
| 69 | + <scope>test</scope> |
| 70 | + </dependency> |
| 71 | + </dependencies> |
| 72 | + |
| 73 | + <build> |
| 74 | + <plugins> |
| 75 | + <plugin> |
| 76 | + <groupId>org.apache.maven.plugins</groupId> |
| 77 | + <artifactId>maven-compiler-plugin</artifactId> |
| 78 | + <configuration> |
| 79 | + <source>17</source> |
| 80 | + <target>17</target> |
| 81 | + </configuration> |
| 82 | + </plugin> |
| 83 | + <plugin> |
| 84 | + <!-- Inherited from oss-base. Generate PackageVersion.java.--> |
| 85 | + <groupId>com.google.code.maven-replacer-plugin</groupId> |
| 86 | + <artifactId>replacer</artifactId> |
| 87 | + </plugin> |
| 88 | + <!-- 29-Apr-2025, tatu: SBOM generation [JSTEP-14] --> |
| 89 | + <plugin> |
| 90 | + <groupId>org.cyclonedx</groupId> |
| 91 | + <artifactId>cyclonedx-maven-plugin</artifactId> |
| 92 | + </plugin> |
| 93 | + <plugin> |
| 94 | + <groupId>org.moditect</groupId> |
| 95 | + <artifactId>moditect-maven-plugin</artifactId> |
| 96 | + <inherited>true</inherited> |
| 97 | + <configuration> |
| 98 | + <jvmVersion>11</jvmVersion> |
| 99 | + </configuration> |
| 100 | + </plugin> |
| 101 | + <!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata --> |
| 102 | + <!-- 28-Feb-2025, jjohannes: Apply plugin last as it has to be the last of all 'package phase' plugins --> |
| 103 | + <plugin> |
| 104 | + <groupId>org.gradlex</groupId> |
| 105 | + <artifactId>gradle-module-metadata-maven-plugin</artifactId> |
| 106 | + </plugin> |
| 107 | + </plugins> |
| 108 | + </build> |
| 109 | +</project> |
0 commit comments