java8-quickstart-archetype icon indicating copy to clipboard operation
java8-quickstart-archetype copied to clipboard

Better approach to validate parameters

Open mikolak-net opened this issue 11 years ago • 0 comments

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

mikolak-net avatar Jul 15 '14 22:07 mikolak-net