mrunit-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Beard <jos...@josephbeard.net>
Subject Re: can't download jar from central maven repository
Date Tue, 08 Dec 2015 11:01:39 GMT
Due to changes in the API that mrunit must compile against, you will need to use a classifier
depending on the version of Hadoop that you are compiling against.

For Hadoop 1.x:

> <depdendency>
>   <groupId>org.apache.mrunit</groupId>
>   <artifactId>mrunit</artifactId>
>   <version>1.1.0</version>
>   <classifier>hadoop1</classifier>
> </dependency>

and for Hadoop 2.x:

> <depdendency>
>   <groupId>org.apache.mrunit</groupId>
>   <artifactId>mrunit</artifactId>
>   <version>1.1.0</version>
>   <classifier>hadoop2</classifier>
> </dependency>


See http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.mrunit%22%20AND%20a%3A%22mrunit%22
<http://search.maven.org/#search%7Cgav%7C1%7Cg:%22org.apache.mrunit%22%20AND%20a:%22mrunit%22>
for a list of exactly which artifacts are available.


Joe
—
Joseph Beard
joseph@josephbeard.net


> On Dec 8, 2015, at 12:09 AM, Li Li <fancyerii@gmail.com> wrote:
> 
> http://central.maven.org/maven2/org/apache/mrunit/mrunit/1.1.0/mrunit-1.1.0.jar
> 404 error
> 
> I also tried to use it a maven project
> <dependency>
> <groupId>org.apache.mrunit</groupId>
> <artifactId>mrunit</artifactId>
> <version>1.1.0</version>
> </dependency>
> 
> it still can't download jar


Mime
View raw message