From 831caeb62e29b0ef81096c5488697649ab38c5f2 Mon Sep 17 00:00:00 2001 From: Ruslan Gainutdinov Date: Mon, 8 Jul 2024 11:17:05 +0300 Subject: [PATCH] fix: proper version in metadata, fix test errors preventing build --- pom.xml | 28 ++++++++++++++++++- run-graylog-mac | 2 +- .../graylog2/plugin/SyslogOutputMetaData.java | 4 +-- 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index fdca7d6..ee9c9ab 100644 --- a/pom.xml +++ b/pom.xml @@ -22,12 +22,38 @@ true true true - 6.0.0 + 6.0.4 0.9.61 7.0.0 + + + com.fasterxml.jackson.core + jackson-core + 2.9.9 + test + + + com.fasterxml.jackson.core + jackson-databind + 2.9.9 + test + + + + io.dropwizard.metrics + metrics-core + 4.1.0 + test + + + com.swrve + rate-limited-logger + 2.0.2 + test + junit junit diff --git a/run-graylog-mac b/run-graylog-mac index cebae60..7177763 100755 --- a/run-graylog-mac +++ b/run-graylog-mac @@ -1,7 +1,7 @@ #!/bin/bash set -e HERE=$PWD -VER=6.0.0 +VER=6.0.4 URL=https://downloads.graylog.org/releases/graylog/graylog-$VER.tgz if [ ! -f "graylog-$VER.tgz" ]; then echo "Downloading $URL" diff --git a/src/main/java/com/wizecore/graylog2/plugin/SyslogOutputMetaData.java b/src/main/java/com/wizecore/graylog2/plugin/SyslogOutputMetaData.java index 394d319..51c7865 100644 --- a/src/main/java/com/wizecore/graylog2/plugin/SyslogOutputMetaData.java +++ b/src/main/java/com/wizecore/graylog2/plugin/SyslogOutputMetaData.java @@ -32,7 +32,7 @@ public Set getRequiredCapabilities() { @Override public Version getRequiredVersion() { - return Version.from(4, 2, 6); + return Version.from(6, 0, 0); } @Override @@ -47,6 +47,6 @@ public String getUniqueId() { @Override public Version getVersion() { - return Version.from(4, 2, 6); + return Version.from(6, 0, 4); } }