Apache Sling Repoinit FileVault Validator

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