| <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> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-connectors</artifactId> |
| <version>6.0.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>Apache Phoenix Connectors</name> |
| <description>Connectors for third party libraries to access data stored in Phoenix/HBase</description> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| <comments/> |
| </license> |
| </licenses> |
| |
| <organization> |
| <name>Apache Software Foundation</name> |
| <url>http://www.apache.org</url> |
| </organization> |
| |
| <repositories> |
| <repository> |
| <id>apache release</id> |
| <url>https://repository.apache.org/content/repositories/releases/</url> |
| </repository> |
| </repositories> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>23</version> |
| </parent> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/phoenix-connectors.git</connection> |
| <url>https://gitbox.apache.org/repos/asf/phoenix-connectors.git</url> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/phoenix-connectors.git</developerConnection> |
| </scm> |
| |
| <modules> |
| <!-- Changing the module order here may cause maven to get stuck in an infinite loop --> |
| <module>phoenix5-hive</module> |
| <module>phoenix5-hive-shaded</module> |
| <module>phoenix5-flume</module> |
| <module>phoenix5-kafka</module> |
| <module>phoenix5-spark</module> |
| <module>phoenix5-spark-shaded</module> |
| <module>phoenix5-spark3</module> |
| <module>phoenix5-spark3-it</module> |
| <module>phoenix5-spark3-shaded</module> |
| <module>phoenix5-connectors-assembly</module> |
| </modules> |
| |
| <properties> |
| <!-- Phoenix Version --> |
| <phoenix.version>5.1.2</phoenix.version> |
| <phoenix.thirdparty.version>2.0.0</phoenix.thirdparty.version> |
| <!-- Hadoop Versions --> |
| <hbase.version>2.1.10</hbase.version> |
| <hbase.compat.version>2.1.6</hbase.compat.version> |
| <hadoop.version>3.0.3</hadoop.version> |
| <zookeeper.version>3.5.9</zookeeper.version> |
| |
| <hbase-thirdparty-version>2.1.0</hbase-thirdparty-version> |
| |
| |
| <!-- General Properties --> |
| <test.output.tofile>true</test.output.tofile> |
| <top.dir>${project.basedir}</top.dir> |
| |
| <compileSource>1.8</compileSource> |
| <maven.compiler.source>${compileSource}</maven.compiler.source> |
| <maven.compiler.target>${compileSource}</maven.compiler.target> |
| |
| <!-- JVM version dependent JVM options for running tests. Keep mostly in sync with HBase--> |
| <!-- Note that some components, like Spark 2.x just don't support anything newer than Java 8, |
| and the build/tests will fail on those modules anyway --> |
| <surefire.Xmx>3000m</surefire.Xmx> |
| |
| <!-- Profiling is not enabled in the repo. Placeholder. --> |
| <jacocoArgLine></jacocoArgLine> |
| <!-- Hard to read, but ScalaTest cannot handle multiline argLine. |
| It cannot resolve @{} either--> |
| <phoenix-surefire.argLine>-enableassertions -Xmx${surefire.Xmx} -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced -Dio.netty.eventLoopThreads=3 -Duser.timezone="America/Los_Angeles" -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./target/ "-Djava.library.path=${hadoop.library.path}${path.separator}${java.library.path}"</phoenix-surefire.argLine> |
| <phoenix-surefire.jdk8.tuning.flags>-XX:NewRatio=4 -XX:SurvivorRatio=8 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:CMSInitiatingOccupancyFraction=68</phoenix-surefire.jdk8.tuning.flags> |
| <phoenix-surefire.jdk11.flags>-Dorg.apache.hbase.thirdparty.io.netty.tryReflectionSetAccessible=true --add-modules jdk.unsupported --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED</phoenix-surefire.jdk11.flags> |
| <phoenix-surefire.jdk11.tuning.flags>${phoenix-surefire.jdk8.tuning.flags}</phoenix-surefire.jdk11.tuning.flags> |
| <phoenix-surefire.jdk17.flags>--add-opens java.base/jdk.internal.util.random=ALL-UNNAMED</phoenix-surefire.jdk17.flags> |
| <phoenix-surefire.jdk17.tuning.flags></phoenix-surefire.jdk17.tuning.flags> |
| <!-- Surefire argLine defaults for Linux + JDK8 --> |
| <argLine>${phoenix-surefire.argLine} ${phoenix-surefire.jdk8.tuning.flags}</argLine> |
| |
| <!-- Dependency versions --> |
| <hive3.version>3.1.2</hive3.version> |
| <hive.version>${hive3.version}</hive.version> |
| <hive3-storage.version>2.7.0</hive3-storage.version> |
| <hive-storage.version>${hive3-storage.version}</hive-storage.version> |
| <flume.version>1.4.0</flume.version> |
| <kafka.version>0.9.0.0</kafka.version> |
| <spark.version>2.4.0</spark.version> |
| <spark3.version>3.0.3</spark3.version> |
| <scala.version>2.11.12</scala.version> |
| <scala.binary.version>2.11</scala.binary.version> |
| |
| <log4j.version>1.2.17</log4j.version> |
| <log4j2.version>2.18.0</log4j2.version> |
| <disruptor.version>3.3.6</disruptor.version> |
| <slf4j.version>1.7.30</slf4j.version> |
| <commons-collections.version>3.2.2</commons-collections.version> |
| <commons-csv.version>1.0</commons-csv.version> |
| <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version> |
| <mockito-all.version>1.8.5</mockito-all.version> |
| <junit.version>4.13.2</junit.version> |
| <jodatime.version>2.10.5</jodatime.version> |
| <commons-cli.version>1.4</commons-cli.version> |
| <commons-compress.version>1.9</commons-compress.version> |
| <!-- For Kafka --> |
| <com-101tek-zkclient.version>0.7</com-101tek-zkclient.version> |
| <!-- For hive --> |
| <commons-io.version>2.11.0</commons-io.version> |
| |
| <!-- Plugin versions --> |
| <maven-assembly-plugin-version>3.1.1</maven-assembly-plugin-version> |
| <surefire.version>3.0.0</surefire.version> |
| <maven-project-info-reports-plugin.version>3.1.1</maven-project-info-reports-plugin.version> |
| <maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version> |
| <maven-build-helper-plugin.version>3.2.0</maven-build-helper-plugin.version> |
| <maven-scala-plugin.version>3.4.4</maven-scala-plugin.version> |
| |
| <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> |
| <spotbugs-maven-plugin.version>4.1.3</spotbugs-maven-plugin.version> |
| <spotbugs.version>4.1.3</spotbugs.version> |
| <maven-owasp-plugin.version>6.5.3</maven-owasp-plugin.version> |
| |
| <!-- Plugin options --> |
| <numForkedUT>8</numForkedUT> |
| <numForkedIT>7</numForkedIT> |
| <it.failIfNoSpecifiedTests>false</it.failIfNoSpecifiedTests> |
| <surefire.failIfNoSpecifiedTests>false</surefire.failIfNoSpecifiedTests> |
| |
| <!-- Set default encoding so multi-byte tests work correctly on the Mac --> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| |
| <shaded.package>org.apache.phoenix.shaded</shaded.package> |
| <hbase.shaded.package>org.apache.hadoop.hbase.shaded</hbase.shaded.package> |
| <phoenix.main.version>5</phoenix.main.version> |
| |
| <skip-scala-tests>true</skip-scala-tests> |
| <skip.spark.javadoc>false</skip.spark.javadoc> |
| </properties> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>${exec-maven-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-toolchains-plugin</artifactId> |
| <version>${maven-toolchains-plugin.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>toolchain</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <toolchains> |
| <jdk> |
| <version>${jdk.version}</version> |
| </jdk> |
| </toolchains> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>${maven-project-info-reports-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>${maven-assembly-plugin-version}</version> |
| </plugin> |
| <!--This plugin's configuration is used to store Eclipse m2e settings |
| only. It has no influence on the Maven build itself. --> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr3-maven-plugin</artifactId> |
| <versionRange>[3.5,)</versionRange> |
| <goals> |
| <goal>antlr</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven-checkstyle-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <!-- Avoid defining exclusions in pluginManagement as they are global. |
| We already inherit some from the ASF parent pom. --> |
| </plugin> |
| <plugin> |
| <groupId>org.owasp</groupId> |
| <artifactId>dependency-check-maven</artifactId> |
| <version>${maven-owasp-plugin.version}</version> |
| <configuration> |
| <skipProvidedScope>true</skipProvidedScope> |
| <skipRuntimeScope>true</skipRuntimeScope> |
| <skipSystemScope>true</skipSystemScope> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| <version>${spotbugs-maven-plugin.version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs</artifactId> |
| <version>${spotbugs.version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <effort>Max</effort> |
| <maxHeap>2048</maxHeap> |
| </configuration> |
| </plugin> |
| <!-- We put slow-running tests into src/it and run them during the |
| integration-test phase using the failsafe plugin. This way |
| developers can run unit tests conveniently from the IDE or via |
| "mvn package" from the command line without triggering time |
| consuming integration tests. --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>${maven-build-helper-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>add-test-source</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>add-test-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>${basedir}/src/it/java</source> |
| <source>${basedir}/src/it/scala</source> |
| </sources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>add-test-resource</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>add-test-resource</goal> |
| </goals> |
| <configuration> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/it/resources</directory> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>net.alchim31.maven</groupId> |
| <artifactId>scala-maven-plugin</artifactId> |
| <version>${maven-scala-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <!-- Common settings for all executions --> |
| <configuration> |
| <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/> |
| <encoding>UTF-8</encoding> |
| <forkCount>${numForkedIT}</forkCount> |
| <runOrder>alphabetical</runOrder> |
| <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> |
| <shutdown>kill</shutdown> |
| <testSourceDirectory>${basedir}/src/it/java</testSourceDirectory> |
| <trimStackTrace>false</trimStackTrace> |
| </configuration> |
| <executions> |
| <execution> |
| <id>ParallelStatsDisabledTest</id> |
| <configuration> |
| <reuseForks>true</reuseForks> |
| <groups>org.apache.phoenix.end2end.ParallelStatsDisabledTest</groups> |
| </configuration> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>NeedsOwnMiniClusterTest</id> |
| <configuration> |
| <reuseForks>false</reuseForks> |
| <groups>org.apache.phoenix.end2end.NeedsOwnMiniClusterTest</groups> |
| </configuration> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <source>8</source> |
| <quiet>true</quiet> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- Allows us to get the apache-ds bundle artifacts --> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.5.3</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <configLocation>${top.dir}/src/main/config/checkstyle/checker.xml</configLocation> |
| <suppressionsLocation>${top.dir}/src/main/config/checkstyle/suppressions.xml</suppressionsLocation> |
| <consoleOutput>true</consoleOutput> |
| <headerLocation>${top.dir}/src/main/config/checkstyle/header.txt</headerLocation> |
| <failOnViolation><!--true-->false</failOnViolation> |
| <includeTestSourceDirectory><!--true-->false</includeTestSourceDirectory> |
| </configuration> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <additionalparam>${javadoc.opts}</additionalparam> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/> |
| <forkCount>${numForkedUT}</forkCount> |
| <reuseForks>true</reuseForks> |
| <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> |
| <shutdown>kill</shutdown> |
| <trimStackTrace>false</trimStackTrace> |
| </configuration> |
| </plugin> |
| <!-- All projects create a test jar --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>prepare-package |
| </phase> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| <configuration> |
| <skipIfEmpty>true</skipIfEmpty> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <!-- Header on changelog isn't normal --> |
| <exclude>CHANGES</exclude> |
| <!-- IDE configuration --> |
| <exclude>dev/phoenix.importorder</exclude> |
| <!-- Release L&N --> |
| <exclude>dev/release_files/LICENSE</exclude> |
| <exclude>dev/release_files/NOTICE</exclude> |
| <!-- Exclude data files for examples --> |
| <exclude>docs/*.csv</exclude> |
| <!-- precommit? --> |
| <exclude>**/patchprocess/**</exclude> |
| <exclude>**/derby.log</exclude> |
| <exclude>**/target/*</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>enforce-dependencies</id> |
| <goals> |
| <goal>analyze-only</goal> |
| </goals> |
| <configuration> |
| <failOnWarning>true</failOnWarning> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencyManagement> |
| <dependencies> |
| <!-- Intra-project dependencies --> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-core</artifactId> |
| <version>${phoenix.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.hbase.thirdparty</groupId> |
| <artifactId>hbase-shaded-jersey</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-hbase-compat-${hbase.compat.version}</artifactId> |
| <version>${phoenix.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-core</artifactId> |
| <version>${phoenix.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix.thirdparty</groupId> |
| <artifactId>phoenix-shaded-guava</artifactId> |
| <version>${phoenix.thirdparty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-flume</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-kafka</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-spark</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-spark-shaded</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-spark3</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-spark3-shaded</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-hive</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-hive-shaded</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- HBase dependencies --> |
| |
| <!-- These are only needed so that we can set them provided and exclude from the shaded jars --> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-protocol-shaded</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-metrics-api</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-metrics</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-endpoint</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-mapreduce</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-replication</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-zookeeper</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase.thirdparty</groupId> |
| <artifactId>hbase-shaded-netty</artifactId> |
| <version>${hbase-thirdparty-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase.thirdparty</groupId> |
| <artifactId>hbase-shaded-miscellaneous</artifactId> |
| <version>${hbase-thirdparty-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase.thirdparty</groupId> |
| <artifactId>hbase-shaded-protobuf</artifactId> |
| <version>${hbase-thirdparty-version}</version> |
| </dependency> |
| <!-- End of exclusion-only dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-annotations</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-testing-util</artifactId> |
| <version>${hbase.version}</version> |
| <scope>test</scope> |
| <optional>true</optional> |
| <exclusions> |
| <exclusion> |
| <groupId>org.jruby</groupId> |
| <artifactId>jruby-complete</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-it</artifactId> |
| <version>${hbase.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.jruby</groupId> |
| <artifactId>jruby-complete</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-protocol</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-common</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-common</artifactId> |
| <version>${hbase.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-client</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-client</artifactId> |
| <version>${hbase.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-server</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-server</artifactId> |
| <version>${hbase.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-hadoop-compat</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-hadoop-compat</artifactId> |
| <version>${hbase.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-hadoop2-compat</artifactId> |
| <version>${hbase.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-hadoop2-compat</artifactId> |
| <version>${hbase.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Hadoop Dependencies --> |
| |
| <!-- Start for exclusion only --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-yarn-api</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs-client</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-distcp</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <!-- End for exclusion only --> |
| |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <version>${hadoop.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.xerial.snappy</groupId> |
| <artifactId>snappy-java</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-annotations</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-mapreduce-client-core</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minicluster</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client-minicluster</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Required for mini-cluster since hbase built against old version of hadoop --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-auth</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-mapreduce-client-common</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-mapreduce-client-jobclient</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| <version>${hadoop.version}</version> |
| <type>test-jar</type> <!-- this does not work which is typical for maven.--> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minikdc</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| |
| <!-- General Dependencies --> |
| <dependency> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java</artifactId> |
| <version>2.5.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <!-- for exclusion --> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.flume</groupId> |
| <artifactId>flume-ng-core</artifactId> |
| <version>${flume.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.xerial.snappy</groupId> |
| <artifactId>snappy-java</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.flume</groupId> |
| <artifactId>flume-ng-sdk</artifactId> |
| <version>${flume.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.xerial.snappy</groupId> |
| <artifactId>snappy-java</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.flume</groupId> |
| <artifactId>flume-ng-configuration</artifactId> |
| <version>${flume.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.xerial.snappy</groupId> |
| <artifactId>snappy-java</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>${mockito-all.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.lmax</groupId> |
| <artifactId>disruptor</artifactId> |
| <version>${disruptor.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <profiles> |
| <profile> |
| <id>build-with-jdk8</id> |
| <activation> |
| <jdk>[1.8,11)</jdk> |
| </activation> |
| </profile> |
| <!-- See PHOENIX-6997 when building with with Java9+ --> |
| <!-- Even if we set the correct JVM parameters for Phoenix, some components don't support |
| anything newer than Java 8 --> |
| <profile> |
| <id>build-with-jdk11</id> |
| <activation> |
| <jdk>[11,17)</jdk> |
| </activation> |
| <properties> |
| <argLine>${phoenix-surefire.jdk11.flags} |
| ${phoenix-surefire.jdk11.tuning.flags} |
| ${phoenix-surefire.argLine} |
| @{jacocoArgLine}</argLine> |
| </properties> |
| </profile> |
| <profile> |
| <id>build-with-jdk17</id> |
| <activation> |
| <jdk>[17,)</jdk> |
| </activation> |
| <properties> |
| <argLine>${phoenix-surefire.jdk11.flags} |
| ${phoenix-surefire.jdk17.flags} |
| ${phoenix-surefire.jdk17.tuning.flags} |
| ${phoenix-surefire.argLine} |
| @{jacocoArgLine}</argLine> |
| </properties> |
| </profile> |
| <!-- disable doclint with 1.8+ JDKs--> |
| <profile> |
| <id>java8-doclint-disabled</id> |
| <activation> |
| <jdk>[1.8,)</jdk> |
| </activation> |
| <properties> |
| <javadoc.opts>-Xdoclint:none</javadoc.opts> |
| </properties> |
| </profile> |
| <!-- Skip Javadoc for 1.8+ See PHOENIX-6922 --> |
| <profile> |
| <id>disable-javadoc-for-spark</id> |
| <activation> |
| <jdk>(8,)</jdk> |
| </activation> |
| <properties> |
| <skip.spark.javadoc>true</skip.spark.javadoc> |
| </properties> |
| </profile> |
| <!-- this profile should be activated for release builds --> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>spark16</id> |
| <properties> |
| <spark.version>1.6.1</spark.version> |
| <scala.version>2.10.4</scala.version> |
| <scala.binary.version>2.10</scala.binary.version> |
| </properties> |
| </profile> |
| <profile> |
| <id>spotbugs-site</id> |
| <activation> |
| <property> |
| <name>!spotbugs.site</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| <configuration> |
| <spotbugsXmlOutput>true</spotbugsXmlOutput> |
| <xmlOutput>true</xmlOutput> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.owasp</groupId> |
| <artifactId>dependency-check-maven</artifactId> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>aggregate</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |