diff --git a/pom.xml b/pom.xml
index 1d8d744..fdcfbfc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,32 +66,67 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.11.0
+ 3.14.1
${maven.compiler.source}
${maven.compiler.target}
+
+
+ org.codehaus.mojo
+ versions-maven-plugin
+ 2.21.0
+
+ file://${project.basedir}/version-rules.xml
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+ 3.6.2
+
+
+ enforce-plugin-versions
+
+ enforce
+
+
+
+
+ [11,)
+
+
+ 3.9.6
+
+
+
+
+
+
+
org.apache.maven.plugins
maven-surefire-plugin
- 3.2.2
+ 3.5.4
org.apache.maven.plugins
maven-jar-plugin
- 3.3.0
+ 3.5.0
org.apache.maven.plugins
maven-source-plugin
- 3.3.0
+ 3.4.0
attach-sources
@@ -106,7 +141,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 3.6.2
+ 3.12.0
attach-javadocs
diff --git a/version-rules.xml b/version-rules.xml
new file mode 100644
index 0000000..0a74b92
--- /dev/null
+++ b/version-rules.xml
@@ -0,0 +1,8 @@
+
+
+ (?i).*[-_.](alpha|beta|b|dev|rc|m|ea|snapshot)([-_.]?\d+)?
+
+
\ No newline at end of file