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
Caused by: org.eclipse.aether.transfer.NoTransporterException: Unsupported transport protocol artifactregistry
at org.eclipse.aether.transport.wagon.WagonTransporter.<init> (WagonTransporter.java:131)
at org.eclipse.aether.transport.wagon.WagonTransporterFactory.newInstance (WagonTransporterFactory.java:116)
at org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter (DefaultTransporterProvider.java:104)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init> (BasicRepositoryConnector.java:129)
at org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory.newInstance (BasicRepositoryConnectorFactory.java:155)
at org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector (DefaultRepositoryConnectorProvider.java:107)
The quickstart is only meant to take you through a simple use case. At the end of this section there's a link to more detailed Maven auth instructions. The detailed instructions for the wagon includes adding the wagon to /.mvn/extensions.xml in your child projects.
With documentation at https://cloud.google.com/artifact-registry/docs/java/quickstart, dependency resolution does not work if pom.xml has a parent pom. We get following error when doing
mvn -U -X clean install
:Reason is that wagon is not loaded before parent pom resolution. Adding following in
.mvn/extensions.xml
as per documentation at https://maven.apache.org/docs/3.3.1/release-notes.html worked:This would probably need a change in documentation. I spent several hours scratching my head. :(
Thanks.
The text was updated successfully, but these errors were encountered: