> sorry, this was not the target I used (this one should work too, but...),
>

Can we expand on the but...?

$ wget http://apache.panu.it//lucene/solr/3.1.0/apache-solr-3.1.0-src.tgz
$ tar xf apache-solr-3.1.0-src.tgz
$ cd apache-solr-3.1.0
$ ant generate-maven-artifacts
*generate-maven-artifacts:

get-maven-poms:

BUILD FAILED
/Users/simpatico/Downloads/apache-solr-3.1.0/build.xml:59: The following
error occurred while executing this line:
/Users/simpatico/Downloads/apache-solr-3.1.0/lucene/build.xml:445: The
following error occurred while executing this line:
/Users/simpatico/Downloads/apache-solr-3.1.0/build.xml:45:
/Users/simpatico/Downloads/apache-solr-3.1.0/dev-tools/maven does not exist.
*


Now for those that build this, it must have worked sometime. How? Or is this
a bug in the release?
Looking the revisions history of the build script I might be referring to
LUCENE-2490 <https://issues.apache.org/jira/browse/LUCENE-2490> but I'm not
sure I understand the solution out. I've checked out dev-tools but even with
it things don't work (tried the one with 3.1.0 relesase).





> the one I used is get-maven-poms. That will just create pom files and copy
> them to their right target locations.
>
> I'm using netbeans and I'm using the plugin "Automatic Projects" to do
> everything inside the IDE.
>
> Which version of Solr are you using ?
>
> Ludovic.
>
> 2011/5/4 Gabriele Kahlout [via Lucene] <
> ml-node+2898211-2124746009-383...@n3.nabble.com>
>
> > generate-maven-artifacts:
> >    [mkdir] Created dir: /Users/simpatico/SOLR_HOME/build/maven
> >    [mkdir] Created dir: /Users/simpatico/SOLR_HOME/dist/maven
> >     [copy] Copying 1 file to
> > /Users/simpatico/SOLR_HOME/build/maven/src/maven
> > [artifact:install-provider] Installing provider:
> > org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
> >
> > *BUILD FAILED*
> > /Users/simpatico/SOLR_HOME/*build.xml:800*: The following error occurred
> > while executing this line:
> > /Users/simpatico/SOLR_HOME/common-build.xml:274: artifact:deploy doesn't
> > support the "uniqueVersion" attribute
> >
> >
> > *build.xml:800: *<m2-deploy
> > pom.xml="src/maven/solr-parent-pom.xml.template"/>
> >
> > removed "uniquVersion" attirubte:
> >
> > generate-maven-artifacts:
> > [artifact:install-provider] Installing provider:
> > org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
> > [artifact:deploy] Deploying to
> file:///Users/simpatico/SOLR_HOME/dist/maven
> >
> > [artifact:deploy] [INFO] Retrieving previous build number from remote
> > [artifact:deploy] [INFO] Retrieving previous metadata from remote
> > [artifact:deploy] [INFO] Uploading repository metadata for: 'artifact
> > org.apache.solr:solr-parent'
> > [artifact:deploy] [INFO] Retrieving previous metadata from remote
> > [artifact:deploy] [INFO] Uploading repository metadata for: 'snapshot
> > org.apache.solr:solr-parent:1.4.2-SNAPSHOT'
> >      [copy] Copying 1 file to /Users/simpatico/SOLR_HOME/build/maven/lib
> > [artifact:install-provider] Installing provider:
> > org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
> > [artifact:deploy] Deploying to
> file:///Users/simpatico/SOLR_HOME/dist/maven
> >
> > [artifact:deploy] [INFO] Retrieving previous build number from remote
> > [artifact:deploy] [INFO] Retrieving previous metadata from remote
> > [artifact:deploy] [INFO] Uploading repository metadata for: 'artifact
> > org.apache.solr:solr-commons-csv'
> > [artifact:deploy] [INFO] Retrieving previous metadata from remote
> > [artifact:deploy] [INFO] Uploading project information for
> solr-commons-csv
> >
> > 1.4.2-SNAPSHOT
> > [artifact:deploy] [INFO] Retrieving previous metadata from remote
> > [artifact:deploy] [INFO] Uploading repository metadata for: 'snapshot
> > org.apache.solr:solr-commons-csv:1.4.2-SNAPSHOT'
> >      [copy] Copying 1 file to
> > /Users/simpatico/SOLR_HOME/build/maven/contrib/dataimporthandler
> > [artifact:install-provider] Installing provider:
> > org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
> >
> > BUILD FAILED
> > /Users/simpatico/SOLR_HOME/build.xml:809: The following error occurred
> > while
> > executing this line:
> > */Users/simpatico/SOLR_HOME/common-build.xml:274: artifact:deploy doesn't
> > support the nested "attach" element*
> >
> >
>
>
> -----
> Jouve
> France.
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Is-it-possible-to-build-Solr-as-a-maven-project-tp2898068p2898315.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



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