Okay, that sequence worked, but then shouldn't I be able to do $ mvn install
afterwards? This is what I get:

...
Compiling 478 source files to /Users/simpatico/debug/solr4/solr/build/solr
-------------------------------------------------------------
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
org/apache/solr/spelling/suggest/fst/FSTLookup.java:[29,27] package
com.google.common.io does not exist
org/apache/solr/spelling/suggest/fst/InputStreamDataInput.java:[29,4] cannot
find symbol
symbol  : variable ByteStreams
location: class org.apache.solr.spelling.suggest.fst.InputStreamDataInput
org/apache/solr/spelling/suggest/fst/FSTLookup.java:[128,57] cannot find
symbol
symbol  : variable Lists
location: class org.apache.solr.spelling.suggest.fst.FSTLookup
org/apache/solr/spelling/suggest/fst/FSTLookup.java:[170,26] cannot find
symbol
symbol  : variable Lists
location: class org.apache.solr.spelling.suggest.fst.FSTLookup
org/apache/solr/spelling/suggest/fst/FSTLookup.java:[203,35] cannot find
symbol
symbol  : variable Lists
location: class org.apache.solr.spelling.suggest.fst.FSTLookup
org/apache/solr/spelling/suggest/fst/FSTLookup.java:[529,6] cannot find
symbol
symbol  : variable Closeables
location: class org.apache.solr.spelling.suggest.fst.FSTLookup
org/apache/solr/spelling/suggest/fst/FSTLookup.java:[551,6] cannot find
symbol
symbol  : variable Closeables
location: class org.apache.solr.spelling.suggest.fst.FSTLookup
9 errors
-------------------------------------------------------------
------------------------------------------------------------------------
Reactor Summary:

Grandparent POM for Apache Lucene Java and Apache Solr  SUCCESS [13.255s]
Lucene parent POM ................................. SUCCESS [0.199s]
Lucene Core ....................................... SUCCESS [15.528s]
Lucene Test Framework ............................. SUCCESS [4.657s]
Lucene Common Analyzers ........................... SUCCESS [16.770s]
Lucene Contrib Ant ................................ SUCCESS [1.103s]
Lucene Contrib bdb ................................ SUCCESS [0.883s]
Lucene Contrib bdb-je ............................. SUCCESS [0.872s]
Lucene Database aggregator POM .................... SUCCESS [0.091s]
Lucene Demo ....................................... SUCCESS [0.842s]
Lucene Memory ..................................... SUCCESS [0.726s]
Lucene Queries .................................... SUCCESS [1.559s]
Lucene Highlighter ................................ SUCCESS [3.007s]
Lucene InstantiatedIndex .......................... SUCCESS [1.224s]
Lucene Lucli ...................................... SUCCESS [1.579s]
Lucene Miscellaneous .............................. SUCCESS [1.163s]
Lucene Query Parser ............................... SUCCESS [4.274s]
Lucene Spatial .................................... SUCCESS [1.159s]
Lucene Spellchecker ............................... SUCCESS [0.841s]
Lucene Swing ...................................... SUCCESS [1.177s]
Lucene Wordnet .................................... SUCCESS [0.816s]
Lucene XML Query Parser ........................... SUCCESS [1.197s]
Lucene Contrib aggregator POM ..................... SUCCESS [0.079s]
Lucene ICU Analysis Components .................... SUCCESS [1.494s]
Lucene Phonetic Filters ........................... SUCCESS [0.759s]
Lucene Smart Chinese Analyzer ..................... SUCCESS [3.534s]
Lucene Stempel Analyzer ........................... SUCCESS [1.537s]
Lucene Analysis Modules aggregator POM ............ SUCCESS [0.081s]
Lucene Benchmark .................................. SUCCESS [3.693s]
Lucene Modules aggregator POM ..................... SUCCESS [0.147s]
Apache Solr parent POM ............................ SUCCESS [0.099s]
Apache Solr Solrj ................................. SUCCESS [3.670s]
Apache Solr Core .................................. FAILURE [7.842s]

On Thu, May 5, 2011 at 3:36 PM, Steven A Rowe <sar...@syr.edu> wrote:

> Hi Gabriele,
>
> The sequence should be
>
> 1. svn update
> 2. ant get-maven-poms
> 3. mvn -N -Pbootstrap install
>
> I think you left out #2 - there was a very recent change to the POMs that
> affects the noggit jar name.
>
> Steve
>
> > -----Original Message-----
> > From: Gabriele Kahlout [mailto:gabri...@mysimpatico.com]
> > Sent: Thursday, May 05, 2011 1:22 AM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Is it possible to build Solr as a maven project?
> >
> > Thank you so much for this gem, David!
> >
> > I still don't manage to build though:
> > $ svn update
> > At revision 1099684.
> >
> > $ mvn clean
> >
> > $ mvn -N -Pbootstrap install
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 8.234s
> > [INFO] Finished at: Thu May 05 07:21:34 CEST 2011
> > [INFO] Final Memory: 12M/81M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file
> > (install-solr-noggit) on project lucene-solr-grandparent: Error
> > installing
> > artifact 'org.apache.solr:solr-noggit:jar': Failed to install artifact
> > org.apache.solr:solr-noggit:jar:4.0-SNAPSHOT:
> > /Users/simpatico/debug/solr4/solr/lib/apache-solr-noggit-r944541.jar (No
> > such file or directory) -> [Help 1]
> >
> >
> > On Thu, May 5, 2011 at 12:02 AM, Smiley, David W. <dsmi...@mitre.org>
> > wrote:
> >
> > > Hi folks. What you're supposed to do is run:
> > >
> > > mvn -N -Pbootstrap install
> > >
> > > as the very first one-time only step.  It copies several custom jar
> > files
> > > into your local repository. From then on you can build like normally
> > with
> > > maven.
> > >
> > > ~ David Smiley
> > > Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/
> > >
> > >
> > > On May 4, 2011, at 2:36 PM, Gabriele Kahlout wrote:
> > >
> > > > but it doesn't build.
> > > >
> > > > Now, I've checked out solr4 from the trunk and tried to build the
> > maven
> > > > project there, but it fails downloading berkleydb:
> > > >
> > > > BUILD FAILURE
> > > > ---------------------------------------------------------------------
> > ---
> > > > Total time: 1:07.367s
> > > > Finished at: Wed May 04 20:33:29 CEST 2011
> > > > Final Memory: 24M/81M
> > > > ---------------------------------------------------------------------
> > ---
> > > > Failed to execute goal on project lucene-bdb: Could not resolve
> > > dependencies
> > > > for project org.apache.lucene:lucene-bdb:jar:4.0-SNAPSHOT: Failure to
> > > find
> > > > com.sleepycat:berkeleydb:jar:4.7.25 in
> > > > http://download.carrot2.org/maven2/was cached in the local
> > repository,
> > > > resolution will not be reattempted until
> > > > the update interval of carrot2.org has elapsed or updates are forced
> > ->
> > > > [Help 1]
> > > >
> > > >
> > > > I looked up to get the jar on my own but I didn't find a 4.7.25
> > version,
> > > the
> > > > latest on oracle website (java edition) is 4.1. Where can i download
> > this
> > > > maven dependency from?
> > > >
> > > > On Wed, May 4, 2011 at 1:26 PM, Gabriele Kahlout
> > > > <gabri...@mysimpatico.com>wrote:
> > > >
> > > >> It worked after checking out the dev-tools folder. Thank you!
> > > >>
> > > >>
> > > >> On Wed, May 4, 2011 at 1:20 PM, lboutros <boutr...@gmail.com>
> wrote:
> > > >>
> > > >>> <property name="version" value="3.1-SNAPSHOT"/>
> > > >>> <target name="get-maven-poms"
> > > >>>         description="Copy Maven POMs from dev-tools/maven/ to their
> > > >>> target
> > > >>> locations">
> > > >>>   <copy todir="." overwrite="true">
> > > >>>     <fileset dir="${basedir}/dev-tools/maven"/>
> > > >>>     <filterset begintoken="@" endtoken="@">
> > > >>>       <filter token="version" value="${version}"/>
> > > >>>     </filterset>
> > > >>>     <globmapper from="*.template" to="*"/>
> > > >>>   </copy>
> > > >>> </target>
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> 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)).
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > 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)).
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > 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)).
>



-- 
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