I need advice about how to move past a "peer not authenticated" error.
I am trying to stage some 20 jars and corresponding poms via the
following command:
mvn -Dgpg.passphrase="my secret passphrase" clean deploy
I am able to upload most of the artifacts, but the command eventually
fails with a "peer not authenticated" error. The artifact which incurs
this error is not consistent. I have tried this from two different
locations (Palm Springs and San Francisco). But I can't get to the end
of the upload without a "peer not authenticated" error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy)
on project derbyLocale_ko_KR: Failed to deploy artifacts: Could not
transfer artifact org.apache.derby:derbyLocale_ko_KR:pom.asc:10.16.1.1
from/to apache.releases.https
(https://repository.apache.org/service/local/staging/deploy/maven2):
transfer failed for
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/derby/derbyLocale_ko_KR/10.16.1.1/derbyLocale_ko_KR-10.16.1.1.pom.asc:
peer not authenticated -> [Help 1]
Here is my environment:
maven 3.8.5
OpenJDK Runtime Environment 18.9 (build 11+28)
Based on some advice I found on the internet, I tried adding the
following stanza to my top level pom:
<build>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</plugin>
</plugins>
</build>
That does not fix the problem. Any help you can give me would be
appreciated.
Thanks,
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org