Re: peer not authenticated error
Thanks, Tamas. On your advice, I updated the top level pom to refer to version 26 of the parent apache pom. This caused the maven-antrun-plugin to object that a major upgrade had obsoleted the element. I was advised to change to . I did that too. However, I am still seeing "peer not authenticated" messages. On 6/13/22 11:15 AM, Tamás Cservenák wrote: Howdy, Well, sadly I see that svn tag is in place, but the very first observation I have is that due to ancient parent Apache POM version 10, you use ancient plugins despite the latest Maven being used. Please try to upgrade parent to current one (current version is 26). So in here https://svn.apache.org/repos/asf/db/derby/code/trunk/maven2/pom.xml make project/parent/version = 26 Parent version 10 you use is from 2011 hence you use plugins that are 11 years old or older, made for Maven2, and I really have no idea what kind of bug(s) may be hit here... Note: ASF parent 10 says java level is 1.4... so this may need some alignment as well... Also, why Java 18? Is it needed or is it just handy? (I'd go with some LTS rather) Other than that, given the sporadic nature of the error, I really can't say more, maybe some misbehaving proxy in between maven process and repo.apache.org? HTH Tamas On Mon, Jun 13, 2022 at 7:45 PM Rick Hillegas wrote: 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: ... org.apache.maven.plugins maven-deploy-plugin 3 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 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: peer not authenticated error
Howdy, Well, sadly I see that svn tag is in place, but the very first observation I have is that due to ancient parent Apache POM version 10, you use ancient plugins despite the latest Maven being used. Please try to upgrade parent to current one (current version is 26). So in here https://svn.apache.org/repos/asf/db/derby/code/trunk/maven2/pom.xml make project/parent/version = 26 Parent version 10 you use is from 2011 hence you use plugins that are 11 years old or older, made for Maven2, and I really have no idea what kind of bug(s) may be hit here... Note: ASF parent 10 says java level is 1.4... so this may need some alignment as well... Also, why Java 18? Is it needed or is it just handy? (I'd go with some LTS rather) Other than that, given the sporadic nature of the error, I really can't say more, maybe some misbehaving proxy in between maven process and repo.apache.org? HTH Tamas On Mon, Jun 13, 2022 at 7:45 PM Rick Hillegas wrote: > 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: > > > > >... > > > org.apache.maven.plugins > maven-deploy-plugin > > 3 > > > > > > > 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 > >
peer not authenticated error
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: ... org.apache.maven.plugins maven-deploy-plugin 3 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
Re: maven-wrapper-3.1.1 breaks MVNW_REPOURL?
found this jira - :-) https://issues.apache.org/jira/projects/MWRAPPER/issues/MWRAPPER-68 -D On Mon, Jun 13, 2022 at 2:29 AM Dan Tran wrote: > > Hi > > After upgrading from 3.1.0 to 3.1.1, we are seeing the following download > error > > > *23:18:36* Exception in thread "main" java.io.FileNotFoundException: > https://my.comp.com/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip > > > where it should be > > > https://my.comp.com/artifactory/public/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip > > > anyone facing this issue? > > > Thanks > > > -D > > > very likely due to this change > https://github.com/apache/maven-wrapper/commit/22a3268def96e5e648aa97a49d9e146e529b7c87 > > >
maven-wrapper-3.1.1 breaks MVNW_REPOURL?
Hi After upgrading from 3.1.0 to 3.1.1, we are seeing the following download error *23:18:36* Exception in thread "main" java.io.FileNotFoundException: https://my.comp.com/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip where it should be https://my.comp.com/artifactory/public/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip anyone facing this issue? Thanks -D very likely due to this change https://github.com/apache/maven-wrapper/commit/22a3268def96e5e648aa97a49d9e146e529b7c87