| <?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.beam</groupId> |
| <artifactId>beam-sdks-java-io-elasticsearch-tests-parent</artifactId> |
| <version>2.2.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>beam-sdks-java-io-elasticsearch-tests-5</artifactId> |
| <name>Apache Beam :: SDKs :: Java :: IO :: Elasticsearch-Tests :: 5.x</name> |
| <description>Tests of ElasticsearchIO on Elasticsearch 5.x</description> |
| |
| <properties> |
| <elasticsearch.version>5.4.0</elasticsearch.version> |
| </properties> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.elasticsearch.test</groupId> |
| <artifactId>framework</artifactId> |
| <version>${elasticsearch.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!--to enable rest connection on embeded elasticsearch--> |
| <dependency> |
| <groupId>org.elasticsearch.plugin</groupId> |
| <artifactId>transport-netty4-client</artifactId> |
| <version>${elasticsearch.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.carrotsearch.randomizedtesting</groupId> |
| <artifactId>randomizedtesting-runner</artifactId> |
| <version>2.5.0</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.elasticsearch</groupId> |
| <artifactId>elasticsearch</artifactId> |
| <version>${elasticsearch.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.beam</groupId> |
| <artifactId>beam-sdks-java-io-elasticsearch-tests-common</artifactId> |
| <scope>test</scope> |
| <classifier>tests</classifier> |
| </dependency> |
| |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <!--needed for ESIntegTestCase--> |
| <configuration> |
| <argLine>-Dtests.security.manager=false</argLine> |
| </configuration> |
| </plugin> |
| <!-- Overridden enforcer plugin for JDK1.8 for running tests --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.4.1</version> |
| <executions> |
| <execution> |
| <id>enforce</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <enforceBytecodeVersion> |
| <maxJdkVersion>1.8</maxJdkVersion> |
| <excludes> |
| <!-- Supplied by the user JDK and compiled with matching |
| version. Is not shaded, so safe to ignore. --> |
| <exclude>jdk.tools:jdk.tools</exclude> |
| </excludes> |
| </enforceBytecodeVersion> |
| <requireJavaVersion> |
| <version>[1.8,)</version> |
| </requireJavaVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>extra-enforcer-rules</artifactId> |
| <version>1.0-beta-6</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |