Apache Sling Repoinit FileVault Validator

Clone this repo:
  1. b288943 SLING-12459 - Redirect sonarcloud notifications to commits@apache.sling.org by Robert Munteanu · 5 weeks ago master
  2. d7083df Merge branch 'master' of git@github.com:apache/sling-org-apache-sling-repoinit-filevault-validator.git by Konrad Windszus · 1 year, 2 months ago
  3. 060ddf9 Add .asf.yaml by Konrad Windszus · 1 year, 2 months ago
  4. a39c3e0 SLING-12094 - Use GitHub for the Maven scm.url value by Robert Munteanu · 1 year, 2 months ago
  5. dcc9ea3 Fix version by Konrad Windszus · 1 year, 8 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>