mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-18 17:48:14 +08:00

Maven allows alphanumeric characters and `.`, `_` and `-` for group id and artifact id. This commit cleans the artifact id and group id if invalid characters are found. For artifact id, the invalid characters are replaced with a hyphen and for group id a dot is used. In cases where the base directory matches the artifact id, the base directory is also cleaned. See gh-924