You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2015/09/23 13:25:47 UTC

[Lucene-java Wiki] Update of "PublishMavenArtifacts" by NoblePaul

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "PublishMavenArtifacts" page has been changed by NoblePaul:
https://wiki.apache.org/lucene-java/PublishMavenArtifacts?action=diff&rev1=12&rev2=13

Comment:
give example of solr also to avoid confusion

   The Lucene and Solr artifacts may be staged either together in one pass, or separately in two passes.  To stage both products' artifacts in one pass, specify as {{{maven.dist.dir}}} the parent directory of {{{lucene/}}} and {{{solr/}}}; to stage separately, run {{{ant stage-maven-artifacts}}} twice, specifying as {{{maven.dist.dir}}} first either the {{{lucene/}}} or the {{{solr/}}} directory, and then the other.<<BR>><<BR>>  
   1. Stage the Lucene and/or Solr artifacts using the {{{stage-maven-artifacts}}} target run from a checked-out {{{lucene/}}} source directory, e.g. 
   {{{
+ cd lucene
  ant clean stage-maven-artifacts -Dmaven.dist.dir=/tmp/releases/5.3/lucene-solr-5.3.0-RC2-rev1696229/lucene/maven/ -Dm2.repository.id=apache.releases.https -Dm2.repository.url=https://repository.apache.org/service/local/staging/deploy/maven2
+ cd solr
+ ant clean stage-maven-artifacts -Dmaven.dist.dir=/tmp/releases/5.3/lucene-solr-5.3.0-RC2-rev1696229/solr/maven/ -Dm2.repository.id=apache.releases.https -Dm2.repository.url=https://repository.apache.org/service/local/staging/deploy/maven2
  }}}
     * {{{maven.dist.dir}}} is the directory containing the Lucene and/or Solr Maven artifacts.  Under OS X, using the '{{{~}}}' alias for {{{$HOME}}} doesn't seem to work - use an absolute path instead.
     * {{{m2.repository.id}}} is the ID of the ASF Maven staging repository.