We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
checksum-maven-plugin:生成 md5、sha1 文件,但这里不会对 pom 生成此文件,还需要单独命令处理。
之所以发现 pom 未生成校验文件,是因为 checksum-maven-plugin 在执行时,target 目录下,并没有 ${project.artifactId}-${project.version}.pom 文件
如何保证 checksum-maven-plugin 生成所有构件的校验文件?
target
pom
checksum-maven-plugin
${project.artifactId}-${project.version}.pom
maven-gpg-plugin
.jar
.pom
如何保证 checksum-maven-plugin 在 maven-gpg-plugin 之后执行?
verify
pom.xml
The text was updated successfully, but these errors were encountered:
get 很赞
Sorry, something went wrong.
No branches or pull requests
文章内容
修订意见
target
目录下的所有构件生成校验文件(包括 md5和 sha1);pom
未生成校验文件,是因为checksum-maven-plugin
在执行时,target
目录下,并没有${project.artifactId}-${project.version}.pom
文件${project.artifactId}-${project.version}.pom
文件,会在maven-gpg-plugin
执行时构建checksum-maven-plugin
在maven-gpg-plugin
之后执行,即可保证.jar
和.pom
均有校验文件了maven-gpg-plugin
以及checksum-maven-plugin
均绑定在了verify
阶段,pom.xml
中,保证maven-gpg-plugin
先声明即可 (相同声明周期时,先声明先执行)The text was updated successfully, but these errors were encountered: