...
|
...
Easiest way to use GN Artifactory as global maven repositories mirror is to define profile in your POM file. If you want always use GN Artifactory you can activate profile by default. See below example how to configure it.:...
<profile>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<id>artifactory</id>
<repositories>
<repository>
<id>central</id>
<name>libs-release</name>
<url>https:
//artifactory.software.geant.org/artifactory/repo</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>plugins-release</name>
<url>https:
//artifactory.software.geant.net/artifactory/repo</url>
</pluginRepository>
</pluginRepositories>
</profile>
...
...