This module is part of the Apache Sling project.
It implements a FileVault validator for the Repository Initialization language used in serialized OSGi configurations. It emits validation error messages for invalid repoinit statements.
You can use this validator with the FileVault Package Maven Plugin in version 1.3.2 or higher like this (although from an API level it is compatible with 1.3.0 and FileVault Validation 3.6.0 it needs minimally FileVault validation 3.6.4 or newer due to JCRVLT-637, which is included in 1.3.2 by default).
<plugin> <groupId>org.apache.jackrabbit</groupId> <artifactId>filevault-package-maven-plugin</artifactId> <dependencies> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.repoinit.filevault.validator</artifactId> <version><latestversion></version> </dependency> <!-- use the following dependency to optionally overwrite the used repoinit parser version (default=1.9.0) --> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.repoinit.parser</artifactId> <version><version of the parser in the runtime where my config is deployed to></version> </dependency> </dependencies> </plugin>