maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas DiPiazza (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARCHETYPE-532) The validationRegex feature on archetypes should work on -B batch mode.
Date Thu, 28 Sep 2017 14:03:00 GMT
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)

Mime
View raw message