You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The signing of jars with Maven -Psign fails for javadoc jars with the current configuration (BAD signature). The apparent reason for this is that the javadoc jar is modified after the signature is created, as can be seen from the time stamps of the files in the target directory. Maven needs to be reconfigured to sign the javadocs only after they are done.
The invalid signatures are the reason why the upload at sonatype does not work yet.
The text was updated successfully, but these errors were encountered:
The correct command to create signed packages is:
* mvn clean install -Psign
or (if you don't care about typing your passphrase into a command line):
* mvn clean install -Psign -Dgpg.passphrase=x
The signing of jars with Maven -Psign fails for javadoc jars with the current configuration (BAD signature). The apparent reason for this is that the javadoc jar is modified after the signature is created, as can be seen from the time stamps of the files in the target directory. Maven needs to be reconfigured to sign the javadocs only after they are done.
The invalid signatures are the reason why the upload at sonatype does not work yet.
The text was updated successfully, but these errors were encountered: