You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by Brock Noland <br...@cloudera.com> on 2014/06/09 23:39:20 UTC

MRUnit 1.1.0 and Mockito

In 1.1.0 we upgraded to Mockito 1.9.5 for a variety of reasons described on
MRUNIT-13. However, Hadoop still uses 1.8.5. As such, you may need to
exclude their version with the exclusion below.

<exclusion>
  <groupId>org.mockito</groupId>
  <artifactId>mockito-all</artifactId>
</exclusion>

Re: MRUnit 1.1.0 and Mockito

Posted by Jarek Jarcec Cecho <ja...@apache.org>.
Created https://issues.apache.org/jira/browse/MRUNIT-212

Jarcec

On Mon, Jun 09, 2014 at 03:25:56PM -0700, Brock Noland wrote:
> That might be a decent idea... Then mockito can be pulled from Hadoop.
> 
> 
> On Mon, Jun 9, 2014 at 3:22 PM, Jarek Jarcec Cecho <ja...@apache.org>
> wrote:
> 
> > Would it make sense for us to shade Mockito?
> >
> > Jarcec
> >
> > On Mon, Jun 09, 2014 at 02:39:20PM -0700, Brock Noland wrote:
> > > In 1.1.0 we upgraded to Mockito 1.9.5 for a variety of reasons described
> > on
> > > MRUNIT-13. However, Hadoop still uses 1.8.5. As such, you may need to
> > > exclude their version with the exclusion below.
> > >
> > > <exclusion>
> > >   <groupId>org.mockito</groupId>
> > >   <artifactId>mockito-all</artifactId>
> > > </exclusion>
> >

Re: MRUnit 1.1.0 and Mockito

Posted by Jarek Jarcec Cecho <ja...@apache.org>.
Created https://issues.apache.org/jira/browse/MRUNIT-212

Jarcec

On Mon, Jun 09, 2014 at 03:25:56PM -0700, Brock Noland wrote:
> That might be a decent idea... Then mockito can be pulled from Hadoop.
> 
> 
> On Mon, Jun 9, 2014 at 3:22 PM, Jarek Jarcec Cecho <ja...@apache.org>
> wrote:
> 
> > Would it make sense for us to shade Mockito?
> >
> > Jarcec
> >
> > On Mon, Jun 09, 2014 at 02:39:20PM -0700, Brock Noland wrote:
> > > In 1.1.0 we upgraded to Mockito 1.9.5 for a variety of reasons described
> > on
> > > MRUNIT-13. However, Hadoop still uses 1.8.5. As such, you may need to
> > > exclude their version with the exclusion below.
> > >
> > > <exclusion>
> > >   <groupId>org.mockito</groupId>
> > >   <artifactId>mockito-all</artifactId>
> > > </exclusion>
> >

Re: MRUnit 1.1.0 and Mockito

Posted by Brock Noland <br...@cloudera.com>.
That might be a decent idea... Then mockito can be pulled from Hadoop.


On Mon, Jun 9, 2014 at 3:22 PM, Jarek Jarcec Cecho <ja...@apache.org>
wrote:

> Would it make sense for us to shade Mockito?
>
> Jarcec
>
> On Mon, Jun 09, 2014 at 02:39:20PM -0700, Brock Noland wrote:
> > In 1.1.0 we upgraded to Mockito 1.9.5 for a variety of reasons described
> on
> > MRUNIT-13. However, Hadoop still uses 1.8.5. As such, you may need to
> > exclude their version with the exclusion below.
> >
> > <exclusion>
> >   <groupId>org.mockito</groupId>
> >   <artifactId>mockito-all</artifactId>
> > </exclusion>
>

Re: MRUnit 1.1.0 and Mockito

Posted by Brock Noland <br...@cloudera.com>.
That might be a decent idea... Then mockito can be pulled from Hadoop.


On Mon, Jun 9, 2014 at 3:22 PM, Jarek Jarcec Cecho <ja...@apache.org>
wrote:

> Would it make sense for us to shade Mockito?
>
> Jarcec
>
> On Mon, Jun 09, 2014 at 02:39:20PM -0700, Brock Noland wrote:
> > In 1.1.0 we upgraded to Mockito 1.9.5 for a variety of reasons described
> on
> > MRUNIT-13. However, Hadoop still uses 1.8.5. As such, you may need to
> > exclude their version with the exclusion below.
> >
> > <exclusion>
> >   <groupId>org.mockito</groupId>
> >   <artifactId>mockito-all</artifactId>
> > </exclusion>
>

Re: MRUnit 1.1.0 and Mockito

Posted by Jarek Jarcec Cecho <ja...@apache.org>.
Would it make sense for us to shade Mockito?

Jarcec

On Mon, Jun 09, 2014 at 02:39:20PM -0700, Brock Noland wrote:
> In 1.1.0 we upgraded to Mockito 1.9.5 for a variety of reasons described on
> MRUNIT-13. However, Hadoop still uses 1.8.5. As such, you may need to
> exclude their version with the exclusion below.
> 
> <exclusion>
>   <groupId>org.mockito</groupId>
>   <artifactId>mockito-all</artifactId>
> </exclusion>

Re: MRUnit 1.1.0 and Mockito

Posted by Jarek Jarcec Cecho <ja...@apache.org>.
Would it make sense for us to shade Mockito?

Jarcec

On Mon, Jun 09, 2014 at 02:39:20PM -0700, Brock Noland wrote:
> In 1.1.0 we upgraded to Mockito 1.9.5 for a variety of reasons described on
> MRUNIT-13. However, Hadoop still uses 1.8.5. As such, you may need to
> exclude their version with the exclusion below.
> 
> <exclusion>
>   <groupId>org.mockito</groupId>
>   <artifactId>mockito-all</artifactId>
> </exclusion>