我正在尝试使用此命令从beam java quickstart中获取字数示例
mvn archetype:generate \
-DarchetypeGroupId=org.apache.beam \
-DarchetypeArtifactId=beam-sdks-java-maven-archetypes-examples \
-DarchetypeVersion=2.8.0 \
-DgroupId=org.example \
-DartifactId=word-count-beam \
-Dversion="0.1" \
-Dpackage=org.apache.beam.examples \
-DinteractiveMode=false
这是我的.m2 / settings.xml
<settings>
<mirrors>
<mirror>
<id>company-proxy-repository</id>
<name>Maven Repository Manager running on my.company.io</name>
<url>https://my.company.net</url>
<mirrorOf></mirrorOf>
</mirror>
</mirrors>
<servers>
<server>
<id>company-releases</id>
<username>my.username</username>
<password>my_password</password>
</server>
</servers>
<profiles>
<profile>
<id>company-profile</id>
<pluginRepositories>
<pluginRepository>
...
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>company-snapshots</id>
<name>company Snapshots</name>
<url></url>
</repository>
<repository>
<id>company-releases</id>
<name>company Releases</name>
<url></url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>company-profile</activeProfile>
</activeProfiles>
</settings>
如何指定要从默认Maven存储库中下载工件的Maven?我应该使用其他个人资料吗?我该怎么做? 我是Maven的新手:(