Skip to content

Commit 071600c

Browse files
Optimize QuickShop dependency and update json-smart
1 parent 35d0572 commit 071600c

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,11 +467,25 @@
467467
<version>4.7.0</version>
468468
<scope>provided</scope>
469469
</dependency>
470+
<!--JsonConfiguration Dependency Start-->
470471
<dependency>
471472
<groupId>com.dumptruckman.minecraft</groupId>
472473
<artifactId>JsonConfiguration</artifactId>
473474
<version>1.1</version>
475+
<exclusions>
476+
<exclusion>
477+
<groupId>net.minidev</groupId>
478+
<artifactId>json-smart</artifactId>
479+
</exclusion>
480+
</exclusions>
481+
</dependency>
482+
<!-- Fix CVE-2021-27568 -->
483+
<dependency>
484+
<groupId>net.minidev</groupId>
485+
<artifactId>json-smart</artifactId>
486+
<version>2.4.7</version>
474487
</dependency>
488+
<!--JsonConfiguration Dependency End-->
475489
<dependency>
476490
<groupId>com.github.MilkBowl</groupId>
477491
<artifactId>VaultAPI</artifactId>

src/integration/plotsquared/5/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@
4545
<groupId>org.maxgamer</groupId>
4646
<artifactId>QuickShop</artifactId>
4747
<version>4.0.9.2</version>
48+
<!--We just need the core jar-->
49+
<exclusions>
50+
<exclusion>
51+
<groupId>*</groupId>
52+
<artifactId>*</artifactId>
53+
</exclusion>
54+
</exclusions>
4855
<scope>provided</scope>
4956
</dependency>
5057
<dependency>

0 commit comments

Comments
 (0)