Open alessiostalla opened 2 years ago
Unfortunately, the solution detailed above suffers from limitations on Java >= 16 and the default archetype plugin version, forcing users to adopt a more verbose command. See https://github.com/itemis/fluffyj-archetype#note-on-usage-with-java-16
For the time being, it's more acceptable to have a missing .gitignore than have users potentially fail to create a new project with a cryptic message and no pointers to the solution.
This is a known Maven bug. The only solution as of now seems to be to manually copy the .gitignore file with a Groovy script.
See https://issues.apache.org/jira/projects/ARCHETYPE/issues/ARCHETYPE-505?filter=allopenissues and https://github.com/itemis/fluffyj-archetype/blob/develop/src/main/resources/META-INF/archetype-post-generate.groovy