You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nicholas DiPiazza (JIRA)" <ji...@apache.org> on 2017/09/28 14:03:00 UTC
[jira] [Created] (ARCHETYPE-532) The validationRegex feature on
archetypes should work on -B batch mode.
Nicholas DiPiazza created ARCHETYPE-532:
-------------------------------------------
Summary: The validationRegex feature on archetypes should work on -B batch mode.
Key: ARCHETYPE-532
URL: https://issues.apache.org/jira/browse/ARCHETYPE-532
Project: Maven Archetype
Issue Type: Improvement
Components: Archetypes
Affects Versions: 3.0.1
Environment: all
Reporter: Nicholas DiPiazza
When i have validation regexes like
{code}
<requiredProperties>
<requiredProperty key="pluginPackage">
<validationRegex><![CDATA[^[a-z][a-z0-9_]*(\.[a-z0-9_]+)+[0-9a-z_]$]]></validationRegex>
</requiredProperty>
<requiredProperty key="pluginId">
<validationRegex><![CDATA[^[a-zA-Z0-9-]+$]]></validationRegex>
</requiredProperty>
<requiredProperty key="pluginName">
<validationRegex><![CDATA[^([a-zA-Z_$][a-zA-Z\d_$]*\.)*[a-zA-Z_$][a-zA-Z\d_$]*$]]></validationRegex>
</requiredProperty>
<requiredProperty key="pluginProvider">
</requiredProperty>
<requiredProperty key="pluginZipFileName">
<validationRegex><![CDATA[^[^*&%\s]+$]]></validationRegex>
</requiredProperty>
<requiredProperty key="pluginVersion">
<validationRegex><![CDATA[^[0-9]+\.[0-9]+\.[0-9]+$]]></validationRegex>
</requiredProperty>
</requiredProperties>
{code}
They don't get validated when running using -B batch mode. But they should.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)