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

Reply via email to