Update dependency versions

This commit is contained in:
Luck 2017-07-07 14:48:42 +01:00
parent 42d48c8da2
commit d23b29aeb1
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
7 changed files with 28 additions and 21 deletions

View File

@ -81,7 +81,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>${gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>

View File

@ -65,7 +65,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>${gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
@ -86,7 +86,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.11.2-R0.1-SNAPSHOT</version>
<version>1.12-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- Vault -->

View File

@ -65,7 +65,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>${gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
@ -86,7 +86,7 @@
<dependency>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-api</artifactId>
<version>1.11-SNAPSHOT</version>
<version>1.12-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- LuckPerms Common -->

View File

@ -46,7 +46,7 @@
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>2.6.1</version>
<version>2.6.3</version>
<scope>provided</scope>
</dependency>
<!-- Jedis -->
@ -60,7 +60,7 @@
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>3.3.0</version>
<version>3.4.2</version>
<scope>provided</scope>
</dependency>
<!-- SnakeYAML -->
@ -88,7 +88,7 @@
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>2.4.0</version>
<version>2.5.2</version>
<scope>provided</scope>
</dependency>
<!-- Lombok -->

View File

@ -32,19 +32,25 @@ import lombok.Getter;
@AllArgsConstructor
public enum Dependency {
CAFFEINE("https://repo1.maven.org/maven2/com/github/ben-manes/caffeine/caffeine/2.4.0/caffeine-2.4.0.jar", "2.4.0"),
MARIADB_DRIVER("https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/1.5.9/mariadb-java-client-1.5.9.jar", "1.5.9"),
MYSQL_DRIVER("https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.6/mysql-connector-java-5.1.6.jar", "5.1.6"),
POSTGRESQL_DRIVER("https://repo1.maven.org/maven2/org/postgresql/postgresql/9.4.1212/postgresql-9.4.1212.jar", "9.4.1212"),
H2_DRIVER("https://repo1.maven.org/maven2/com/h2database/h2/1.4.193/h2-1.4.193.jar", "1.4.193"),
SQLITE_DRIVER("https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.15.1/sqlite-jdbc-3.15.1.jar", "3.15.1"),
HIKARI("https://repo1.maven.org/maven2/com/zaxxer/HikariCP/2.6.1/HikariCP-2.6.1.jar", "2.6.1"),
SLF4J_SIMPLE("https://repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.7.9/slf4j-simple-1.7.9.jar", "1.7.9"),
SLF4J_API("https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.9/slf4j-api-1.7.9.jar", "1.7.9"),
MONGODB_DRIVER("https://repo1.maven.org/maven2/org/mongodb/mongo-java-driver/3.4.1/mongo-java-driver-3.4.1.jar", "3.4.1"),
CAFFEINE("com.github.ben-manes.caffeine", "caffeine", "2.5.2"),
MARIADB_DRIVER("org.mariadb.jdbc", "mariadb-java-client", "2.0.3"),
MYSQL_DRIVER("mysql", "mysql-connector-java", "6.0.6"),
POSTGRESQL_DRIVER("org.postgresql", "postgresql", "9.4.1212"),
H2_DRIVER("com.h2database", "h2", "1.4.196"),
SQLITE_DRIVER("org.xerial", "sqlite-jdbc", "3.19.3"),
HIKARI("com.zaxxer", "HikariCP", "2.6.3"),
SLF4J_SIMPLE("org.slf4j", "slf4j-simple", "1.7.25"),
SLF4J_API("org.slf4j", "slf4j-api", "1.7.25"),
MONGODB_DRIVER("org.mongodb", "mongo-java-driver", "3.4.2"),
JEDIS("https://github.com/lucko/jedis/releases/download/jedis-2.9.1-shaded/jedis-2.9.1-shaded.jar", "2.9.1-shaded");
private final String url;
private final String version;
private static final String MAVEN_CENTRAL_FORMAT = "https://repo1.maven.org/maven2/%s/%s/%s/%s-%s.jar";
Dependency(String groupId, String artifactId, String version) {
this(String.format(MAVEN_CENTRAL_FORMAT, groupId.replace(".", "/"), artifactId, version, artifactId, version), version);
}
}

View File

@ -54,7 +54,8 @@
<!-- Standard versions used by the whole project -->
<compiler.version>3.6.1</compiler.version>
<shade.version>3.0.0</shade.version>
<lombok.version>1.16.16</lombok.version>
<lombok.version>1.16.18</lombok.version>
<gpg.version>1.6</gpg.version>
</properties>
<distributionManagement>
@ -83,7 +84,7 @@
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>2.2.1</version>
<version>2.2.2</version>
<executions>
<execution>
<phase>validate</phase>

View File

@ -78,7 +78,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>${gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>