Permalink
Browse files

Update to MRUnit 0.8.1-incubating which supports Hadoop 1 and 2 APIs.

  • Loading branch information...
1 parent e5dfe80 commit 454e1e94ba2b22a0e86de47ffd1abeaf6b008a3f @tomwhite committed Apr 17, 2012
Showing with 42 additions and 50 deletions.
  1. +0 −12 book/pom.xml
  2. +0 −4 ch05/pom.xml
  3. +42 −34 hadoop-meta/pom.xml
View
12 book/pom.xml
@@ -148,18 +148,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.mrunit</groupId>
- <artifactId>mrunit</artifactId>
- <version>0.8.0-incubating</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
<version>1.1</version>
View
4 ch05/pom.xml
@@ -21,9 +21,5 @@
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.mrunit</groupId>
- <artifactId>mrunit</artifactId>
- </dependency>
</dependencies>
</project>
View
76 hadoop-meta/pom.xml
@@ -54,6 +54,13 @@ A module which allows the Hadoop dependencies to be specified by a Maven profile
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.mrunit</groupId>
+ <artifactId>mrunit</artifactId>
+ <version>0.8.1-incubating</version>
+ <classifier>hadoop020</classifier>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -116,6 +123,13 @@ A module which allows the Hadoop dependencies to be specified by a Maven profile
<artifactId>jackson-mapper-asl</artifactId>
<version>1.5.2</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.mrunit</groupId>
+ <artifactId>mrunit</artifactId>
+ <version>0.8.1-incubating</version>
+ <classifier>hadoop100</classifier>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -173,6 +187,13 @@ A module which allows the Hadoop dependencies to be specified by a Maven profile
<artifactId>jackson-core-asl</artifactId>
<version>1.7.3</version> <!-- To match that in Avro -->
</dependency>
+ <dependency>
+ <groupId>org.apache.mrunit</groupId>
+ <artifactId>mrunit</artifactId>
+ <version>0.8.1-incubating</version>
+ <classifier>hadoop100</classifier>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -238,6 +259,13 @@ A module which allows the Hadoop dependencies to be specified by a Maven profile
<version>${hadoop.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.mrunit</groupId>
+ <artifactId>mrunit</artifactId>
+ <version>0.8.1-incubating</version>
+ <classifier>hadoop023</classifier>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -255,16 +283,6 @@ A module which allows the Hadoop dependencies to be specified by a Maven profile
</testExcludes>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <excludes>
- <!-- Exclude ch5 tests until MRUnit works with 0.22+ -->
- <exclude>v*/*.java</exclude>
- </excludes>
- </configuration>
- </plugin>
</plugins>
</build>
</profile>
@@ -321,21 +339,14 @@ A module which allows the Hadoop dependencies to be specified by a Maven profile
<type>test-jar</type>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.mrunit</groupId>
+ <artifactId>mrunit</artifactId>
+ <version>0.8.1-incubating</version>
+ <classifier>hadoop023</classifier>
+ <scope>test</scope>
+ </dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <excludes>
- <!-- Exclude ch5 tests until MRUnit works with 0.22+ -->
- <exclude>v*/*.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
</profile>
<profile>
<id>apache-trunk</id>
@@ -390,6 +401,13 @@ A module which allows the Hadoop dependencies to be specified by a Maven profile
<type>test-jar</type>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.mrunit</groupId>
+ <artifactId>mrunit</artifactId>
+ <version>0.8.1-incubating</version>
+ <classifier>hadoop023</classifier>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -402,16 +420,6 @@ A module which allows the Hadoop dependencies to be specified by a Maven profile
</testExcludes>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <excludes>
- <!-- Exclude ch5 tests until MRUnit works with 0.22+ -->
- <exclude>v*/*.java</exclude>
- </excludes>
- </configuration>
- </plugin>
</plugins>
</build>
</profile>

0 comments on commit 454e1e9

Please sign in to comment.