diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2022-08-03 17:32:11 -0700 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2022-08-03 17:34:42 -0700 |
commit | f21237e113a6128877fbe13985b389505f7de47e (patch) | |
tree | 5bf40ba09a600d8266c8b306ef8dfa4c64dd7cae /jenkins-config/managed-config-files/globalMavenSettings | |
parent | c540be9d38076309d3a4d39514a0e0540b9a4070 (diff) |
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
Diffstat (limited to 'jenkins-config/managed-config-files/globalMavenSettings')
-rw-r--r-- | jenkins-config/managed-config-files/globalMavenSettings/global-settings/content | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content index adaaa1b24..fa536695b 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> |