Fork me on GitHub

sling:validate

Full name:

org.apache.sling:sling-maven-plugin:3.0.2:validate

Description:

Validate all JSON files of a project. It only ensures they are well-formed but not that they are valid against a certain schema.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Binds by default to the lifecycle phase: process-resources.

Optional Parameters

Name Type Since Description
<jsonQuoteTick> boolean - Whether to accept quote ticks in JSON files or not.
Default value is: false.
User property is: sling.validation.jsonQuoteTick.
<skip> boolean - Whether to skip the validation.
Default value is: false.
User property is: sling.validation.skip.
<skipJson> boolean - Whether to skip the json validation. At the time, there's no difference between skip and skipJson because only JSON files will be validated by now.
Default value is: false.
User property is: sling.validation.skipJson.

Parameter Details

<jsonQuoteTick>

Whether to accept quote ticks in JSON files or not.
  • Type: boolean
  • Required: No
  • User Property: sling.validation.jsonQuoteTick
  • Default: false

<skip>

Whether to skip the validation.
  • Type: boolean
  • Required: No
  • User Property: sling.validation.skip
  • Default: false

<skipJson>

Whether to skip the json validation. At the time, there's no difference between skip and skipJson because only JSON files will be validated by now.
  • Type: boolean
  • Required: No
  • User Property: sling.validation.skipJson
  • Default: false