Commit 7f0508b4 authored by liaozan's avatar liaozan 🏀

Update subModule name prefix logic

parent 25c1481a
......@@ -48,7 +48,7 @@ public class ArchetypeGenerateParam {
public String getSubModuleNamePrefix() {
if (!StringUtils.hasText(this.subModuleNamePrefix)) {
if (this.artifactId.contains(DELIMITER)) {
this.subModuleNamePrefix = this.artifactId.split(DELIMITER)[1];
this.subModuleNamePrefix = this.artifactId.split(DELIMITER, 2)[1];
} else {
this.subModuleNamePrefix = this.artifactId;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment