From e2b64476bf5894d22316880adcacf15b6fa038e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Sat, 11 May 2024 19:01:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E8=B0=83=E6=95=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../easyj/maven/plugin/mojo/file/FileGenerateMojo.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/easyj-maven-plugin/src/main/java/icu/easyj/maven/plugin/mojo/file/FileGenerateMojo.java b/easyj-maven-plugin/src/main/java/icu/easyj/maven/plugin/mojo/file/FileGenerateMojo.java index 368ad80..23150dd 100644 --- a/easyj-maven-plugin/src/main/java/icu/easyj/maven/plugin/mojo/file/FileGenerateMojo.java +++ b/easyj-maven-plugin/src/main/java/icu/easyj/maven/plugin/mojo/file/FileGenerateMojo.java @@ -108,12 +108,12 @@ public void execute() throws MojoExecutionException { getLog().info("File-Generate has been skipped, because module name '" + project.getArtifactId() + "' not matched '" + moduleNamePattern + "'."); return; } + } - // 判断排除项 - if (StringUtils.isNotEmpty(excludeModules) && (',' + excludeModules.replaceAll("\\s+", "") + ',').contains(',' + project.getArtifactId() + ',')) { - getLog().info("File-Generate has been skipped, because exclude, the exclude-modules is '" + excludeModules + "'."); - return; - } + // 判断排除项 + if (StringUtils.isNotEmpty(excludeModules) && (',' + excludeModules.replaceAll("\\s+", "") + ',').contains(',' + project.getArtifactId() + ',')) { + getLog().info("File-Generate has been skipped, because exclude, the exclude-modules is '" + excludeModules + "'."); + return; }