hibernate-search-mapper-orm-coordination-outbox-polling-orm6
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-mapper-orm-coordination-outbox-polling-orm6</artifactId>
<version>6.2.4.Final</version>
</dependency><?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-parent-public-orm6</artifactId>
<version>6.2.4.Final</version>
<relativePath>../../build/parents/public</relativePath>
</parent>
<artifactId>hibernate-search-mapper-orm-coordination-outbox-polling-orm6</artifactId>
<name>Hibernate Search ORM Integration - Coordination - Outbox Polling - ORM6</name>
<description>Hibernate ORM integration using outbox polling as coordination strategy - ORM6 version</description>
<properties>
<transform.original.pathFromRoot>mapper/orm-coordination-outbox-polling</transform.original.pathFromRoot>
<java.module.name>org.hibernate.search.mapper.orm.coordination.outboxpolling</java.module.name>
</properties>
<dependencies>
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-mapper-orm-orm6</artifactId>
</dependency>
<!-- This dependency is only here to solve compilation warnings.
For some reason, if we rely on the transitive dependency from mapper-orm,
we end up with compilation warnings like this:
unknown enum constant XmlAccessType.FIELD
This seems related to the annotation processor,
but who knows what the exact reason is.
-->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<!-- DO NOT REMOVE and DO NOT MANAGE the version of this dependency. See the version property declaration. -->
<version>${version.jakarta.xml.bind}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
</dependency>
<!-- We only depend on Jackson indirectly through Avro,
but Dependabot apparently ignores dependency management,
so we need these explicit dependencies to have Dependabot update versions. -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<!-- This dependency is only here to solve Moditect errors.
For some reason, the jakarta.transaction module requires jakarta.interceptor,
but the jakarta.transaction-api Maven module doesn't depend on jakarta.interceptor-api,
and that doesn't play well with Moditect, which ends up throwing an exception:
Execution add-module-infos of goal org.moditect:moditect-maven-plugin:1.0.0.RC2:add-module-info failed: Module jakarta.interceptor not found, required by jakarta.transaction
-->
<dependency>
<groupId>jakarta.interceptor</groupId>
<artifactId>jakarta.interceptor-api</artifactId>
<!-- DO NOT REMOVE and DO NOT MANAGE the version of this dependency. See the version property declaration. -->
<version>${version.jakarta.interceptor-api}</version>
<scope>provided</scope>
</dependency>
<!-- This dependency is only here to solve Moditect errors.
For some reason, the jakarta.transaction module requires jakarta.cdi,
but the jakarta.transaction-api Maven module doesn't depend on jakarta.enterprise.cdi-api,
and that doesn't play well with Moditect, which ends up throwing an exception:
Execution add-module-infos of goal org.moditect:moditect-maven-plugin:1.0.0.RC2:add-module-info failed: Module jakarta.interceptor not found, required by jakarta.transaction
-->
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<!-- DO NOT REMOVE and DO NOT MANAGE the version of this dependency. See the version property declaration. -->
<version>${version.jakarta.enterprise}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-util-internal-test-orm-orm6</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<plugin>
<!-- We use Avro-generated DTOs instead of GenericRecord,
because that allows us to write type-safe code
to convert between Hibernate Search objects and Avro objects (DTOs) -->
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>schema</goal>
</goals>
<configuration>
<sourceDirectory>${transform.output.root.path}/main/avro/</sourceDirectory>
<outputDirectory>${project.basedir}/target/generated-sources/avro/</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-generated-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>target/generated-sources/avro</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<executions>
<execution>
<id>add-module-infos</id>
<configuration>
<module>
<moduleInfo>
<!-- cluster and event packages to expose Agent and OutboxEvent entities to ORM and ByteBuddy -->
<opens>
org.hibernate.search.mapper.orm.coordination.outboxpolling.avro.generated.impl to org.apache.avro;
org.hibernate.search.mapper.orm.coordination.outboxpolling.cluster.impl to org.hibernate.orm.core, net.bytebuddy;
org.hibernate.search.mapper.orm.coordination.outboxpolling.event.impl to org.hibernate.orm.core, net.bytebuddy;
</opens>
</moduleInfo>
</module>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>