lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <sar...@syr.edu>
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 <http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/README.maven?view=markup>:

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

      ant -Dm2.repository.id=my-repo-id \
          -Dm2.repository.url=http://example.org/my/repo \
          generate-maven-artifacts

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


From: Mikhail Khludnev [mailto:mkhludnev@griddynamics.com]
Sent: Tuesday, March 20, 2012 4:14 PM
To: dev@lucene.apache.org
Subject: deploy-maven-artifacts

Hello,

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


<mailto:mkhludnev@griddynamics.com>


Mime
View raw message