There is no ‘tez’ component. Instead there are:
tez-common
tez-dag
tez-mapreduce

So in your example:
<dependency>
      <groupId>org.apache.tez</groupId>
      <artifactId>tez-common</artifactId>
      <version>0.8.0-SNAPSHOT</version>
  </dependency>

And repeat the same for other tez dependencies as needed.

Oleg

> On Sep 1, 2015, at 3:40 PM, Raajay <[email protected]> wrote:
> 
> How to add Tez as a dependency to another project ? 
> 
> I have a Tez client in a separate project and want to use Tez classes in it. 
> I added the dependency to pom.xml for the application project as below
> 
>  <dependency>
>       <groupId>org.apache.tez</groupId>
>       <artifactId>tez</artifactId>
>       <version>0.8.0-SNAPSHOT</version>
>     </dependency>
> 
> 
> The commmand "mvn compile" on the client gives errors.
> 
> "Could not find artifact org.apache.tez:tez:jar:0.8.0-SNAPSHOT -> [Help 1]"
> 
> 
> I am not able to install tez libraries to the local maven repo. 
> 
> Thanks
> Raajay

Reply via email to