How to create a distribution from the snapshot codebase?

2011-04-18 Thread Stanley Xu
Dear all, It might be a stupid question, but I am not that familiar with Maven. How could I run a simple Maven script to create a distribution I could un-tar the build on a hadoop cluster and just set the MAHOUT_HOME to run the mahout script? It I run "mvn install", the built jars would be put in

Re: How to create a distribution from the snapshot codebase?

2011-04-18 Thread Ankit Lakum
the all docs is there in site you just have to follow the steps as per OS and Version dont use your extra mind that's it .. .. .. . http://maven.apache.org/guides/mini/guide-configuring-maven.html On Mon, Apr 18, 2011 at 2:53 PM, Stanley Xu wrote: > Dear all, > > It might be a stupid questio

Re: How to create a distribution from the snapshot codebase?

2011-04-18 Thread Sean Owen
It's basically 'mvn -Prelease release' but see here: https://cwiki.apache.org/confluence/display/MAHOUT/How+To+Release On Mon, Apr 18, 2011 at 10:23 AM, Stanley Xu wrote: > Dear all, > > It might be a stupid question, but I am not that familiar with Maven. How > could I run a simple Maven script

Re: How to create a distribution from the snapshot codebase?

2011-04-18 Thread Ted Dunning
That would create a release, but I think that the desire here is to just create a packaged version of the code. That should probably be mvn package I don't think that we have a top-level life-cycle that does the necessary tar-ing of things together. The good news is that we finally are getti

Re: How to create a distribution from the snapshot codebase?

2011-04-18 Thread Eric Charles
Hi, appassembler-maven-plugin and maven-assembly-plugin are really good to create zip/tar.gz with daemon/service startup scripts. We happily use it at Apache James project. You have to add a bunch of lines in your pom.xml (see [1]), but you will get return for it :) Tks, - Eric [1] https:

Re: How to create a distribution from the snapshot codebase?

2011-04-18 Thread Ted Dunning
Yes. It really isn't that hard to do. Getting time is the trick. All patches welcome! On Mon, Apr 18, 2011 at 9:18 AM, Eric Charles wrote: > appassembler-maven-plugin and maven-assembly-plugin are really good to > create zip/tar.gz with daemon/service startup scripts. > > We happily use it at

Re: How to create a distribution from the snapshot codebase?

2011-04-18 Thread Eric Charles
Time is the most volatile thing... I add this on my todo and one day, if not already done by someone else, I will give it a try :) Tks, - Eric On 18/04/2011 19:04, Ted Dunning wrote: Yes. It really isn't that hard to do. Getting time is the trick. All patches welcome! On Mon, Apr 18, 201

Re: How to create a distribution from the snapshot codebase?

2011-04-19 Thread Stanley Xu
Thanks all. Yes, what I want is a top-level tar everything together job. I would go with the release way. If I could get some time to go through maven and the plugins you guys suggested, I would love to try it as well. Best wishes, Stanley Xu On Tue, Apr 19, 2011 at 12:14 PM, Eric Charles wrote

Re: How to create a distribution from the snapshot codebase?

2011-04-19 Thread Eric Charles
Hi, I had a quick look at mahout's pom.xml, and realized the distribution module already contains the maven-assembly-plugin. I you 'cd distribution' and type 'mvn install', you will see [INFO] Assemblies have been skipped per configuration of the skipAssembly parameter. This is because of

Re: How to create a distribution from the snapshot codebase?

2011-04-19 Thread Stanley Xu
Thanks Eric, yes, it works! Best wishes, Stanley Xu On Tue, Apr 19, 2011 at 7:04 PM, Eric Charles wrote: > Hi, > > I had a quick look at mahout's pom.xml, and realized the distribution > module already contains the maven-assembly-plugin. > > I you 'cd distribution' and type 'mvn install', you