| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.stormcrawler</groupId> |
| <artifactId>stormcrawler-external</artifactId> |
| <version>3.6.1-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <properties> |
| <opensearch.server.version>3.5.0</opensearch.server.version> |
| <opensearch.java.version>3.9.0</opensearch.java.version> |
| <jacoco.haltOnFailure>true</jacoco.haltOnFailure> |
| <jacoco.classRatio>0.27</jacoco.classRatio> |
| <jacoco.instructionRatio>0.27</jacoco.instructionRatio> |
| <jacoco.methodRatio>0.25</jacoco.methodRatio> |
| <jacoco.branchRatio>0.17</jacoco.branchRatio> |
| <jacoco.lineRatio>0.29</jacoco.lineRatio> |
| <jacoco.complexityRatio>0.13</jacoco.complexityRatio> |
| </properties> |
| |
| <artifactId>stormcrawler-opensearch-java</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>stormcrawler-opensearch-java</name> |
| <url> |
| https://github.com/apache/stormcrawler/tree/master/external/opensearch-java</url> |
| <description>OpenSearch module for Apache StormCrawler using the new opensearch-java client</description> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <systemPropertyVariables> |
| <opensearch-version>${opensearch.server.version}</opensearch-version> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.opensearch.client</groupId> |
| <artifactId>opensearch-java</artifactId> |
| <version>${opensearch.java.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.stormcrawler</groupId> |
| <artifactId>stormcrawler-core</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>testcontainers</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.awaitility</groupId> |
| <artifactId>awaitility</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| </project> |