The post is just an approach to change metadata (e.g maxlength, required, etc) of JSF components (e.g. inputText, selectOneMenue, etc) by Drools.
Project structure
Tools being used
- Java version 1.8.0_131
- Apache Maven 3.5.0
- Apache Tomcat 8.0.16
Don't forget to configure your confidential information on these following files: pom.xml, settings.xml (Maven) and tomcat-users.xml (Tomcat).
For example: