| <?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</groupId> |
| <artifactId>apache</artifactId> |
| <version>30</version> |
| </parent> |
| <packaging>pom</packaging> |
| |
| <name>Phoenix Adapters Layers</name> |
| <modules> |
| <module>phoenix-ddb-rest</module> |
| <module>phoenix-ddb-utils</module> |
| <module>phoenix-ddb-assembly</module> |
| <module>coverage-report</module> |
| </modules> |
| |
| <groupId>org.apache.phoenixadapters</groupId> |
| <artifactId>phoenix-adapters</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <java.version>1.8</java.version> |
| <aws.sdk.version>2.30.22</aws.sdk.version> |
| <phoenix.version>5.3.0</phoenix.version> |
| <junit.version>4.13.1</junit.version> |
| <jetty.version>9.4.53.v20231009</jetty.version> |
| <javax.servlet-api.version>3.1.0</javax.servlet-api.version> |
| <hbase.version>2.5.12-hadoop3</hbase.version> |
| <hbase.compat.version>2.5.4</hbase.compat.version> |
| <hbase-thirdparty.version>4.1.10</hbase-thirdparty.version> |
| <reload4j.version>1.2.19</reload4j.version> |
| <log4j2.version>2.18.0</log4j2.version> |
| <zookeeper.version>3.8.4</zookeeper.version> |
| <hadoop.version>3.3.6</hadoop.version> |
| <mockito.version>4.11.0</mockito.version> |
| <test.output.tofile>true</test.output.tofile> |
| <numForkedIT>1</numForkedIT> |
| </properties> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.8.1</version> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <includes> |
| <include>*IT.java</include> |
| <include>*Test.java</include> |
| </includes> |
| <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> |
| <failIfNoTests>false</failIfNoTests> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <!-- Common settings for all executions --> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| <forkCount>${numForkedIT}</forkCount> |
| <runOrder>alphabetical</runOrder> |
| <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> |
| <forkedProcessExitTimeoutInSeconds>180</forkedProcessExitTimeoutInSeconds> |
| <shutdown>exit</shutdown> |
| <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory> |
| <trimStackTrace>false</trimStackTrace> |
| <!-- https://www.orpiske.net/2021/04/test-woes-with-maven-failsafe-3-0-0-m5 --> |
| <useModulePath>false</useModulePath> |
| <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/> |
| <systemPropertyVariables> |
| <!-- <java.io.tmpdir>${test.tmp.dir}</java.io.tmpdir>--> |
| </systemPropertyVariables> |
| </configuration> |
| <executions> |
| <execution> |
| <id>TestExecution</id> |
| <configuration> |
| <reuseForks>false</reuseForks> |
| </configuration> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| <profiles> |
| <profile> |
| <id>coverage</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>0.8.7</version> |
| <executions> |
| <execution> |
| <id>prepare-agent</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.phoenixadapters</groupId> |
| <artifactId>phoenix-ddb-utils</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenixadapters</groupId> |
| <artifactId>phoenix-ddb-rest</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| </project> |