mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <>
Subject Re: How to create a distribution from the snapshot codebase?
Date Tue, 19 Apr 2011 11:04:44 GMT

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 the mahout's defined mahout.skip.distribution 
parameter in pom.xml.

Type 'mvn install -Dmahout.skip.distribution=false', and you will get 
the zip/tar.gz/bz2 with mahout's jar and its dependencies + a shell 
script to invoke org.apache.mahout.driver.MahoutDriver.

I searched around on website and forum, but didn't find a description 
for this (I found the related JIRA on, but maybe I missed 
the page?

In terms of contribution, I think everything is already there, maybe 
more documentation/link...

- Eric


On 19/04/2011 10:01, Stanley Xu wrote:
> 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:
>> 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, 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 Apache James project.
>>>> You have to add a bunch of lines in your pom.xml (see [1]), but you will
>>>> get return for it :)

View raw message