すべての回答に感謝しますが、最終的に別のアプローチがありました。それは、中央リポジトリを無効にして、各 pom にプロジェクトの nexus リポジトリを追加することでした。
これの欠点は、それが完全に機能する場合、親だけでなくすべての pom にある必要があることです。
ただし、これは各プロジェクトの 1 回限りの構成であり、各開発者が settings.xml に追加する必要があるのは、nexus リポジトリの資格情報のみであり、新しい開発者の起動がより簡単になります。
もう 1 つの欠点は、プロジェクトの外部で maven を実行すると、archetype:generate
maven が nexus リポジトリを認識しないため、コマンド ラインでそれを指定する必要があることです。私のsettings.xmlでデフォルトのレポを設定できると信じていますが、それ以上は調べていません。
また、どのプロジェクトに取り組んでいるのかを考える必要もありません。maven を実行すると、プロジェクトは使用するリポジトリを認識し、これは私にとって非常に重要です。
これが最善の解決策であることに誰もが同意するわけではないと思いますが、私にとってはうまくいき、オーバーヘッドは許容範囲内です。
これは、各pomの構成がどのように見えるかです
<repositories>
<repository>
<id>my-nexus-repo</id>
<url>http://nexus.mycompany.com/content/groups/private/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>my-nexus-repo</id>
<url>http://nexus.mycompany.com/content/groups/private/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>