The Apache Sling Scripting Bundle Maven Plugin provides support for generating OSGi bundles that provide embedded or precompiled scripts to perform server-side rendering in an Apache Sling application. When executed, the plugin will define two project properties (org.apache.sling.scriptingbundle.maven.plugin.Require-Capability
and org.apache.sling.scriptingbundle.maven.plugin.Provide-Capability
) which can be used to populate the corresponding bundle headers.
For more details head over to the documentation page from https://sling.apache.org/components/scriptingbundle-maven-plugin/.