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 2016/05/27 13:05:34 UTC
[Lucene-java Wiki] Update of "PublishMavenArtifacts" by SteveRowe
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 SteveRowe:
https://wiki.apache.org/lucene-java/PublishMavenArtifacts?action=diff&rev1=13&rev2=14
Comment:
remove "cd lucene" and "cd solr" from example stage-maven-artifacts commands; elide (previously SVN, not Git) revision in RC path
1. Download the Lucene/Solr Maven artifacts (if you don't already have them) using {{{dev-tools/scripts/crawl.maven.release.dist.sh}}} - they will be placed in {{{lucene/}}} and {{{solr/}}} directories in the current directory.<<BR>><<BR>>
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.
+ 1. Stage the Lucene and 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
+ ant clean stage-maven-artifacts -Dmaven.dist.dir=/tmp/releases/6.0.1/lucene-solr-6.0.1-RC2-rev.../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
+ ant clean stage-maven-artifacts -Dmaven.dist.dir=/tmp/releases/6.0.1/lucene-solr-6.0.1-RC2-rev.../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.