Update global-settings file for SBOM
SBOM needs to look into /tmp/r for additional Maven
dependencies since Jenkins redirects the install to that
location.
Add new profile for this rule.
Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I3784c947f99a6b260af0ef4bc9bfe26eaf4c3269
diff --git a/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content
index adaaa1b..fa53669 100644
--- a/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content
+++ b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content
@@ -148,7 +148,22 @@
</pluginRepository>
</pluginRepositories>
</profile>
-
+ <profile>
+ <id>local_m2</id>
+ <repositories>
+ <repository>
+ <id>local_m2</id>
+ <name>local_m2</name>
+ <url>file:///tmp/r</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ </profile>
</profiles>
<activeProfiles>
@@ -156,5 +171,6 @@
<activeProfile>onap-settings</activeProfile>
<activeProfile>releases</activeProfile>
<activeProfile>snapshots</activeProfile>
+ <activeProfile>local_m2</activeProfile>
</activeProfiles>
</settings>