lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (Updated) (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3964) Stage Maven release artifacts
Date Fri, 06 Apr 2012 15:57:22 GMT


Steven Rowe updated LUCENE-3964:

    Attachment: LUCENE-3964.patch

Trunk patch for a new target {{stage-maven-artifacts}} in {{lucene/common_build.xml}}, which:

# calls a Perl script in {{dev-tools/scripts/}} to recurse over the Maven dist directory (specified
via property {{maven.dist.dir}}, which has default values under {{lucene/}} and {{solr/}})
to find Maven artifacts, and then write an Ant build file (by default {{./build/stage_maven_build.xml}});
# invokes the {{stage-maven}} target in the Ant build file produced by the Perl script to
stage each artifact, along with its POM, sources and javadoc jars, and signatures for each,
to the staging repository specified in properties {{}} and {{m2.repository.url}}.

Also included in the patch: a shell script to crawl Maven release distribution artifacts using
{{wget}}: {{dev-tools/scripts/}}

I have successfully run this target on the Lucene artifacts in Robert's RC0 release candidate,
and then "closed" [the resulting staging repository|]
("closing" disallows further uploads to the staging repository, and also does some quality
checks, e.g. valid POMs, valid signatures) using this cmdline:
{noformat}ant clean stage-maven-artifacts -Dmaven.dist.dir=~/temp/lucene

The process took a little less than ten minutes.

Although this patch is against trunk, it will work on any version's release, so I think it
won't be necessary to commit it to branch_3x.

Left to do: test against the RC0 Solr artifacts.
> Stage Maven release artifacts
> -----------------------------
>                 Key: LUCENE-3964
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: general/build
>    Affects Versions: 3.6, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>            Priority: Critical
>             Fix For: 3.6, 4.0
>         Attachments: LUCENE-3964.patch
> We need a way to stage Maven artifacts to the Apache release repository.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message