Thanks Steve, this will be really simpler next time :)

Is it documented somewhere ? If no, perhaps could we add something in this
page for example ?

http://wiki.apache.org/solr/FrontPage#Solr_Development

or here :

http://wiki.apache.org/solr/NightlyBuilds

Ludovic.

2011/5/5 steve_rowe [via Lucene] <
ml-node+2904178-33932273-383...@n3.nabble.com>

> Hi Gabriele,
>
> On 5/5/2011 at 9:57 AM, Gabriele Kahlout wrote:
> > Okay, that sequence worked, but then shouldn't I be able to do $ mvn
> > install afterwards? This is what I get:
> ...
> > COMPILATION ERROR :
> > -------------------------------------------------------------
> > org/apache/solr/spelling/suggest/fst/InputStreamDataInput.java:[7,27]
> > package com.google.common.io does not exist
> > org/apache/solr/spelling/suggest/fst/FSTLookup.java:[28,32] package
> > com.google.common.collect does not exist
> ...
>
> "mvn install" should work, but it doesn't - I can reproduce this error on
> my machine.  This is a bug in the Maven build.
>
> The nightly Lucene/Solr Maven build on Jenkins should have caught this
> compilation failure three weeks ago, when Dawid Weiss committed his work
> under <https://issues.apache.org/jira/browse/SOLR-2378>.  Unfortunately,
> the nightly builds were using the results of compilation under the Ant
> build, rather than compiling from scratch.  I have committed a fix to the
> nightly build script so this won't happen again.
>
> The Maven build bug is that the Solr-core Google Guava dependency was
> scoped as test-only.  Until SOLR-2378, that was true, but it is no longer.
>  So the fix is simply to remove <scope>test</scope> from the dependency
> declaration in the Solr-core POM.  I've committed this too.
>
> If you "svn update" you will get these two fixes.
>
> Thank you very much for persisting, and reporting the problems you have
> encountered.
>
> Steve
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Is-it-possible-to-build-Solr-as-a-maven-project-tp2898068p2904178.html
>  To start a new topic under Solr - User, email
> ml-node+472068-1765922688-383...@n3.nabble.com
> To unsubscribe from Solr - User, click 
> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=Ym91dHJvc2xAZ21haWwuY29tfDQ3MjA2OHw0Mzk2MDUxNjE=>.
>
>


-----
Jouve
France.
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Is-it-possible-to-build-Solr-as-a-maven-project-tp2898068p2904375.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to