You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Jeff Eastman <jd...@windwardsolutions.com> on 2009/02/10 23:01:20 UTC

Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

That worked seamlessly, thanks. Are our required libs now in 
$MAVEN_HOME/lib?

Jeff

confluence@apache.org wrote:
> BuildingMahout (MAHOUT) edited by Grant Ingersoll
>       Page: http://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout
>    Changes: http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=93207&originalVersion=1&revisedVersion=2
>
>
>
>
>
>
> Content:
> ---------------------------------------------------------------------
>
> h1. Prerequisites for Building Mahout
>
> * Java JDK 1.6
> * Maven 2.0.9 or higher (http://maven.apache.org/)
>
> h1. Get the Source Code
>
> Use [Subversion|http://subversion.tigris.org] to check out the code:
> {code}
> svn co http://svn.apache.org/repos/asf/lucene/mahout/trunk
> {code} 
>
> h1. Compiling
>
> * change directory to the checked out directory
> * mvn compile
>
> This will run the default targets, which builds both the core and the examples, and also packages them.
>
> h2. Compile Core
> * change to the core directory
> * mvn compile
>
> h2. Compile Examples
>
> * change to the examples directory
> * mvn compile
>
> ---------------------------------------------------------------------
> CONFLUENCE INFORMATION
> This message is automatically generated by Confluence
>
> Unsubscribe or edit your notifications preferences
>    http://cwiki.apache.org/confluence/users/viewnotifications.action
>
> If you think it was sent incorrectly contact one of the administrators
>    http://cwiki.apache.org/confluence/administrators.action
>
> If you want more information on Confluence, or have a bug to report see
>    http://www.atlassian.com/software/confluence
>
>
>
>
>   


Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Isabel Drost <is...@apache.org>.
On Wednesday 11 February 2009, Jeff Eastman wrote:
> Hmn, found and installed the maven plugin and ran the pom. Ran just like
> the first one in command line except it failed at the end:
>
> Failure executing javac, but could not parse the error:
> javac: invalid target release: 1.6
>
> Probably my java settings. will debug.

I think you two are talking about two different things:

There is a maven plugin for eclipse. If you want maven to generate the
project stuff, just type mvn eclipse:eclipse and import the created
project into eclipse (new project -> import existing project).

There also is an eclipse plugin for handling maven: This plugin can be
installed into eclipse and does the maven handling (search for new
artifacts, build the project etc.). I used it once but came across too
many issues to find it really helpful.

Me personally I usually go the way I described first: Build the project
files with maven and import the project into eclipse.

Isabel

-- 
I wasn't kissing her, I was whispering in her mouth.		-- Chico Marx
  |\      _,,,---,,_       Web:   <http://www.isabel-drost.de>
  /,`.-'`'    -.  ;-;;,_
 |,4-  ) )-,_..;\ (  `'-'
'---''(_/--'  `-'\_) (fL)  IM:  <xm...@spaceboyz.net>

Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Sean Owen <sr...@gmail.com>.
I'd also like to plug this -- IntelliJ is a better IDE than Eclipse,
and getting it for free means I think there's every reason to use an
IDE if you're still sticking with emacs, or strongly consider leaving
Eclipse.

It makes it so easy to see and fix problems with imports, formatting,
documentation, code redundancies and inefficiencies, and
refactorings... just takes code quality to another level. I think
people will see why I submit all sorts of micro-changes all over the
code base, since IntelliJ is calling out all these minor issues at you
continuously.

I also think its model of projects and modules makes much more sense
that Eclipse's workbench metaphor, which I honestly still do not
understand at all.

FWIW the large majority of Google engs use IntelliJ.

On Wed, Feb 11, 2009 at 11:10 AM, Grant Ingersoll <gs...@apache.org> wrote:
> FWIW, IntelliJ has an open source licensing program such that you can get a
> free version for working on open source projects if you are a committer.

Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Grant Ingersoll <gs...@apache.org>.
And, if you have a newer version of IntelliJ (7.x or 8.x) you need  
only point Intellij at the POM file when setting up a new project and  
it takes care of everything else.  It's funny, but for someone who has  
a lot of projects and often has multiple copies of a trunk checked  
out, it is a huge time saver and probably one of the biggest reasons I  
can overcome all I don't like about Maven.

FWIW, IntelliJ has an open source licensing program such that you can  
get a free version for working on open source projects if you are a  
committer.

-Grant

On Feb 10, 2009, at 6:50 PM, Ted Dunning wrote:

> I don't know the details for eclipse, but I know that it can run maven
> builds directly from inside eclipse and i think that there is  
> equivalent
> functionality as for the idea plugin.  For that, you just say "mvn
> idea:idea" and maven builds all the necessary intellij style project  
> files.
> I think there is the same thing for eclipse.
>
> This might help:
>
>   http://maven.apache.org/eclipse-plugin.html
>
> On Tue, Feb 10, 2009 at 3:44 PM, Jeff Eastman <jdog@windwardsolutions.com 
> >wrote:
>
>> Not to my knowledge, but that would be marvelous. I ran the build  
>> in the
>> checkout directory where I already had a .project and .classpath.  
>> Then I
>> started Eclipse and it has classpath problems.
>>
>> Jeff
>>
>>
>> Ted Dunning wrote:
>>
>>> Doesn't maven produce a usable eclipse project for you?
>>>
>>> On Tue, Feb 10, 2009 at 3:14 PM, Jeff Eastman <jdog@windwardsolutions.com
>>>> wrote:
>>>
>>>
>>>
>>>> Build worked fine but I'm trying to cajole Eclipse into working  
>>>> with it.
>>>> The repository organization makes it difficult to work with. Maybe
>>>> there's
>>>> an Eclipse plugin?
>>>>
>>>> Jeff
>>>>
>>>> Grant Ingersoll wrote:
>>>>
>>>>
>>>>
>>>>> In the case of the libs, like Hadoop, that aren't in the Maven  
>>>>> repo, our
>>>>> POM is setup to automatically install them (and deploy, too)
>>>>>
>>>>> For new Maven users, I'd start with:
>>>>> http://maven.apache.org/users/index.html
>>>>>
>>>>> From there, I use http://maven.apache.org/plugins/index.html a  
>>>>> lot and
>>>>> also http://maven.apache.org/pom.html and also
>>>>> http://maven.apache.org/guides/index.html
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>
>
>
> -- 
> Ted Dunning, CTO
> DeepDyve
> 4600 Bohannon Drive, Suite 220
> Menlo Park, CA 94025
> www.deepdyve.com
> 650-324-0110, ext. 738
> 858-414-0013 (m)

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:
http://www.lucidimagination.com/search


Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Sean Owen <sr...@gmail.com>.
BTW this particular error means you are running the build tools (Maven
et al.) with Java 5 instead of Java 6. We require Java 6 -- to build
as well since the code uses Java 6 features that javac needs to
understand.

On Wed, Feb 11, 2009 at 12:19 AM, Jeff Eastman
<jd...@windwardsolutions.com> wrote:
> Hmn, found and installed the maven plugin and ran the pom. Ran just like the
> first one in command line except it failed at the end:
>
> Failure executing javac, but could not parse the error:
> javac: invalid target release: 1.6
>
> Probably my java settings. will debug.

Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Ted Dunning <te...@gmail.com>.
Btw... you shouldn't need generally to install maven plugins.  In my
experience they all pretty much install themselves whenever needed.

On Tue, Feb 10, 2009 at 4:19 PM, Jeff Eastman <jd...@windwardsolutions.com>wrote:

> Hmn, found and installed the maven plugin and ran the pom. Ran just like
> the first one in command line except it failed at the end:
>
> Failure executing javac, but could not parse the error:
> javac: invalid target release: 1.6
>
> Probably my java settings. will debug.
>
> Thanks,
> Jeff
>
>
> Ted Dunning wrote:
>
>> I don't know the details for eclipse, but I know that it can run maven
>> builds directly from inside eclipse and i think that there is equivalent
>> functionality as for the idea plugin.  For that, you just say "mvn
>> idea:idea" and maven builds all the necessary intellij style project
>> files.
>> I think there is the same thing for eclipse.
>>
>> This might help:
>>
>>   http://maven.apache.org/eclipse-plugin.html
>>
>> On Tue, Feb 10, 2009 at 3:44 PM, Jeff Eastman <jdog@windwardsolutions.com
>> >wrote:
>>
>>
>>
>>> Not to my knowledge, but that would be marvelous. I ran the build in the
>>> checkout directory where I already had a .project and .classpath. Then I
>>> started Eclipse and it has classpath problems.
>>>
>>> Jeff
>>>
>>>
>>> Ted Dunning wrote:
>>>
>>>
>>>
>>>> Doesn't maven produce a usable eclipse project for you?
>>>>
>>>> On Tue, Feb 10, 2009 at 3:14 PM, Jeff Eastman <
>>>> jdog@windwardsolutions.com
>>>>
>>>>
>>>>> wrote:
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>> Build worked fine but I'm trying to cajole Eclipse into working with
>>>>> it.
>>>>> The repository organization makes it difficult to work with. Maybe
>>>>> there's
>>>>> an Eclipse plugin?
>>>>>
>>>>> Jeff
>>>>>
>>>>> Grant Ingersoll wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> In the case of the libs, like Hadoop, that aren't in the Maven repo,
>>>>>> our
>>>>>> POM is setup to automatically install them (and deploy, too)
>>>>>>
>>>>>> For new Maven users, I'd start with:
>>>>>> http://maven.apache.org/users/index.html
>>>>>>
>>>>>> From there, I use http://maven.apache.org/plugins/index.html a lot
>>>>>> and
>>>>>> also http://maven.apache.org/pom.html and also
>>>>>> http://maven.apache.org/guides/index.html
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>
>


-- 
Ted Dunning, CTO
DeepDyve
4600 Bohannon Drive, Suite 220
Menlo Park, CA 94025
www.deepdyve.com
650-324-0110, ext. 738
858-414-0013 (m)

Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Jeff Eastman <jd...@windwardsolutions.com>.
Hmn, found and installed the maven plugin and ran the pom. Ran just like 
the first one in command line except it failed at the end:

Failure executing javac, but could not parse the error:
javac: invalid target release: 1.6

Probably my java settings. will debug.

Thanks,
Jeff

Ted Dunning wrote:
> I don't know the details for eclipse, but I know that it can run maven
> builds directly from inside eclipse and i think that there is equivalent
> functionality as for the idea plugin.  For that, you just say "mvn
> idea:idea" and maven builds all the necessary intellij style project files.
> I think there is the same thing for eclipse.
>
> This might help:
>
>    http://maven.apache.org/eclipse-plugin.html
>
> On Tue, Feb 10, 2009 at 3:44 PM, Jeff Eastman <jd...@windwardsolutions.com>wrote:
>
>   
>> Not to my knowledge, but that would be marvelous. I ran the build in the
>> checkout directory where I already had a .project and .classpath. Then I
>> started Eclipse and it has classpath problems.
>>
>> Jeff
>>
>>
>> Ted Dunning wrote:
>>
>>     
>>> Doesn't maven produce a usable eclipse project for you?
>>>
>>> On Tue, Feb 10, 2009 at 3:14 PM, Jeff Eastman <jdog@windwardsolutions.com
>>>       
>>>> wrote:
>>>>         
>>>
>>>       
>>>> Build worked fine but I'm trying to cajole Eclipse into working with it.
>>>> The repository organization makes it difficult to work with. Maybe
>>>> there's
>>>> an Eclipse plugin?
>>>>
>>>> Jeff
>>>>
>>>> Grant Ingersoll wrote:
>>>>
>>>>
>>>>
>>>>         
>>>>> In the case of the libs, like Hadoop, that aren't in the Maven repo, our
>>>>> POM is setup to automatically install them (and deploy, too)
>>>>>
>>>>> For new Maven users, I'd start with:
>>>>> http://maven.apache.org/users/index.html
>>>>>
>>>>> From there, I use http://maven.apache.org/plugins/index.html a lot and
>>>>> also http://maven.apache.org/pom.html and also
>>>>> http://maven.apache.org/guides/index.html
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>           
>>>       
>>     
>
>
>   


Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Ted Dunning <te...@gmail.com>.
I don't know the details for eclipse, but I know that it can run maven
builds directly from inside eclipse and i think that there is equivalent
functionality as for the idea plugin.  For that, you just say "mvn
idea:idea" and maven builds all the necessary intellij style project files.
I think there is the same thing for eclipse.

This might help:

   http://maven.apache.org/eclipse-plugin.html

On Tue, Feb 10, 2009 at 3:44 PM, Jeff Eastman <jd...@windwardsolutions.com>wrote:

> Not to my knowledge, but that would be marvelous. I ran the build in the
> checkout directory where I already had a .project and .classpath. Then I
> started Eclipse and it has classpath problems.
>
> Jeff
>
>
> Ted Dunning wrote:
>
>> Doesn't maven produce a usable eclipse project for you?
>>
>> On Tue, Feb 10, 2009 at 3:14 PM, Jeff Eastman <jdog@windwardsolutions.com
>> >wrote:
>>
>>
>>
>>> Build worked fine but I'm trying to cajole Eclipse into working with it.
>>> The repository organization makes it difficult to work with. Maybe
>>> there's
>>> an Eclipse plugin?
>>>
>>> Jeff
>>>
>>> Grant Ingersoll wrote:
>>>
>>>
>>>
>>>> In the case of the libs, like Hadoop, that aren't in the Maven repo, our
>>>> POM is setup to automatically install them (and deploy, too)
>>>>
>>>> For new Maven users, I'd start with:
>>>> http://maven.apache.org/users/index.html
>>>>
>>>> From there, I use http://maven.apache.org/plugins/index.html a lot and
>>>> also http://maven.apache.org/pom.html and also
>>>> http://maven.apache.org/guides/index.html
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>
>


-- 
Ted Dunning, CTO
DeepDyve
4600 Bohannon Drive, Suite 220
Menlo Park, CA 94025
www.deepdyve.com
650-324-0110, ext. 738
858-414-0013 (m)

Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Jeff Eastman <jd...@windwardsolutions.com>.
Not to my knowledge, but that would be marvelous. I ran the build in the 
checkout directory where I already had a .project and .classpath. Then I 
started Eclipse and it has classpath problems.

Jeff

Ted Dunning wrote:
> Doesn't maven produce a usable eclipse project for you?
>
> On Tue, Feb 10, 2009 at 3:14 PM, Jeff Eastman <jd...@windwardsolutions.com>wrote:
>
>   
>> Build worked fine but I'm trying to cajole Eclipse into working with it.
>> The repository organization makes it difficult to work with. Maybe there's
>> an Eclipse plugin?
>>
>> Jeff
>>
>> Grant Ingersoll wrote:
>>
>>     
>>> In the case of the libs, like Hadoop, that aren't in the Maven repo, our
>>> POM is setup to automatically install them (and deploy, too)
>>>
>>> For new Maven users, I'd start with:
>>> http://maven.apache.org/users/index.html
>>>
>>> From there, I use http://maven.apache.org/plugins/index.html a lot and
>>> also http://maven.apache.org/pom.html and also
>>> http://maven.apache.org/guides/index.html
>>>
>>>
>>>       
>
>   


Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Ted Dunning <te...@gmail.com>.
Doesn't maven produce a usable eclipse project for you?

On Tue, Feb 10, 2009 at 3:14 PM, Jeff Eastman <jd...@windwardsolutions.com>wrote:

> Build worked fine but I'm trying to cajole Eclipse into working with it.
> The repository organization makes it difficult to work with. Maybe there's
> an Eclipse plugin?
>
> Jeff
>
> Grant Ingersoll wrote:
>
>> In the case of the libs, like Hadoop, that aren't in the Maven repo, our
>> POM is setup to automatically install them (and deploy, too)
>>
>> For new Maven users, I'd start with:
>> http://maven.apache.org/users/index.html
>>
>> From there, I use http://maven.apache.org/plugins/index.html a lot and
>> also http://maven.apache.org/pom.html and also
>> http://maven.apache.org/guides/index.html
>>
>>

Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Jeff Eastman <jd...@windwardsolutions.com>.
Build worked fine but I'm trying to cajole Eclipse into working with it. 
The repository organization makes it difficult to work with. Maybe 
there's an Eclipse plugin?

Jeff

Grant Ingersoll wrote:
> In the case of the libs, like Hadoop, that aren't in the Maven repo, 
> our POM is setup to automatically install them (and deploy, too)
>
> For new Maven users, I'd start with:
> http://maven.apache.org/users/index.html
>
> From there, I use http://maven.apache.org/plugins/index.html a lot and 
> also http://maven.apache.org/pom.html and also 
> http://maven.apache.org/guides/index.html
>
> -Grant
>
> On Feb 10, 2009, at 5:28 PM, Grant Ingersoll wrote:
>
>> Maven downloads the libs it needs to ~/.m2/repository unless you set 
>> the repo to be somewhere else.
>>
>>
>> On Feb 10, 2009, at 5:01 PM, Jeff Eastman wrote:
>>
>>> That worked seamlessly, thanks. Are our required libs now in 
>>> $MAVEN_HOME/lib?
>>>
>>> Jeff
>>>
>>> confluence@apache.org wrote:
>>>> BuildingMahout (MAHOUT) edited by Grant Ingersoll
>>>>     Page: 
>>>> http://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout
>>>>  Changes: 
>>>> http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=93207&originalVersion=1&revisedVersion=2 
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Content:
>>>> ---------------------------------------------------------------------
>>>>
>>>> h1. Prerequisites for Building Mahout
>>>>
>>>> * Java JDK 1.6
>>>> * Maven 2.0.9 or higher (http://maven.apache.org/)
>>>>
>>>> h1. Get the Source Code
>>>>
>>>> Use [Subversion|http://subversion.tigris.org] to check out the code:
>>>> {code}
>>>> svn co http://svn.apache.org/repos/asf/lucene/mahout/trunk
>>>> {code}
>>>> h1. Compiling
>>>>
>>>> * change directory to the checked out directory
>>>> * mvn compile
>>>>
>>>> This will run the default targets, which builds both the core and 
>>>> the examples, and also packages them.
>>>>
>>>> h2. Compile Core
>>>> * change to the core directory
>>>> * mvn compile
>>>>
>>>> h2. Compile Examples
>>>>
>>>> * change to the examples directory
>>>> * mvn compile
>>>>
>>>> ---------------------------------------------------------------------
>>>> CONFLUENCE INFORMATION
>>>> This message is automatically generated by Confluence
>>>>
>>>> Unsubscribe or edit your notifications preferences
>>>>  http://cwiki.apache.org/confluence/users/viewnotifications.action
>>>>
>>>> If you think it was sent incorrectly contact one of the administrators
>>>>  http://cwiki.apache.org/confluence/administrators.action
>>>>
>>>> If you want more information on Confluence, or have a bug to report 
>>>> see
>>>>  http://www.atlassian.com/software/confluence
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>> --------------------------
>> Grant Ingersoll
>> http://www.lucidimagination.com/
>>
>> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) 
>> using Solr/Lucene:
>> http://www.lucidimagination.com/search
>>
>
> --------------------------
> Grant Ingersoll
> http://www.lucidimagination.com/
>
> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) 
> using Solr/Lucene:
> http://www.lucidimagination.com/search
>
>
>


Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Grant Ingersoll <gs...@apache.org>.
In the case of the libs, like Hadoop, that aren't in the Maven repo,  
our POM is setup to automatically install them (and deploy, too)

For new Maven users, I'd start with:
http://maven.apache.org/users/index.html

 From there, I use http://maven.apache.org/plugins/index.html a lot  
and also http://maven.apache.org/pom.html and also http://maven.apache.org/guides/index.html

-Grant

On Feb 10, 2009, at 5:28 PM, Grant Ingersoll wrote:

> Maven downloads the libs it needs to ~/.m2/repository unless you set  
> the repo to be somewhere else.
>
>
> On Feb 10, 2009, at 5:01 PM, Jeff Eastman wrote:
>
>> That worked seamlessly, thanks. Are our required libs now in  
>> $MAVEN_HOME/lib?
>>
>> Jeff
>>
>> confluence@apache.org wrote:
>>> BuildingMahout (MAHOUT) edited by Grant Ingersoll
>>>     Page: http://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout
>>>  Changes: http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=93207&originalVersion=1&revisedVersion=2
>>>
>>>
>>>
>>>
>>>
>>>
>>> Content:
>>> ---------------------------------------------------------------------
>>>
>>> h1. Prerequisites for Building Mahout
>>>
>>> * Java JDK 1.6
>>> * Maven 2.0.9 or higher (http://maven.apache.org/)
>>>
>>> h1. Get the Source Code
>>>
>>> Use [Subversion|http://subversion.tigris.org] to check out the code:
>>> {code}
>>> svn co http://svn.apache.org/repos/asf/lucene/mahout/trunk
>>> {code}
>>> h1. Compiling
>>>
>>> * change directory to the checked out directory
>>> * mvn compile
>>>
>>> This will run the default targets, which builds both the core and  
>>> the examples, and also packages them.
>>>
>>> h2. Compile Core
>>> * change to the core directory
>>> * mvn compile
>>>
>>> h2. Compile Examples
>>>
>>> * change to the examples directory
>>> * mvn compile
>>>
>>> ---------------------------------------------------------------------
>>> CONFLUENCE INFORMATION
>>> This message is automatically generated by Confluence
>>>
>>> Unsubscribe or edit your notifications preferences
>>>  http://cwiki.apache.org/confluence/users/viewnotifications.action
>>>
>>> If you think it was sent incorrectly contact one of the  
>>> administrators
>>>  http://cwiki.apache.org/confluence/administrators.action
>>>
>>> If you want more information on Confluence, or have a bug to  
>>> report see
>>>  http://www.atlassian.com/software/confluence
>>>
>>>
>>>
>>>
>>>
>>
>
> --------------------------
> Grant Ingersoll
> http://www.lucidimagination.com/
>
> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
> using Solr/Lucene:
> http://www.lucidimagination.com/search
>

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:
http://www.lucidimagination.com/search


Re: [CONF] Apache Lucene Mahout: BuildingMahout (page edited)

Posted by Grant Ingersoll <gs...@apache.org>.
Maven downloads the libs it needs to ~/.m2/repository unless you set  
the repo to be somewhere else.


On Feb 10, 2009, at 5:01 PM, Jeff Eastman wrote:

> That worked seamlessly, thanks. Are our required libs now in  
> $MAVEN_HOME/lib?
>
> Jeff
>
> confluence@apache.org wrote:
>> BuildingMahout (MAHOUT) edited by Grant Ingersoll
>>      Page: http://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout
>>   Changes: http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=93207&originalVersion=1&revisedVersion=2
>>
>>
>>
>>
>>
>>
>> Content:
>> ---------------------------------------------------------------------
>>
>> h1. Prerequisites for Building Mahout
>>
>> * Java JDK 1.6
>> * Maven 2.0.9 or higher (http://maven.apache.org/)
>>
>> h1. Get the Source Code
>>
>> Use [Subversion|http://subversion.tigris.org] to check out the code:
>> {code}
>> svn co http://svn.apache.org/repos/asf/lucene/mahout/trunk
>> {code}
>> h1. Compiling
>>
>> * change directory to the checked out directory
>> * mvn compile
>>
>> This will run the default targets, which builds both the core and  
>> the examples, and also packages them.
>>
>> h2. Compile Core
>> * change to the core directory
>> * mvn compile
>>
>> h2. Compile Examples
>>
>> * change to the examples directory
>> * mvn compile
>>
>> ---------------------------------------------------------------------
>> CONFLUENCE INFORMATION
>> This message is automatically generated by Confluence
>>
>> Unsubscribe or edit your notifications preferences
>>   http://cwiki.apache.org/confluence/users/viewnotifications.action
>>
>> If you think it was sent incorrectly contact one of the  
>> administrators
>>   http://cwiki.apache.org/confluence/administrators.action
>>
>> If you want more information on Confluence, or have a bug to report  
>> see
>>   http://www.atlassian.com/software/confluence
>>
>>
>>
>>
>>
>

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:
http://www.lucidimagination.com/search