aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-09-27 11:33:45 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2024-09-30 09:28:46 +0200
commitf08326881ade3628db23bbceb7d80225d2811d5e (patch)
tree73024169f9523f12f27ef7a85086e0f9c3dc9044 /pom.xml
parent388c83c2e06a3d44641b3b432838c90a6d6244c0 (diff)
downloadsonar-scanner-cli-f08326881ade3628db23bbceb7d80225d2811d5e.tar.gz
sonar-scanner-cli-f08326881ade3628db23bbceb7d80225d2811d5e.zip
SCANCLI-157 Fix Bouncycastle issue on FIPS environments
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 9df7eb8..38cfcb3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -80,7 +80,7 @@
<dependency>
<groupId>org.sonarsource.scanner.lib</groupId>
<artifactId>sonar-scanner-java-library</artifactId>
- <version>3.1.0.234</version>
+ <version>3.1.1.250</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
@@ -162,6 +162,15 @@
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<minimizeJar>true</minimizeJar>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <manifestEntries>
+ <!-- Required for Bouncycastle -->
+ <Multi-Release>true</Multi-Release>
+ </manifestEntries>
+ </transformer>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
+ </transformers>
<filters>
<filter>
<artifact>*:*</artifact>
@@ -171,7 +180,6 @@
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/LICENSE.txt</exclude>
<exclude>META-INF/NOTICE.txt</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
<exclude>**/module-info.class</exclude>
</excludes>
</filter>