Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-532

The validationRegex feature on archetypes should work on -B batch mode.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.1
    • None
    • Archetypes
    • None
    • all

    Description

      When i have validation regexes like

            <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>
      

      They don't get validated when running using -B batch mode. But they should.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ndipiazza_gmail Nicholas DiPiazza
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: