| <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</artifactId> |
| <version>3.2.2</version> |
| <packaging>pom</packaging> |
| <name>Apache Phoenix</name> |
| <description>A SQL layer over 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> |
| |
| <modules> |
| <module>phoenix-core</module> |
| <module>phoenix-hadoop-compat</module> |
| <module>phoenix-flume</module> |
| <module>phoenix-pig</module> |
| <module>phoenix-assembly</module> |
| </modules> |
| |
| <repositories> |
| <repository> |
| <id>codehaus</id> |
| <name>Codehaus Public</name> |
| <url>http://repository.codehaus.org/</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </repository> |
| <repository> |
| <id>apache release</id> |
| <url>https://repository.apache.org/content/repositories/releases/</url> |
| </repository> |
| <repository> |
| <id>conjars.org</id> |
| <url>http://conjars.org/repo</url> |
| </repository> |
| <repository> |
| <id>sonatype-nexus-snapshots</id> |
| <name>Sonatype Nexus Snapshots</name> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>14</version> |
| </parent> |
| |
| <scm> |
| <connection>scm:git:http://git-wip-us.apache.org/repos/asf/phoenix.git</connection> |
| <url>https://git-wip-us.apache.org/repos/asf/phoenix.git</url> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/phoenix.git</developerConnection> |
| </scm> |
| |
| <properties> |
| <!-- General Properties --> |
| <antlr-input.dir>src/main/antlr3</antlr-input.dir> |
| <antlr-output.dir>target/generated-sources/antlr3</antlr-output.dir> |
| <test.output.tofile>true</test.output.tofile> |
| |
| <!-- Hadoop Versions --> |
| <hadoop-one.version>1.0.4</hadoop-one.version> |
| <hadoop-two.version>2.0.4-alpha</hadoop-two.version> |
| |
| <!-- Dependency versions --> |
| <hbase.version>0.94.19</hbase.version> |
| <commons-cli.version>1.2</commons-cli.version> |
| <hadoop.version>1.0.4</hadoop.version> |
| <pig.version>0.12.0</pig.version> |
| <jackson.version>1.8.8</jackson.version> |
| <antlr.version>3.5</antlr.version> |
| <log4j.version>1.2.16</log4j.version> |
| <slf4j-api.version>1.4.3.jar</slf4j-api.version> |
| <slf4j-log4j.version>1.4.3</slf4j-log4j.version> |
| <protobuf-java.version>2.4.0</protobuf-java.version> |
| <commons-configuration.version>1.6</commons-configuration.version> |
| <commons-io.version>2.1</commons-io.version> |
| <commons-lang.version>2.5</commons-lang.version> |
| <commons-logging.version>1.1.1</commons-logging.version> |
| <commons-csv.version>1.0</commons-csv.version> |
| <sqlline.version>1.1.2</sqlline.version> |
| <guava.version>12.0.1</guava.version> |
| <jackson.version>1.8.8</jackson.version> |
| <flume.version>1.4.0</flume.version> |
| <findbugs.version>1.3.2</findbugs.version> |
| <jline.version>2.11</jline.version> |
| <snappy.version>0.3</snappy.version> |
| <jodatime.version>2.3</jodatime.version> |
| |
| <!-- Test Dependencies --> |
| <mockito-all.version>1.8.5</mockito-all.version> |
| <junit.version>4.12-beta-3</junit.version> |
| |
| <!-- Plugin versions --> |
| <maven-eclipse-plugin.version>2.9</maven-eclipse-plugin.version> |
| <maven-build-helper-plugin.version>1.9.1</maven-build-helper-plugin.version> |
| <maven-surefire-plugin.version>2.18</maven-surefire-plugin.version> |
| <maven-failsafe-plugin.version>2.18</maven-failsafe-plugin.version> |
| <maven-dependency-plugin.version>2.1</maven-dependency-plugin.version> |
| <maven.assembly.version>2.5.2</maven.assembly.version> |
| <maven.rat.version>0.8</maven.rat.version> |
| |
| <!-- Plugin options --> |
| <numForkedUT>3</numForkedUT> |
| <numForkedIT>5</numForkedIT> |
| |
| <!-- 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> |
| </properties> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.0</version> |
| <configuration> |
| <source>1.7</source> |
| <target>1.7</target> |
| </configuration> |
| </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></ignore> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <version>${maven-eclipse-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>${maven.assembly.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>${maven.rat.version}</version> |
| <configuration> |
| <excludes> |
| <exclude>CHANGES</exclude> |
| <exclude>README.md</exclude> |
| <exclude>README</exclude> |
| <exclude>dev/phoenix.importorder</exclude> |
| <exclude>dev/release_files/**</exclude> |
| <exclude>**/target/**</exclude> |
| <exclude>**/resources/*.Driver</exclude> |
| <exclude>**/*.versionsBackup</exclude> |
| <!-- exclude docs --> |
| <exclude>docs/**</exclude> |
| <!-- exclude examples --> |
| <exclude>examples/**</exclude> |
| <!-- exclude source control files --> |
| <exclude>.gitignore</exclude> |
| <exclude>.git/**</exclude> |
| <!-- exclude IDE files --> |
| <exclude>**/.idea/**</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>.project</exclude> |
| <exclude>.classpath</exclude> |
| <exclude>.settings/**</exclude> |
| </excludes> |
| </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> |
| </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>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>${maven-failsafe-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>HBaseManagedTimeTests</id> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| <forkCount>${numForkedIT}</forkCount> |
| <reuseForks>true</reuseForks> |
| <argLine>-enableassertions -Xmx2000m -XX:MaxPermSize=128m -Djava.security.egd=file:/dev/./urandom</argLine> |
| <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> |
| <testSourceDirectory>${basedir}/src/it/java</testSourceDirectory> |
| <groups>org.apache.phoenix.end2end.HBaseManagedTimeTest</groups> |
| </configuration> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| <id>ClientManagedTimeTests</id> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| <forkCount>${numForkedIT}</forkCount> |
| <reuseForks>true</reuseForks> |
| <argLine>-enableassertions -Xmx2000m -XX:MaxPermSize=128m -Djava.security.egd=file:/dev/./urandom</argLine> |
| <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> |
| <testSourceDirectory>${basedir}/src/it/java</testSourceDirectory> |
| <groups>org.apache.phoenix.end2end.ClientManagedTimeTest</groups> |
| </configuration> |
| </execution> |
| <execution> |
| <id>NeedTheirOwnClusterTests</id> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| <forkCount>${numForkedIT}</forkCount> |
| <reuseForks>true</reuseForks> |
| <argLine>-enableassertions -Xmx2000m -XX:MaxPermSize=128m -Djava.security.egd=file:/dev/./urandom</argLine> |
| <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> |
| <testSourceDirectory>${basedir}/src/it/java</testSourceDirectory> |
| <groups>org.apache.phoenix.end2end.NeedsOwnMiniClusterTest</groups> |
| </configuration> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.2.1</version> |
| <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> |
| <version>2.9</version> |
| <configuration> |
| <quiet>true</quiet> |
| <links> |
| <link>http://hbase.apache.org/apidocs/</link> |
| </links> |
| </configuration> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <!-- TODO turn back on javadocs - disabled now for testing --> |
| <!-- <goal>jar</goal> --> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${maven-surefire-plugin.version}</version> |
| <configuration> |
| <forkCount>${numForkedUT}</forkCount> |
| <reuseForks>true</reuseForks> |
| <argLine>-enableassertions -Xmx2000m -XX:MaxPermSize=128m |
| -Djava.security.egd=file:/dev/./urandom</argLine> |
| <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> |
| </configuration> |
| </plugin> |
| <!-- All projects create a test jar --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| <executions> |
| <execution> |
| <phase>prepare-package |
| </phase> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.2</version> |
| <configuration> |
| <reportPlugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>2.5.2</version> |
| </plugin> |
| </reportPlugins> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencyManagement> |
| <dependencies> |
| <!-- Intra-project dependencies --> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-core</artifactId> |
| <version>${project.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-hadoop-compat</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-hadoop-compat</artifactId> |
| <version>${project.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>${compat.module}</artifactId> |
| <version>${project.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-flume</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-pig</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- General Dependencies --> |
| <!-- Make sure we have all the antlr dependencies --> |
| <dependency> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr</artifactId> |
| <version>${antlr.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr-runtime</artifactId> |
| <version>${antlr.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pig</groupId> |
| <artifactId>pig</artifactId> |
| <version>${pig.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.xerial.snappy</groupId> |
| <artifactId>snappy-java</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase</artifactId> |
| <version>${hbase.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jruby</groupId> |
| <artifactId>jruby-complete</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.xerial.snappy</groupId> |
| <artifactId>snappy-java</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>jline</groupId> |
| <artifactId>jline</artifactId> |
| <version>2.11</version> |
| </dependency> |
| <dependency> |
| <groupId>sqlline</groupId> |
| <artifactId>sqlline</artifactId> |
| <version>${sqlline.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.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>net.sourceforge.findbugs</groupId> |
| <artifactId>annotations</artifactId> |
| <version>${findbugs.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.iq80.snappy</groupId> |
| <artifactId>snappy</artifactId> |
| <version>${snappy.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| <version>${jodatime.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-csv</artifactId> |
| <version>${commons-csv.version}</version> |
| </dependency> |
| |
| <!-- Test Dependencies --> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase</artifactId> |
| <version>${hbase.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jruby</groupId> |
| <artifactId>jruby-complete</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- Needed by HBase to run the minicluster --> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| <version>${jackson.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <version>${jackson.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>2.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-jaxrs</artifactId> |
| <version>${jackson.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-xc</artifactId> |
| <version>${jackson.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>${mockito-all.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <profiles> |
| |
| <!-- Profile for building against Hadoop 1. Active by default. Not used |
| if another Hadoop profile is specified with mvn -Dhadoop.profile=foo --> |
| <profile> |
| <id>hadoop-1</id> |
| <activation> |
| <property> |
| <name>!hadoop.profile</name> |
| </property> |
| </activation> |
| <modules> |
| <module>phoenix-hadoop1-compat</module> |
| </modules> |
| <properties> |
| <hadoop.version>${hadoop-one.version}</hadoop.version> |
| <compat.module>phoenix-hadoop1-compat</compat.module> |
| <assembly.file>src/main/assembly/hadoop-one-compat.xml</assembly.file> |
| </properties> |
| <dependencyManagement> |
| <dependencies> |
| <!-- Intra-project dependency --> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>${compat.module}</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- Hadoop dependencies --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-core</artifactId> |
| <version>${hadoop.version}</version> |
| <optional>true</optional> |
| <exclusions> |
| <exclusion> |
| <groupId>hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>net.sf.kosmosfs</groupId> |
| <artifactId>kfs</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jdt</groupId> |
| <artifactId>core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>net.java.dev.jets3t</groupId> |
| <artifactId>jets3t</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>oro</groupId> |
| <artifactId>oro</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.xerial.snappy</groupId> |
| <artifactId>snappy-java</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-test</artifactId> |
| <version>${hadoop.version}</version> |
| <optional>true</optional> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| </profile> |
| |
| <!-- Profile for building against Hadoop 2. Activate using: mvn -Dhadoop.profile=2 --> |
| <profile> |
| <id>hadoop-2</id> |
| <activation> |
| <property> |
| <name>hadoop.profile</name> |
| <value>2</value> |
| </property> |
| </activation> |
| <modules> |
| <module>phoenix-hadoop2-compat</module> |
| </modules> |
| <properties> |
| <hadoop.version>${hadoop-two.version}</hadoop.version> |
| <compat.module>phoenix-hadoop2-compat</compat.module> |
| <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file> |
| </properties> |
| <dependencyManagement> |
| <dependencies> |
| <!-- Intra-project dependency --> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>${compat.module}</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- Hadoop dependencies --> |
| <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> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minicluster</artifactId> |
| <version>${hadoop.version}</version> |
| <optional>true</optional> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>${maven-dependency-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>create-mrapp-generated-classpath</id> |
| <phase>generate-test-resources</phase> |
| <goals> |
| <goal>build-classpath</goal> |
| </goals> |
| <configuration> |
| <outputFile>${project.build.directory}/classes/mrapp-generated-classpath</outputFile> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </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> |
| |
| </profiles> |
| </project> |