You're welcome, I'm glad you got it to work. - Steve

> -----Original Message-----
> From: Gabriele Kahlout [mailto:gabri...@mysimpatico.com]
> Sent: Thursday, May 05, 2011 2:41 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Is it possible to build Solr as a maven project?
> 
> Steven, thank you!
> 
> $ mvn -DskipTests=true install
> works!
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Grandparent POM for Apache Lucene Java and Apache Solr  SUCCESS
> [13.142s]
> [INFO] Lucene parent POM ................................. SUCCESS
> [0.345s]
> [INFO] Lucene Core ....................................... SUCCESS
> [18.448s]
> [INFO] Lucene Test Framework ............................. SUCCESS
> [3.560s]
> [INFO] Lucene Common Analyzers ........................... SUCCESS
> [7.739s]
> [INFO] Lucene Contrib Ant ................................ SUCCESS
> [1.265s]
> [INFO] Lucene Contrib bdb ................................ SUCCESS
> [1.332s]
> [INFO] Lucene Contrib bdb-je ............................. SUCCESS
> [1.321s]
> [INFO] Lucene Database aggregator POM .................... SUCCESS
> [0.242s]
> [INFO] Lucene Demo ....................................... SUCCESS
> [1.813s]
> [INFO] Lucene Memory ..................................... SUCCESS
> [2.412s]
> [INFO] Lucene Queries .................................... SUCCESS
> [2.275s]
> [INFO] Lucene Highlighter ................................ SUCCESS
> [2.985s]
> [INFO] Lucene InstantiatedIndex .......................... SUCCESS
> [2.170s]
> [INFO] Lucene Lucli ...................................... SUCCESS
> [1.814s]
> [INFO] Lucene Miscellaneous .............................. SUCCESS
> [1.998s]
> [INFO] Lucene Query Parser ............................... SUCCESS
> [2.755s]
> [INFO] Lucene Spatial .................................... SUCCESS
> [1.314s]
> [INFO] Lucene Spellchecker ............................... SUCCESS
> [1.535s]
> [INFO] Lucene Swing ...................................... SUCCESS
> [1.233s]
> [INFO] Lucene Wordnet .................................... SUCCESS
> [1.309s]
> [INFO] Lucene XML Query Parser ........................... SUCCESS
> [1.483s]
> [INFO] Lucene Contrib aggregator POM ..................... SUCCESS
> [0.151s]
> [INFO] Lucene ICU Analysis Components .................... SUCCESS
> [2.728s]
> [INFO] Lucene Phonetic Filters ........................... SUCCESS
> [1.765s]
> [INFO] Lucene Smart Chinese Analyzer ..................... SUCCESS
> [3.709s]
> [INFO] Lucene Stempel Analyzer ........................... SUCCESS
> [4.241s]
> [INFO] Lucene Analysis Modules aggregator POM ............ SUCCESS
> [0.213s]
> [INFO] Lucene Benchmark .................................. SUCCESS
> [2.926s]
> [INFO] Lucene Modules aggregator POM ..................... SUCCESS
> [0.307s]
> [INFO] Apache Solr parent POM ............................ SUCCESS
> [0.233s]
> [INFO] Apache Solr Solrj ................................. SUCCESS
> [3.780s]
> [INFO] Apache Solr Core .................................. SUCCESS
> [9.693s]
> [INFO] Apache Solr Search Server ......................... SUCCESS
> [6.739s]
> [INFO] Apache Solr Test Framework ........................ SUCCESS
> [2.699s]
> [INFO] Apache Solr Analysis Extras ....................... SUCCESS
> [3.868s]
> [INFO] Apache Solr Clustering ............................ SUCCESS
> [6.736s]
> [INFO] Apache Solr DataImportHandler ..................... SUCCESS
> [4.914s]
> [INFO] Apache Solr DataImportHandler Extras .............. SUCCESS
> [2.721s]
> [INFO] Apache Solr DataImportHandler aggregator POM ...... SUCCESS
> [0.253s]
> [INFO] Apache Solr Content Extraction Library ............ SUCCESS
> [1.909s]
> [INFO] Apache Solr - UIMA integration .................... SUCCESS
> [1.922s]
> [INFO] Apache Solr Contrib aggregator POM ................ SUCCESS
> [0.211s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:18.040s
> [INFO] Finished at: Thu May 05 20:39:09 CEST 2011
> [INFO] Final Memory: 38M/90M
> [INFO]
> ------------------------------------------------------------------------
> 
> On Thu, May 5, 2011 at 6:53 PM, Steven A Rowe <sar...@syr.edu> wrote:
> 
> > 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
> >
> >
> 
> 
> --
> Regards,
> K. Gabriele
> 
> --- unchanged since 20/9/10 ---
> P.S. If the subject contains "[LON]" or the addressee acknowledges the
> receipt within 48 hours then I don't resend the email.
> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
> time(x)
> < Now + 48h) ⇒ ¬resend(I, this).
> 
> If an email is sent by a sender that is not a trusted contact or the
> email
> does not contain a valid code then the email is not received. A valid
> code
> starts with a hyphen and ends with "X".
> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
> L(-[a-z]+[0-9]X)).

Reply via email to