如何完成一次Apache的版本发布

  

  理解Apache发布的内容和流程   

  

  总的来说,源释放是Apache关注的重点,也是发布的必须内容,而二进制版本是可选项,达博可以选择是否发布二进制包到Apache仓库或者发布到Maven中央仓库。   

  

  请参考以下链接,找到更多关于ASF的发布指南:   

     <李>   

     Apache发布指南      

  李   <李>   

     Apache发行政策      

  李   <李>   

     Maven版本信息      

  李      

  本地构建环境准备   

  

  主要包括签名工具,Maven仓库认证相关准备   

     <李>   

  安装GPG,参见      https://www.gnupg.org/download/index.html      

  李      <李>   

  如Mac OS   

  <前>   美元,brew  install  gpg   美元,gpg ——version  #检查版本,应该为2. x   之前   李      <李>   

  用gpg生成键   

  <前>   美元,gpg2 ——full-gen-keygpg  (GnuPG), 2.0.12;, Copyright  (C), 2009年,Free  Software 基金会,公司。   却,能够is  free 软件:,你断开连接;free 用change 以及redistribute 它。   There  is  NO 保证,用,extent  permitted  by 法律。   Please  select  what  kind  of  key 你想要:   ,,(1),RSA 以及RSA (默认)   ,,(2),DSA 以及困难问题   ,,(3),DSA  (sign 只有)   ,,(4),RSA  (sign 只有)   Your 选择?,1 rsa  keys  may  be 结构;1024年,以及4096年,bits 长。   What  keysize  do 你想要什么?,(2048),4096 requested  keysize  is  4096位   Please  specify 请;long 从而key  should  be 有效只,,,,,,,,0,=,key  does  not 到期   ,,,,,& lt; n>,,=, key  expires 拷贝n 天   ,,,,,& lt; n> w =, key  expires 拷贝n 周   ,,,,,& lt; n> m =, key  expires 拷贝n 几个月   ,,,,,& lt; n> y =, key  expires 拷贝n  yearsKey  is  valid  ?, (0),   Key  does  not  expire  at  allIs 却;能够正确吗?,(y/N), y   GnuPG  needs 用construct  a  user  ID 用identify  your  key.Real 名称:Robert  Burrell  Donkin   Email 地址:rdonkin@apache.orgComment: CODE  SIGNING  KEYYou  selected 却;能够用户id:,,,,“Robert  Burrell  Donkin  (CODE  SIGNING 键),& lt; rdonkin@apache.org>“Change  (N) ame,, (C) omment,, (E) mail 或是凯(O)/(Q)外的? O   你need  a  Passphrase 用protect  your  secret 关键只#,填入密码,以后打包过程中会经常用的到   之前   李      <李>   

  查看键id   

  <前>   美元,gpg ——list-keys   pub ,, rsa4096/28681CB1  2018 - 04 - 26, #, 28681 cb1就是key  iduid ,,,,,,(最终),liujun  (apache-dubbo), & lt; liujun@apache.org>   sub ,, rsa4096/D3D6984B  2018-04-26 #,通过key  id发送public 关键到keyserver美元,gpg ——keyserver  pgpkeys.mit.edu ——send-key  28681 cb1 #,其中,pgpkeys.mit.edu为随意挑选的keyserver, keyserver列表为:https://sks-keyservers.net/status/,因为相互之间是自动同步的,选任意一个都可以。   之前   李   <李>   

  如果有多个公钥,设置默认键   

  

  ~/.gnupg/gpg.conf   

  <前>   #,If 你;have  more  than  1, secret  key  your 密匙环,拷贝,你may  want 为#,uncomment 从而following  option 以及set  your  preferred  keyid.default-key  28681 cb1   之前   李         <李>   

  根据提示,生成键   

  李      <李>   

  设置Apache中央仓库   

  <前>   & lt; settings>…,, & lt; servers>   ,,,& lt; !——,用publish  a  snapshot  of  some  part  of  Maven ——比;   ,,,& lt; server>   ,,,,,& lt; id> apache.snapshots.https

如何完成一次Apache的版本发布