0.0.1-RELEASEjarhttps://github.com/a982338665/lf-execl-easylf-execl-easyexcel 简易使用UTF-8UTF-81.81.81.8The Apache Software License, Version 2.0http://www.apache.org/licenses/LICENSE-2.0.txt${project.artifactId}org.apache.maven.pluginsmaven-compiler-plugin1.81.8org.apache.maven.pluginsmaven-source-plugin2.1truecompilejarorg.apache.maven.pluginsmaven-javadoc-plugin2.1privatetrueUTF-8UTF-8UTF-8packagejarorg.apache.maven.pluginsmaven-gpg-plugin1.5sign-artifactsverifysignosshttps://oss.sonatype.org/content/repositories/snapshots/osshttps://oss.sonatype.org/service/local/staging/deploy/maven2/https://github.com/a982338665/lf-execl-easyhttps://github.com/a982338665/lf-execl-easy.githttps://github.com/a982338665/lf-execl-easyluofeng[email protected]https://github.com/a982338665/lf-execl-easydeveloper
4.0 GPG环境,用来对上传的文件进行加密和签名,保证你的jar包不被篡改:
1.下载地址:
windows(二进制安装,安装后将可执行命令添加至系统环境变量中):https://www.gpg4win.org/
linux: https://www.gnupg.org/download/
2.相关命令:
·安装是否成功: gpg –version
·生成密钥对:gpg --gen-key
D:\install-soft\Gpg4win\bin>gpg --gen-key
gpg (GnuPG) 2.2.19; Copyright (C) 2019 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Note: Use "gpg --full-generate-key" for a full featured key generation dialog.
GnuPG needs to construct a user ID to identify your key.
Real name: a982338665
Email address: [email protected]
You selected this USER-ID:
"a982338665 <[email protected]>"
Change (N)ame, (E)mail, or (O)kay/(Q)uit? o
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: key 6A08A45BDF4C5202 marked as ultimately trusted
gpg: directory 'C:/Users/Administrator/AppData/Roaming/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as 'C:/Users/Administrator/AppData/Roaming/gnupg/openpgp-revocs.d\29851CD296284B502C608DE06A08A45BDF4C5202.rev'
public and secret key created and signed.
pub rsa2048 2020-06-02 [SC] [expires: 2022-06-02]
29851CD296284B502C608DE06A08A45BDF4C5202
uid a982338665 <[email protected]>
sub rsa2048 2020-06-02 [E] [expires: 2022-06-02]
生成的时候会弹框要求输密码:打包上传的时候需要它,保存好【GPG密码】
以上完成后,【6A08A45BDF4C5202】就是申请的key
·查看公钥:gpg --list-keys
D:\install-soft\Gpg4win\bin>gpg --list-keys
C:/Users/Administrator/AppData/Roaming/gnupg/pubring.kbx
--------------------------------------------------------
pub rsa2048 2020-06-02 [SC] [expires: 2022-06-02]
29851CD296284B502C608DE06A08A45BDF4C5202
uid [ultimate] a982338665 <[email protected]>
sub rsa2048 2020-06-02 [E] [expires: 2022-06-02]
公钥为:【29851CD296284B502C608DE06A08A45BDF4C5202】
·将公钥发布到GPG密钥服务器-linux:将我们的公钥发布给官方,让其能够解析我们本地用私钥加密后的数据
gpg --keyserver hkp://pool.sks-keyservers.net --send-keys 公钥ID
·将公钥发布到PGP密钥服务器-windows:gpg --keyserver hkp://keyserver.ubuntu.com:11371 --send-keys 5C1845F3
·查询公钥是否发布成功:
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 公钥ID
release之后:
Although I have encountered some problems, finaly I have released my staging repo.The component has been successfully released,please confirm, thanks very much
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml&q