cirrus-highlighter-opensearch-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.wikimedia.search.highlighter</groupId>
<artifactId>cirrus-highlighter-opensearch-plugin</artifactId>
<version>2.19.5-wmf1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.wikimedia.search.highlighter</groupId>
<artifactId>cirrus</artifactId>
<version>2.19.5-wmf1</version>
</parent>
<artifactId>cirrus-highlighter-opensearch-plugin</artifactId>
<packaging>jar</packaging>
<name>OpenSearch plugin for cirrus highlighter</name>
<description>Cirrus Highlighter plugin</description>
<properties>
<opensearch.plugin.name>cirrus-highlighter</opensearch.plugin.name>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
</dependency>
<dependency>
<groupId>org.opensearch</groupId>
<artifactId>opensearch</artifactId>
</dependency>
<dependency>
<groupId>org.wikimedia.search.highlighter</groupId>
<artifactId>cirrus-highlighter-core</artifactId>
</dependency>
<dependency>
<groupId>org.wikimedia.search.highlighter</groupId>
<artifactId>cirrus-highlighter-lucene</artifactId>
</dependency>
<dependency>
<groupId>org.wikimedia.utils</groupId>
<artifactId>lucene-regex-rewriter</artifactId>
</dependency>
<!-- FIXME: switch to gradle and reuse elastic integ testing framework -->
<!-- <dependency> -->
<!-- <groupId>org.opensearch.plugin</groupId> -->
<!-- <artifactId>analysis-icu</artifactId> -->
<!-- <version>${opensearch.version}</version> -->
<!-- <scope>test</scope> -->
<!-- </dependency> -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.opensearch.test</groupId>
<artifactId>framework</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>*.properties</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.carrotsearch.randomizedtesting</groupId>
<artifactId>junit4-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
<configuration>
<signaturesArtifacts combine.children="append">
<signaturesArtifact>
<groupId>org.wikimedia</groupId>
<artifactId>wmf-maven-tool-configs</artifactId>
<version>${wmf-maven-tool-configs.version}</version>
<type>jar</type>
<path>org/wikimedia/build/tools/forbidden/lucene-signatures.txt</path>
</signaturesArtifact>
</signaturesArtifacts>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${project.build.directory}/releases/</outputDirectory>
<descriptors>
<descriptor>${basedir}/src/main/assemblies/plugin.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-no-package-cycles</id>
<!-- disable enforcer as this project has package cyclic dependencies -->
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>