Apache Sling Repoinit FileVault Validator

Clone this repo:
  1. fc74985 SLING-12670 ignore spotless code reformatting commit in git blame by Stefan Seifert · 3 months ago master
  2. 1c2bc7e SLING-12670 apply spotless formatting by Stefan Seifert · 3 months ago
  3. 31c6702 SLING-12670 Update to parent 62 by Stefan Seifert · 3 months ago
  4. b288943 SLING-12459 - Redirect sonarcloud notifications to commits@apache.sling.org by Robert Munteanu · 7 months ago
  5. d7083df Merge branch 'master' of git@github.com:apache/sling-org-apache-sling-repoinit-filevault-validator.git by Konrad Windszus · 1 year, 7 months ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central repoinit License

Apache Sling Repo Init FileVault Validator

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.

Usage with Maven

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>