Validation
Following up on the Maven-based project validation improvements, we further enhanced the validation experience with the project-build-plugin 🎉
Project validation can now be configured more precisely by excluding specific validators and skipping the complete validation when needed. Additionally, validation output was improved with a Maven-aligned format and a final validation summary.
Audience
Value
- Cleaner validation messages that show not only the file but also the affected element where the issue originates
- Validation summary at the end of Maven project validation showing helpful information like duration and the amount of errors, warnings, and infos
- Deprecated the legacy
skipScriptValidation flag (a dedicated ivyScript validation option may be reintroduced in the future)
New skipProjectValidation flag to skip the complete project validation via CLI (mvn install -Divy.validation.skip=true) or Maven configuration (pom):
<configuration>
<skipProjectValidation>true</skipProjectValidation>
</configuration>
- New excludeValidators configuration to exclude specific validators (currently: process, dataclass, form, role, database, restclient, webserviceclient, variable, user) via CLI (
mvn install -Divy.validation.excludeValidators=role,restclient) or Maven configuration (pom):
<configuration>
<excludeValidators>
<validator>role</validator>
<validator>restclient</validator>
</excludeValidators>
</configuration>
Version
Discussion
Next steps
- Enable ivyScript-Validation in Maven project build plugin
- Integrate XHTML-Validation
- Improve performance of workspace validation
Screenshots / Code
Skip Validation or exclude validators

New Validation Format & Summary
