我已经能够解决我自己的问题。我需要将 Google Wagon jar 添加到我的 Maven lib 目录中。我还在我的 .m2/settings.xml 中添加了一个原型配置文件。
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
...
<profiles>
<profile>
<id>Archetype</id>
<repositories>
<repository>
<id>archetype</id>
<url>gs://my-archetype-bucket</url>
<releases>
<enabled>true</enabled>
<checksumPolicy>fail</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
</repository>
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2/</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>Archetype</activeProfile>
</activeProfiles>
</settings>