Skip to content

Better approach to validate parameters #4

@mikolak-net

Description

@mikolak-net

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions