Full name:

io.wcm.maven.plugins:sling-initial-content-json-strip-comments-maven-plugin:1.0.1-SNAPSHOT:json-strip-comments

Description:

Removes all comments from JSON file resources.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: process-resources.

Required Parameters

Name Type Since Description
<resources> File - Directory containing the JSON files to process. By default, it is set to the "classes/SLING-INF" directory of the build output, which is a common location for initial content in Sling projects. You can customize this path if your JSON files are located elsewhere.
Default: ${project.build.directory}/classes/SLING-INF

Optional Parameters

Name Type Since Description
<skip> boolean - Allows to skip the plugin execution.
Default: false
User Property: slinginitialcontenttransform.skip

Parameter Details

<resources>

Directory containing the JSON files to process. By default, it is set to the "classes/SLING-INF" directory of the build output, which is a common location for initial content in Sling projects. You can customize this path if your JSON files are located elsewhere.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/classes/SLING-INF

<skip>

Allows to skip the plugin execution.
  • Type: boolean
  • Required: No
  • User Property: slinginitialcontenttransform.skip
  • Default: false

Back to top

Version: 1.0.1-SNAPSHOT. Last Published: 2026-02-23.