sling:generate-adapter-metadata

Full name:

org.apache.sling:maven-sling-plugin:2.3.2:generate-adapter-metadata

Description:

Build adapter metadata (JSON) for the Web Console Plugin at /system/console/status-adapters and /system/console/adapters from classes annotated with adapter annotations.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: process-classes.

Optional Parameters

Name Type Since Description
fileName String - Name of the generated descriptor file.
Default value is: SLING-INF/adapters.json.
User property is: adapter.descriptor.name.

Parameter Details

fileName:

Name of the generated descriptor file.
  • Type: java.lang.String
  • Required: No
  • User Property: adapter.descriptor.name
  • Default: SLING-INF/adapters.json