diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2024-09-27 11:33:45 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2024-09-30 09:28:46 +0200 |
commit | f08326881ade3628db23bbceb7d80225d2811d5e (patch) | |
tree | 73024169f9523f12f27ef7a85086e0f9c3dc9044 /pom.xml | |
parent | 388c83c2e06a3d44641b3b432838c90a6d6244c0 (diff) | |
download | sonar-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.xml | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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> |