문제

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.

pastebin

alt text

도움이 되었습니까?

해결책 2

I was using Maven 3.0 and unfortunately sources and javadoc properties was added to maven-deploy-plugin v.2.6 and maven-gpg-plugin v.1.3 ... But Maven 3.0 was using maven-gpg-plugin v.1.2 and maven-deploy-plugin v.2.5

다른 팁

It could be a bug in gpg plugin. As a workaround you can try to use gpg:sign in combination with deploy:deploy.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top