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.1.8.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.1.8.Final</version> <relativePath>../../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> <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>