diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 788a55fa6a..b84caa8e08 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -16,10 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: Set up JDK 1.8
+ - name: Set up JDK 11
uses: actions/setup-java@v1
with:
- java-version: 1.8
+ java-version: 11
- name: Cache Maven Dependencies
uses: actions/cache@v1
with:
@@ -27,4 +27,4 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
- run: mvn -B package --file pom.xml
+ run: mvn -B package -Pcoverage,checkstyle,pmd,errorProne,dist --file pom.xml
diff --git a/.gitignore b/.gitignore
index a41a5b3bba..e5b90111a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,6 @@ nbactions*.xml
.settings/
*.swp
*.checkstyle
+
+# Formatter cache
+.cache
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 6e28144bb3..16782736a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,24 +37,24 @@
2.6
1.2
1.6
- 3.1.0
+ 3.2.6
30.1.1-jre
2.0.0.0
4.5.13
4.4.14
- 2.12.2
+ 2.12.3
1.3.2
3.0.0
1.58
2.0.2
3.0.1
- 11.0.1
+ 11.0.2
5.8.0-M1
1.8.0-M1
1.3.0-alpha5
3.0.0-M5
- 3.8.0
+ 3.9.0
2.0.8
1.7.13
2.0.0-alpha1
@@ -68,8 +68,6 @@
${project.basedir}/contrib/formatter.xml
11
true
- 11
- 11
2.8.1
3.3.9
UTF-8
@@ -130,7 +128,7 @@
com.sun.activation
jakarta.activation
- 2.0.0
+ 2.0.1
commons-cli
@@ -207,6 +205,11 @@
javax.annotation-api
${dep.javax.annotation-api.version}
+
+ joda-time
+ joda-time
+ 2.9.1
+
net.spy
spymemcached
@@ -823,7 +826,7 @@
com.puppycrawl.tools
checkstyle
- 8.41
+ 8.41.1
@@ -913,7 +916,7 @@
${maven.compiler.source}
${maven.compiler.source}
- ${maven.compiler.target}
+ ${maven.compiler.release}
${eclipseFormatterStyle}
LF
true
@@ -1006,7 +1009,7 @@
true
100
${project.build.sourceEncoding}
- ${maven.compiler.target}
+ ${maven.compiler.release}
@@ -1407,14 +1410,6 @@
-
errorProne
@@ -1426,73 +1421,81 @@
org.apache.maven.plugins
maven-compiler-plugin
+ 3.8.1
- javac-with-errorprone
-
- true
+ true
-
- -Xmaxwarns
- 5000
- -XepDisableWarningsInGeneratedCode
+ -XDcompilePolicy=simple
+ -Xplugin:ErrorProne
+ -Xep:Var:OFF
+ -Xep:ConstantField:WARN
+ -Xep:RemoveUnusedImports:WARN
+ -Xep:WildcardImport:WARN
+ -Xep:ArrayToString:WARN
+ -Xep:ComparisonOutOfRange:WARN
+ -Xep:DeadException:WARN
+ -Xep:DefaultCharset:OFF
+ -Xep:DepAnn:WARN
+ -Xep:FormatString:WARN
+ -Xep:LongLiteralLowerCaseSuffix:WARN
+ -Xep:MethodCanBeStatic:WARN
+ -Xep:MixedArrayDimensions:WARN
+ -Xep:MultiVariableDeclaration:WARN
+ -Xep:MultipleTopLevelClasses:WARN
+ -Xep:NumericEquality:WARN
+ -Xep:PrivateConstructorForUtilityClass:WARN
+ -Xep:ThrowsUncheckedException:WARN
+ -Xep:TryFailThrowable:WARN
+
- -XepAllDisabledChecksAsWarnings
+
- -Xep:ArgumentParameterMismatch:OFF
+
- -Xep:ArgumentParameterSwap:OFF
+
- -Xep:Var:OFF
+ modifiable variables marked with @Var and
+ complains about the use of final everywhere else.
+ I'd be okay with adding the annotations, but
+ removing the finals is only safe if you can
+ guarantee you never use the compiler *without*
+ this add-on. -->
+
- -Xep:ConstantField:WARN
- -Xep:RemoveUnusedImports:WARN
- -Xep:WildcardImport:WARN
+ doesn't get counted as a warning. Change it to a
+ counted warning to make it easier to see how many
+ there are. -->
+
+
+
- -Xep:ArrayToString:WARN
- -Xep:ComparisonOutOfRange:WARN
- -Xep:DeadException:WARN
- -Xep:DefaultCharset:OFF
- -Xep:DepAnn:WARN
- -Xep:FormatString:WARN
- -Xep:LongLiteralLowerCaseSuffix:WARN
- -Xep:MethodCanBeStatic:WARN
- -Xep:MixedArrayDimensions:WARN
- -Xep:MultiVariableDeclaration:WARN
- -Xep:MultipleTopLevelClasses:WARN
- -Xep:NumericEquality:WARN
- -Xep:ParameterPackage:WARN
- -Xep:PrivateConstructorForUtilityClass:WARN
- -Xep:ThrowsUncheckedException:WARN
- -Xep:TryFailThrowable:WARN
+ to warnings so that it doesn't stop the build
+ from continuing its analysis. -->
+
+
+
+
+
+ com.google.errorprone
+ error_prone_core
+ 2.6.0
+
+
-
-
-
- com.google.errorprone
- error_prone_core
- 2.3.1
-
-
- org.codehaus.plexus
- plexus-compiler-javac-errorprone
- 2.8.3
-
-