java8-quickstart-archetype
java8-quickstart-archetype copied to clipboard
Better approach to validate parameters
Unfortunately, no way was found to validate the custom archetype properties, even having "fun" with Velocity abuse such as
#elseif ( $testLibrary.parseInt("zzz") == 0)
Failed to produce the desired result (mvn archetype:generate ending with BUILD ERROR). It would be nice for this issue to be fixed some time in the future.
Related links: http://jira.codehaus.org/browse/ARCHETYPE-308 http://stackoverflow.com/questions/15649065/validate-maven-archetype-properties