Hi,

2008/6/4 Andrew Savory <[EMAIL PROTECTED]>:

> I see from http://issues.apache.org/jira/browse/SOLR-19 that some
> tentative work has been done on mavenisation of solr, and from
> https://issues.apache.org/jira/browse/SOLR-586 that discussion of
> publishing maven artifacts ... is it possible to push solr 1.2 maven
> artifacts out to the repo?


More specifically, would someone with sufficient privileges (Yonik?) be
willing to do the following (from [1]):

mkdir -p org.apache.solr/jars

grab the solr-1.2 release (or svn co tags/release-1.2.0, but then you need
to edit build.xml to update the version string that seems to have
accidentally been updated before doing release tag, to change <property
name="version" value="1.2.1-dev" />)

tar xzvf apache-solr-1.2.0.tar.gz

cp apache-solr-1.2.0/dist/apache-solr-1.2.0.jar org.apache.solr/jars/

cd into org.apache.solr/jars and create md5 and sha1 checksums of
apache-solr-1.2.0.jar:
openssl md5 < apache-solr-1.2.0.jar > apache-solr-1.2.0.jar.md5
openssl sha < apache-solr-1.2.0.jar > apache-solr-1.2.0.jar.sha1

sign the release:
gpg --armor --output apache-solr-1.2.0.jar.asc --detach-sig
apache-solr-1.2.0.jar

cd ../ and scp it onto people.apache.org:
scp -r org.apache.solr [EMAIL PROTECTED]:/www/
people.apache.org/repo/m1-ibiblio-rsync-repository/

check permissions:
cd /www/people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.solr
chgrp -R apcvs *
chmod -R g+w *


I could do it but I suspect that would be overstepping the bounds of a
non-committer :-)

This will make it easier for anyone to use solr from within maven. I'll file
a patch to automate whatever can be automated from our ant build so this is
easier for the 1.3 release.

If people agree that publishing maven artifacts is a good idea, I'll happily
update http://wiki.apache.org/solr/HowToRelease to point to the relevant
information too.


[1] http://www.apache.org/dev/release-publishing.html#maven-repo


Andrew.
--
[EMAIL PROTECTED] / [EMAIL PROTECTED]
http://www.andrewsavory.com/

Reply via email to