diff --git a/pom.xml b/pom.xml
index 718a1a3e27..b702cbcd3a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -177,10 +177,9 @@
bash
- 8
- ${javac.version}
- ${javac.version}
- 3.3.9
+ 8
+
+ ${maven.compiler.release}
1.0.10
@@ -470,16 +469,6 @@
org.apache.maven.plugins
maven-enforcer-plugin
-
-
-
- [${maven.min.version},)
-
-
- [${java.min.version},)
-
-
-
de.skuzzle.enforcer
@@ -654,49 +643,6 @@
com.github.spotbugs
spotbugs-maven-plugin
-
- org.apache.maven.plugins
- maven-enforcer-plugin
- false
-
-
- clean
-
- enforce
-
- pre-clean
-
-
- default
-
- enforce
-
- validate
-
-
-
-
- [${maven.min.version},)
- Maven is out of date.
- Ratis requires at least version ${maven.min.version} of Maven to properly build from source.
- You appear to be using an older version. You can use either "mvn -version" or
- "mvn enforcer:display-info" to verify what version is active.
-
-
-
-
- [${java.min.version},)
- Java is out of date.
- Ratis requires at least version ${java.min.version} of the JDK to properly build from source.
- You appear to be using an older version. You can use either "mvn -version" or
- "mvn enforcer:display-info" to verify what version is active.
-
-
-
-
-
-
-
org.apache.felix
maven-bundle-plugin
@@ -919,13 +865,11 @@
- ${java.min.version}
+ ${maven.compiler.release}
Ratis has unsupported dependencies.
- Ratis requires that all dependencies be compiled with version ${java.min.version} or earlier
+ Ratis requires that all dependencies be compiled with version ${maven.compiler.release} or earlier
of the JDK to properly build from source. You appear to be using a newer dependency. You can use
either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
- Non-release builds can temporarily build with a newer JDK version by setting the
- 'javac.source' property (eg. mvn -Djavac.source=1.8 clean package).