sling:validate

Full name:

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

Description:

The validate goal checks the JSON code of a bundle.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: process-resources.

Required Parameters

Name Type Since Description
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.

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.

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: Yes
  • 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: Yes
  • User Property: sling.validation.skipJson
  • Default: false