lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <>
Subject RE: deploy-maven-artifacts
Date Tue, 20 Mar 2012 20:24:01 GMT
Hi Mikhail,

There is info on deploying to a maven repo using generate-maven-artifacts in dev-tools/maven/README.maven
in your local working copy.

Here's the relevant snippet from <>:

C. How to deploy Maven artifacts to a repository

   Prerequisites: JDK 1.6+ and Ant 1.7.X

   You can deploy targets for all of Lucene/Solr, only Lucene, only Solr,
   or only modules/, as in B. above.  To deploy to a Maven repository, the
   command is the same as in B. above, with the addition of two system

      ant \
          -Dm2.repository.url= \

   The repository ID given in the above command corresponds to a <server>
   entry in either your ~/.m2/settings.xml or ~/.ant/settings.xml.  See
   <> for more information.
   (Note that as of version 2.1.3, Maven Ant Tasks cannot handle encrypted

From: Mikhail Khludnev []
Sent: Tuesday, March 20, 2012 4:14 PM
Subject: deploy-maven-artifacts


Solr build has a great target "generate-maven-artifacts". Can't you share a snippet which
deploys artefacts into  repo? How do you do that, by sh or by ant? Don't we need to have "deploy"
target in build?

Thanks in advance.
Sincerely yours
Mikhail Khludnev
Lucid Certified
Apache Lucene/Solr Developer
Grid Dynamics


View raw message