[ 
https://issues.apache.org/jira/browse/HBASE-8224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619352#comment-13619352
 ] 

stack commented on HBASE-8224:
------------------------------

Here is what I did making the release just now:

{code}
  2  3491  rm -rf ~/Downloads/hbase-0.95.0/*
  3  3490  mvn clean -Prelease -Dassembly.file=src/assembly/src.xml install 
-DskipTests assembly:single
  4  3492  cp hbase-assembly/target/hbase-0.95.0-src.tar.gz 
~/Downloads/hbase-0.95.0/
  5  3493  svn revert -R .
  6  3494  svn cleanup
  7  3495  mvn clean org.codehaus.mojo:versions-maven-plugin:1.3.1:set 
-DnewVersion=0.95.0-hadoop1
  8  3496  mvn clean -Prelease  install -DskipTests javadoc:aggregate site 
assembly:single
  9  3497  cp hbase-assembly/target/hbase-0.95.0-hadoop1-bin.tar.gz 
~/Downloads/hbase-0.95.0/
 10  3498  svn revert -R .
 11  3499  svn cleanup
 12  3501  mvn clean -Prelease -Dhadoop.profile=2.0 install -DskipTests 
javadoc:aggregate site assembly:single
 13  3502  mv hbase-assembly/target/hbase-0.95.0-hadoop2-bin.tar.gz 
~/Downloads/hbase-0.95.0/
 14  3513  tail -f logs/hbase-stack-master-durruti.local.log.
 15  3518  svn copy https://svn.apache.org/repos/asf/hbase/branches/0.95 
https://svn.apache.org/repos/asf/hbase/tags/0.95.0RC0 -m "Tag 0.95.0RC0"
 16  3520  cd Downloads/hbase-0.95.0/
 17  3522  gpg --print-mds hbase-0.95.0-src.tar.gz > hbase-0.95.0-src.tar.gz.mds
 18  3524  gpg --print-mds hbase-0.95.0-hadoop1-bin.tar.gz > 
hbase-0.95.0-hadoop1-bin.tar.gz.mds
 19  3525  gpg --print-mds hbase-0.95.0-hadoop2-bin.tar.gz > 
hbase-0.95.0-hadoop2-bin.tar.gz.mds
 20  3527  gpg --armor --output hbase-0.95.0-src.tar.gz.asc --detach-sig 
hbase-0.95.0-src.tar.gz
 21  3530  gpg --armor --output hbase-0.95.0-hadoop1-bin.tar.gz.asc 
--detach-sig hbase-0.95.0-hadoop1-bin.tar.gz
 22  3531  gpg --armor --output hbase-0.95.0-hadoop2-bin.tar.gz.asc 
--detach-sig hbase-0.95.0-hadoop2-bin.tar.gz
 23  3533  cd ../
 24  3534  mv hbase-0.95.0 hbase-0.95.0RC0
 25  3535  tar cfz hbase-0.95.0RC0.tgz  hbase-0.95.0RC0
 26  3539  scp hbase-0.95.0RC0.tgz people.apache.org:
{code}

I set the version using mvn versions and then I'd do my build of src tgz, copy 
it over to a 0.95 dir; then clean up the changes made by the mvn versions by 
doing svn revert.... ; then run it again to set hadoop1, and do similar for 
hadoop2.

Let me push up to mvn repo....too.
                
> Add '-hadoop1' or '-hadoop2' to our version string
> --------------------------------------------------
>
>                 Key: HBASE-8224
>                 URL: https://issues.apache.org/jira/browse/HBASE-8224
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>         Attachments: 8224-adding.classifiers.txt, hbase-8224-proto1.patch
>
>
> So we can publish both the hadoop1 and the hadoop2 jars to a maven 
> repository, and so we can publish two packages, one for hadoop1 and one for 
> hadoop2, given how maven works, our only alternative (to the best of my 
> knowledge and after consulting others) is by amending the version string to 
> include hadoop1 or hadoop2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to