Hi Kaveh, On Thu, Aug 29, 2013 at 10:06 PM, <[email protected]> wrote:
> quick question, thou the answer probably would not be :). How can I have > maven to generate jar files that could be used by ivy, and how can I have > maven to put them in ivy local repository? > This is actually not a Gora specific question, but instead a Nutch one. This being said, there are however a number of options here 1. Grab the most recent snapshot's which we deploy (if stable) on a nightly basis. You can get them here https://repository.apache.org/content/groups/snapshots/org/apache/gora/ This can be set up in your Maven profile or can also be set up in Ivy configuration but I gave up on that as it was annoying me ;) 2. If you have made local changes to the Gora code and wish to use the unique local dependencies in your Nutch application, then you can always do mvn install, this will generate the gora module artifact plus will put all of the transient dependencies into $GORA_HOME/$module/lib, you can then just copy all of these artifacts over to your Nutch server and run with the correct configuration. The problem here though is that you cannot have these artifacts packaged within thw Nutch .job file if you are running on your Hadoop cluster. This is of course a problem and you would need to pursue the option of editing this file http://svn.apache.org/repos/asf/nutch/branches/2.x/ivy/ivysettings.xml To force ivy to search the snapshots repository for the nightly Gora snapshots. You would also be able to have Ivy search your local ~/.m2 repository. > my goal here is to be able to build nutch using locally build gora. > I understand perfectly, I've been there many many times myself and in all honesty fixing the ivysettings.xml file is what we need to do to work with this properly, rather than align with the above workaround. hth Lewis

