Delete a file from a project generated through a custom maven archetype if a condition is met
With the help of Groovy, we can delete a file from a generated project if it meets a condition (for instance if a maven property equals a certain value). Here is the procedure : 1) Create the archetype. To do that, type the following command from the root of a Maven project : mvn archetype:create-from-project … Read more