Update global-settings file for SBOM 69/130169/2
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 4 Aug 2022 00:32:11 +0000 (17:32 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 4 Aug 2022 00:34:42 +0000 (17:34 -0700)
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

jenkins-config/managed-config-files/globalMavenSettings/global-settings/content

index adaaa1b..fa53669 100644 (file)
         </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>
     <activeProfile>onap-settings</activeProfile>
     <activeProfile>releases</activeProfile>
     <activeProfile>snapshots</activeProfile>
+    <activeProfile>local_m2</activeProfile>
   </activeProfiles>
 </settings>