From 787900bb8308cbbf5667732956743bc375e66660 Mon Sep 17 00:00:00 2001 From: Cheng Fang Date: Sat, 9 Apr 2022 14:45:26 -0400 Subject: [PATCH] JBERET-548 fix automatic module name with regex (#220) (#221) Co-authored-by: Lorenzo Formenti --- pom.xml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a45e4cbd7..17d5e55bb 100644 --- a/pom.xml +++ b/pom.xml @@ -128,7 +128,6 @@ ${modular.jdk.args} - ${project.groupId}.${project.artifactId} @@ -207,6 +206,29 @@ true + + org.codehaus.mojo + build-helper-maven-plugin + + + add-regex-properties + + regex-properties + + + + + automatic.module.name + ${project.groupId}.${project.artifactId} + ([a-z]+)\.\1-|- + $1\. + false + + + + + + @@ -227,6 +249,10 @@ org.apache.maven.plugins maven-failsafe-plugin + + org.codehaus.mojo + build-helper-maven-plugin + org.apache.maven.plugins maven-compiler-plugin