Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1926 Adding more commands to Forge and improve existing ones
  3. FORGE-1852

Parameter --beanValidationVersion missing in constraint-setup

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.x Future
    • 2.6.0.Final
    • Java EE
    • None

      Most setup commands have a version parameter to choose which version you want to use :

      cdi-setup --cdiVersion 
      ejb-setup --ejbVersion 
      faces-setup --facesVersion
      jms-setup --jmsVersion
      jpa-setup --jpaVersion
      rest-setup --jaxrsVersion
      websocket-setup --webSocketVersion 
      

      At the moment, the only Java EE component that misses this parameter is Bean Validation. The constraint-setup command has the following parameters :

      [test]$ constraint-setup   TAB
      --providers  --providedScope  
      

      A parameter beanValidationVersion parameter should be added. The values would be 1.0 or 1.1. That will have an impact on the XSD of the generated validation.xml file and the dependencies in the pom.xml

            Unassigned Unassigned
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: