sling:generate-adapter-metadata

Full name:

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

Description:

Build Adapter Metadata from Annotated Classes

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