maven setup

7 views
Skip to first unread message

Jay Vyas

unread,
Nov 7, 2012, 8:30:15 AM11/7/12
to pangoo...@googlegroups.com
Hi pere!!!!!!!!!!!!!!!!!!!!!!!! 

I wanted to play with rollup() inside of pangool.  Can you hint me about how to add the dependencies in eclipse after running maven install ? 

It builds fine and all 21 tests pass, but it looks like you guys have a pom inside of another pom or something for the deps - so eclipse doesnt naturally know how to add all the libs.  

Maybe I'm just forgetting how to use Maven after all these last 2  years with ivy :)

Pere Ferrera Bertran

unread,
Nov 7, 2012, 10:18:55 AM11/7/12
to pangoo...@googlegroups.com
Hello Jay! I'm glad you are testing Pangool. Have you done "mvn eclipse:eclipse" ? After you do that you will be able to do "Import project" from Eclipse and all projects will appear (pangool-core, pangool-examples).

Keep me posted! Also, don't hesitate asking anything about rollup or any other thing!

2012/11/7 Jay Vyas <jayun...@gmail.com>



--
Pere Ferrera
CTO & Co-founder

Iván de Prado

unread,
Nov 7, 2012, 10:19:40 AM11/7/12
to pangoo...@googlegroups.com
Hi jay, 

The better is if you see the example project we have:


The steps are:

2) mvn install (to check that everything works ok)
3) mvn eclipse:eclipse (to create a Eclipse project with the required libraries)
4) Import the project into eclipse (or refresh, if you already have it). 

In any case, as a general case, what you have to do in order to have a Pangool project working with your project is to add the Pangool dependency to the pom.xml:

  <dependency>
    <groupId>com.datasalt.pangool</groupId>
    <artifactId>pangool-core</artifactId>
    <version>0.43.3</version>
  </dependency>

And add the Hadoop dependency, depending on the version you want:


Iván


2012/11/7 Jay Vyas <jayun...@gmail.com>



--
Iván de Prado
CEO & Co-founder

Jay Vyas

unread,
Nov 7, 2012, 10:21:08 AM11/7/12
to pangoo...@googlegroups.com
yeah im here in pangool users.  I'll try this and ping you back.
Reply all
Reply to author
Forward
0 new messages