hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvind Prabhakar <arv...@cloudera.com>
Subject Re: hbase-0.92.0 up in maven repository
Date Mon, 05 Mar 2012 22:29:25 GMT
On Mon, Mar 5, 2012 at 2:16 PM, Stack <stack@duboce.net> wrote:

> On Mon, Mar 5, 2012 at 2:10 PM, Arvind Prabhakar <arvind@cloudera.com>
> wrote:
> > We have documented the manual steps for doing this for Sqoop at:
> >
> >
> https://cwiki.apache.org/confluence/display/SQOOP/How+to+Release#HowtoRelease-PublishbinaryartifactsinMavenRepository
> >
> > If you can get to the locally built artifacts (say in your local maven
> > cache), you can use these instructions to publish them.
> >
>
> HBase 0.92.0 is beyond what these steps presume, right?  Its actually
> released minus the test jar.  The instructions don't seem to have any
> help for this particular predicament?
>

Here is one way to do it:

1. Checkout the sources associated with the release somewhere convenient.
2. Do a "mvn clean install" on these sources. This will hopefully
produce hbase-0.92.0-tests.jar under the target directory.
3. Make sure you have setup your settings.xml as described in the Sqoop
wiki page. Then run the following command using this artifact:


$ mvn gpg:sign-and-deploy-file -Dfile=./hbase-0.92.0-tests.jar
-DrepositoryId=apache.staging.https
-Durl=https://repository.apache.org/service/local/staging/deploy/maven2/
-Dgpg.keyname=<your-gpg-keyname> -Dclassifier=tests



If this succeeds, you would have staged the tests artifacts successfully.
Then you can close and release from the staging repository.

Thanks,
Arvind



> Thanks,
> St.Ack
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message