diff --git a/pom.xml b/pom.xml
index 7b03442..cf66caa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -174,7 +174,7 @@
skip.when.is.release.used
${project.version}
- ^((?!.*-SNAPSHOT).)*$
+ ^((?!-SNAPSHOT).)*$
true
false
@@ -329,7 +329,7 @@
skip.when.is.snapshot.used
${project.version}
- ^((?!.*-SNAPSHOT).)*$
+ .*-SNAPSHOT$
true
true
@@ -438,7 +438,7 @@
skip.when.is.snapshot.used
${project.version}
- ^((?!.*-SNAPSHOT).)*$
+ .*-SNAPSHOT$
true
true