hbase-spark-it
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>ch.cern.hbase.connectors.spark</groupId> <artifactId>hbase-spark-it</artifactId> <version>1.0.1_spark-3.0.1_4</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>ch.cern.hbase.connectors</groupId> <artifactId>spark</artifactId> <version>1.0.1_spark-3.0.1_4</version> <relativePath>../</relativePath> </parent> <groupId>ch.cern.hbase.connectors.spark</groupId> <artifactId>hbase-spark-it</artifactId> <version>1.0.1_spark-3.0.1_4</version> <name>Apache HBase - Spark Integration Tests</name> <description>Integration and System tests for HBase</description> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <properties> <unittest.include>**/Test*.java</unittest.include> <integrationtest.include>**/IntegrationTest*.java</integrationtest.include> <failsafe.Xmx>4g</failsafe.Xmx> </properties> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase-shaded-testing-util</artifactId> </dependency> <dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase-it</artifactId> <type>test-jar</type> </dependency> <dependency> <groupId>ch.cern.hbase.connectors.spark</groupId> <artifactId>hbase-spark</artifactId> <version>${revision}</version> </dependency> <dependency> <groupId>org.apache.hbase</groupId> <artifactId>${compat.module}</artifactId> </dependency> <dependency> <groupId>org.apache.hbase.thirdparty</groupId> <artifactId>hbase-shaded-miscellaneous</artifactId> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <version>${hadoop-two.version}</version> <exclusions> <exclusion> <artifactId>jsr305</artifactId> <groupId>com.google.code.findbugs</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <version>${hadoop-two.version}</version> <type>test-jar</type> <scope>test</scope> <exclusions> <exclusion> <artifactId>jsr305</artifactId> <groupId>com.google.code.findbugs</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-scala_${scala.binary.version}</artifactId> <version>${jackson.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-core_${scala.binary.version}</artifactId> <version>${spark.version}</version> <scope>provided</scope> <exclusions> <exclusion> <artifactId>scala-library</artifactId> <groupId>org.scala-lang</groupId> </exclusion> <exclusion> <artifactId>scalap</artifactId> <groupId>org.scala-lang</groupId> </exclusion> <exclusion> <artifactId>jsr305</artifactId> <groupId>com.google.code.findbugs</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>${scala.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.scala-lang.modules</groupId> <artifactId>scala-xml_2.11</artifactId> <version>1.0.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-sql_${scala.binary.version}</artifactId> <version>${spark.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-streaming_${scala.binary.version}</artifactId> <version>${spark.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-streaming_${scala.binary.version}</artifactId> <version>${spark.version}</version> <type>test-jar</type> <classifier>tests</classifier> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-source-plugin</artifactId> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <skipAssembly>true</skipAssembly> </configuration> </plugin> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>${surefire.version}</version> <executions> <execution> <id>integration-test</id> <phase>integration-test</phase> <goals> <goal>integration-test</goal> </goals> </execution> <execution> <id>verify</id> <phase>verify</phase> <goals> <goal>verify</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit4</artifactId> <version>${surefire.version}</version> </dependency> </dependencies> <configuration> <includes> <include>${integrationtest.include}</include> </includes> <excludes> <exclude>${unittest.include}</exclude> <exclude>**/*$*</exclude> </excludes> <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> <failIfNoTests>false</failIfNoTests> <testFailureIgnore>false</testFailureIgnore> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <skip>false</skip> <forkCount>1</forkCount> <reuseForks>true</reuseForks> <forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds> <argLine>-enableassertions -Xmx${failsafe.Xmx} -Djava.security.egd=file:/dev/./urandom -XX:+CMSClassUnloadingEnabled -verbose:gc -XX:+PrintCommandLineFlags -XX:+PrintFlagsFinal</argLine> </configuration> </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>banned-hbase-spark</id> <goals> <goal>enforce</goal> </goals> <configuration> <skip>true</skip> </configuration> </execution> <execution> <id>banned-scala</id> <goals> <goal>enforce</goal> </goals> <configuration> <skip>true</skip> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>create-mrapp-generated-classpath</id> <phase>generate-test-resources</phase> <goals> <goal>build-classpath</goal> </goals> <configuration> <outputFile>${project.build.directory}/test-classes/spark-generated-classpath</outputFile> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <plugin> <groupId>net.revelc.code</groupId> <artifactId>warbucks-maven-plugin</artifactId> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <artifactId>maven-surefire-report-plugin</artifactId> <version>3.0.0-M4</version> <reportSets> <reportSet> <id>spark-integration-tests</id> <reports> <report>report-only</report> </reports> <configuration> <outputName>failsafe-report</outputName> <reportsDirectories> <reportsDirectory>${project.build.directory}/failsafe-reports</reportsDirectory> </reportsDirectories> </configuration> </reportSet> </reportSets> </plugin> </plugins> </reporting> <profiles> <profile> <id>skipIntegrationTests</id> <activation> <property> <name>skipIntegrationTests</name> </property> </activation> <properties> <skipTests>true</skipTests> </properties> </profile> </profiles> </project>