]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
SCANCLI-157 Fix Bouncycastle issue on FIPS environments jh/fix_fips 192/head
authorJulien HENRY <julien.henry@sonarsource.com>
Fri, 27 Sep 2024 09:33:45 +0000 (11:33 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Fri, 27 Sep 2024 15:05:46 +0000 (17:05 +0200)
pom.xml

diff --git a/pom.xml b/pom.xml
index 9df7eb8dc66f4f7ffe91fdc681983336ca3fe44f..38cfcb33fb74046c16ab1b87262bdb91c71a8d11 100644 (file)
--- 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>
             <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>
                     <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>