guys I don't know what could be wrong, but I'm deploying snapshot and sources with gpg:sign-and-deploy-file
, but the sources name does always have the value of the following buildnumber. Like artifact-timestamp-1.jar and artifact-timestamp-2-sources.jar
so that if I then have a snapshot dependency, it is looking for artifact-timestamp-2.jar instead of artifact-timestamp-1.jar
I'm not using any build number plugin etc., the pom definitions for this artifact is having only credentials.
I also don't use SCM...
IS THERE ANY WORKAROUND FOR DEPLOYING SNAPSHOT SOURCES ? Cause obviously it is not allowed be design.
It could be a bug in gpg plugin. As a workaround you can try to use gpg:sign in combination with deploy:deploy.
我使用的是Maven 3.0,不幸的是, sources
和javadoc
属性已添加到maven-deploy-plugin v.2.6
和maven-gpg-plugin v.1.3
...但是Maven 3.0使用的是maven-gpg-plugin v.1.2
和maven-deploy-plugin v.2.5
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.