HBASE-4851 hadoop maven dependency needs to be an optional one

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1205291 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-11-23 05:56:40 +00:00
parent 351e75629f
commit 2048fe41a0
1 changed files with 14 additions and 0 deletions

14
pom.xml
View File

@ -1342,6 +1342,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId> <artifactId>hadoop-core</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>hsqldb</groupId> <groupId>hsqldb</groupId>
@ -1370,6 +1371,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-test</artifactId> <artifactId>hadoop-test</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -1479,6 +1481,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId> <artifactId>hadoop-common</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<exclusions> <exclusions>
<!--Needs more work, tightening--> <!--Needs more work, tightening-->
<exclusion> <exclusion>
@ -1515,6 +1518,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId> <artifactId>hadoop-hdfs</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<exclusions> <exclusions>
<!--Needs more work, tightening--> <!--Needs more work, tightening-->
<exclusion> <exclusion>
@ -1551,6 +1555,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapred</artifactId> <artifactId>hadoop-mapred</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<exclusions> <exclusions>
<!--Needs more work, tightening--> <!--Needs more work, tightening-->
<exclusion> <exclusion>
@ -1588,18 +1593,21 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common-test</artifactId> <artifactId>hadoop-common-test</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs-test</artifactId> <artifactId>hadoop-hdfs-test</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapred-test</artifactId> <artifactId>hadoop-mapred-test</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -1651,6 +1659,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId> <artifactId>hadoop-common</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<exclusions> <exclusions>
<!--Needs more work, tightening--> <!--Needs more work, tightening-->
<exclusion> <exclusion>
@ -1695,6 +1704,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId> <artifactId>hadoop-hdfs</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<exclusions> <exclusions>
<!--Needs more work, tightening--> <!--Needs more work, tightening-->
<exclusion> <exclusion>
@ -1731,6 +1741,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapred</artifactId> <artifactId>hadoop-mapred</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<exclusions> <exclusions>
<!--Needs more work, tightening--> <!--Needs more work, tightening-->
<exclusion> <exclusion>
@ -1768,6 +1779,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId> <artifactId>hadoop-common</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<type>test-jar</type> <type>test-jar</type>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@ -1775,6 +1787,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId> <artifactId>hadoop-hdfs</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<type>test-jar</type> <type>test-jar</type>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@ -1782,6 +1795,7 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapred-test</artifactId> <artifactId>hadoop-mapred-test</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
<optional>true</optional>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>