Skip to content

Commit a89f912

Browse files
committed
security update
1 parent e5696fc commit a89f912

4 files changed

Lines changed: 45 additions & 46 deletions

File tree

.idea/jarRepositories.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dependency-reduced-pom.xml

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.jubyte.citybuild</groupId>
55
<artifactId>CityBuildV2</artifactId>
6-
<version>2.16.5-RELEASE</version>
6+
<version>2.16.6-RELEASE</version>
77
<build>
88
<plugins>
99
<plugin>
@@ -67,8 +67,8 @@
6767
<url>https://repo.jubyte.com/artifactory/pretronic/</url>
6868
</repository>
6969
<repository>
70-
<id>IntellectualSites</id>
71-
<url>https://mvn.intellectualsites.com/content/groups/public/</url>
70+
<id>papermc</id>
71+
<url>https://repo.papermc.io/repository/maven-public/</url>
7272
</repository>
7373
<repository>
7474
<id>nms-repo</id>
@@ -111,27 +111,15 @@
111111
<scope>provided</scope>
112112
</dependency>
113113
<dependency>
114-
<groupId>mysql</groupId>
115-
<artifactId>mysql-connector-java</artifactId>
116-
<version>8.0.32</version>
114+
<groupId>com.intellectualsites.plotsquared</groupId>
115+
<artifactId>plotsquared-core</artifactId>
116+
<version>7.5.6</version>
117117
<scope>provided</scope>
118118
</dependency>
119119
<dependency>
120-
<groupId>com.zaxxer</groupId>
121-
<artifactId>HikariCP</artifactId>
122-
<version>5.0.1</version>
123-
<scope>provided</scope>
124-
</dependency>
125-
<dependency>
126-
<groupId>com.plotsquared</groupId>
127-
<artifactId>PlotSquared-Core</artifactId>
128-
<version>6.11.1</version>
129-
<scope>provided</scope>
130-
</dependency>
131-
<dependency>
132-
<groupId>com.comphenix.protocol</groupId>
120+
<groupId>net.dmulloy2</groupId>
133121
<artifactId>ProtocolLib</artifactId>
134-
<version>4.8.0</version>
122+
<version>5.4.0</version>
135123
<scope>provided</scope>
136124
</dependency>
137125
<dependency>
@@ -141,6 +129,17 @@
141129
<scope>provided</scope>
142130
</dependency>
143131
</dependencies>
132+
<dependencyManagement>
133+
<dependencies>
134+
<dependency>
135+
<groupId>com.intellectualsites.bom</groupId>
136+
<artifactId>bom-newest</artifactId>
137+
<version>1.55</version>
138+
<type>pom</type>
139+
<scope>import</scope>
140+
</dependency>
141+
</dependencies>
142+
</dependencyManagement>
144143
<properties>
145144
<maven.compiler.target>${java.version}</maven.compiler.target>
146145
<java.version>16</java.version>

pom.xml

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.jubyte.citybuild</groupId>
88
<artifactId>CityBuildV2</artifactId>
9-
<version>2.16.5-RELEASE</version>
9+
<version>2.16.6-RELEASE</version>
1010

1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -84,8 +84,8 @@
8484
</repository>
8585
<!--PlotSquared-->
8686
<repository>
87-
<id>IntellectualSites</id>
88-
<url>https://mvn.intellectualsites.com/content/groups/public/</url>
87+
<id>papermc</id>
88+
<url>https://repo.papermc.io/repository/maven-public/</url>
8989
</repository>
9090
<!--Spigot-->
9191
<repository>
@@ -113,6 +113,18 @@
113113
</repository>
114114
</repositories>
115115

116+
<dependencyManagement>
117+
<dependencies>
118+
<dependency>
119+
<groupId>com.intellectualsites.bom</groupId>
120+
<artifactId>bom-newest</artifactId>
121+
<version>1.55</version>
122+
<scope>import</scope>
123+
<type>pom</type>
124+
</dependency>
125+
</dependencies>
126+
</dependencyManagement>
127+
116128
<dependencies>
117129
<dependency>
118130
<groupId>org.spigotmc</groupId>
@@ -123,7 +135,7 @@
123135
<dependency>
124136
<groupId>com.jubyte.developerapi</groupId>
125137
<artifactId>DeveloperAPI</artifactId>
126-
<version>1.19.5</version>
138+
<version>1.19.6</version>
127139
<scope>compile</scope>
128140
</dependency>
129141
<dependency>
@@ -138,30 +150,17 @@
138150
<version>1.2.114.258-SNAPSHOT</version>
139151
<scope>provided</scope>
140152
</dependency>
141-
<dependency>
142-
<groupId>mysql</groupId>
143-
<artifactId>mysql-connector-java</artifactId>
144-
<version>8.0.32</version>
145-
<scope>provided</scope>
146-
</dependency>
147-
<dependency>
148-
<groupId>com.zaxxer</groupId>
149-
<artifactId>HikariCP</artifactId>
150-
<version>5.0.1</version>
151-
<scope>provided</scope>
152-
</dependency>
153153
<!-- PlotSquared Core API -->
154154
<dependency>
155-
<groupId>com.plotsquared</groupId>
156-
<artifactId>PlotSquared-Core</artifactId>
157-
<version>6.11.1</version>
155+
<groupId>com.intellectualsites.plotsquared</groupId>
156+
<artifactId>plotsquared-core</artifactId>
158157
<scope>provided</scope>
159158
</dependency>
160-
<!--ProtocolLib-->
159+
<!-- https://mvnrepository.com/artifact/com.comphenix.protocol/ProtocolLib -->
161160
<dependency>
162-
<groupId>com.comphenix.protocol</groupId>
161+
<groupId>net.dmulloy2</groupId>
163162
<artifactId>ProtocolLib</artifactId>
164-
<version>4.8.0</version>
163+
<version>5.4.0</version>
165164
<scope>provided</scope>
166165
</dependency>
167166
<!-- Lombok -->

src/main/java/com/jubyte/citybuild/utils/signedit/SignEdit_ProtocolLib.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ public void editSign(Player player, Sign sign) {
3232
packetContainer
3333
.getBlockPositionModifier()
3434
.write(0, new BlockPosition(sign.getX(), sign.getY(), sign.getZ()));
35-
try {
3635
protocolManager.sendServerPacket(player, packetContainer);
37-
} catch (InvocationTargetException e) {
38-
Bukkit.getLogger().warning("Error!");
39-
}
4036
}
4137
}

0 commit comments

Comments
 (0)