12 Commits

Author SHA1 Message Date
89fa19d9ad Update s4u/setup-maven-action action to v1.15.0 2024-10-05 17:01:40 +00:00
Lee
acd87f9741 Merge pull request 'Update dependency org.springframework:spring-web to v6.1.13' (#16) from renovate/spring-core into master
All checks were successful
Publish package to my Maven Repository / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 31s
Reviewed-on: #16
2024-09-25 23:50:32 +00:00
Lee
7a482a2b7f Merge pull request 'Update dependency org.apache.httpcomponents.client5:httpclient5 to v5.4' (#17) from renovate/org.apache.httpcomponents.client5-httpclient5-5.x into master
Some checks are pending
Publish package to my Maven Repository / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Waiting to run
Reviewed-on: #17
2024-09-25 23:50:22 +00:00
Lee
9ce3f867d4 Merge pull request 'Update junit5 monorepo to v5.11.1' (#15) from renovate/junit5-monorepo into master
Some checks are pending
Publish package to my Maven Repository / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Waiting to run
Reviewed-on: #15
2024-09-25 23:50:10 +00:00
5af9d1099e Update junit5 monorepo to v5.11.1 2024-09-25 08:01:23 +00:00
abac8f6b57 Update dependency org.apache.httpcomponents.client5:httpclient5 to v5.4 2024-09-19 17:01:44 +00:00
94b9df0ec8 Update dependency org.springframework:spring-web to v6.1.13 2024-09-12 12:01:29 +00:00
Lee
44a216c928 Merge pull request 'Update dependency org.springframework:spring-web to v6.1.11' (#14) from renovate/spring-core into master
All checks were successful
Publish package to my Maven Repository / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 27s
Reviewed-on: #14
2024-07-30 20:55:48 +00:00
3eec5d30a6 Update dependency org.springframework:spring-web to v6.1.11 2024-07-11 09:00:56 +00:00
fe2e19f953 oopsie
All checks were successful
Publish package to my Maven Repository / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 18s
2024-07-06 05:08:55 +01:00
190c41ba90 Merge remote-tracking branch 'origin/master'
All checks were successful
Publish package to my Maven Repository / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 20s
2024-07-06 05:02:11 +01:00
3c7ba27953 fix? 2024-07-06 05:02:05 +01:00
3 changed files with 15 additions and 15 deletions

View File

@ -23,7 +23,7 @@ jobs:
# Setup Java and Maven
- name: Set up JDK and Maven
uses: s4u/setup-maven-action@v1.14.0
uses: s4u/setup-maven-action@v1.15.0
with:
java-version: ${{ matrix.java-version }}
distribution: "zulu"

10
pom.xml
View File

@ -6,7 +6,7 @@
<groupId>xyz.mcutils</groupId>
<artifactId>mcutils-java-library</artifactId>
<version>1.2.2</version>
<version>1.2.4</version>
<properties>
<maven.compiler.source>17</maven.compiler.source>
@ -60,13 +60,13 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>6.1.10</version>
<version>6.1.13</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>5.3.1</version>
<version>5.4</version>
<scope>compile</scope>
</dependency>
@ -74,13 +74,13 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.10.3</version>
<version>5.11.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.10.3</version>
<version>5.11.1</version>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -44,8 +44,8 @@ public class MinecraftServer {
*/
private GeoLocation location;
@AllArgsConstructor @Getter
private static class MOTD {
@Getter
public static class MOTD {
/**
* The raw motd lines
@ -72,7 +72,7 @@ public class MinecraftServer {
* Player count data for a server.
*/
@Getter
private static class Players {
public static class Players {
/**
* The online players on this server.
*/
@ -108,31 +108,31 @@ public class MinecraftServer {
/**
* The location of the server.
*/
@AllArgsConstructor @Getter
@Getter
public static class GeoLocation {
/**
* The country of the server.
*/
private final String country;
private String country;
/**
* The region of the server.
*/
private final String region;
private String region;
/**
* The city of the server.
*/
private final String city;
private String city;
/**
* The latitude of the server.
*/
private final double latitude;
private double latitude;
/**
* The longitude of the server.
*/
private final double longitude;
private double longitude;
}
}