hibernate-search-mapper-orm-coordination-outbox-polling
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.hibernate.search</groupId> <artifactId>hibernate-search-mapper-orm-coordination-outbox-polling</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</artifactId> <version>6.1.8.Final</version> <relativePath>../../parents/public</relativePath> </parent> <artifactId>hibernate-search-mapper-orm-coordination-outbox-polling</artifactId> <name>Hibernate Search ORM Integration - Coordination - Outbox Polling</name> <description>Hibernate ORM integration using outbox polling as coordination strategy</description> <properties> <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</artifactId> </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</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <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>${project.basedir}/src/main/avro/</sourceDirectory> <outputDirectory>${project.basedir}/target/generated-sources/avro/</outputDirectory> <customConversions>org.apache.avro.Conversions$UUIDConversion</customConversions> </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>