SLING-9527 - Add a proper documentation page for the Scripting Bundle Maven Plugin
diff --git a/src/main/java/org/apache/sling/scriptingbundle/maven/plugin/MetadataMojo.java b/src/main/java/org/apache/sling/scriptingbundle/maven/plugin/MetadataMojo.java
index fb71657..c9a172f 100644
--- a/src/main/java/org/apache/sling/scriptingbundle/maven/plugin/MetadataMojo.java
+++ b/src/main/java/org/apache/sling/scriptingbundle/maven/plugin/MetadataMojo.java
@@ -87,8 +87,7 @@
     /**
      * Allows defining a list of excluded files and folders or patterns to filter which files should be excluded in the analysis for
      * generating capabilities.
-     * <p>
-     * The following list provides the default excluded files and patterns:
+     * <p>The following list provides the default excluded files and patterns:
      * <dl>
      * <dt>
      *     Miscellaneous typical temporary files
@@ -169,6 +168,8 @@
      * <pre>
      *     org/apache/sling/example
      * </pre>
+     *
+     * @since 0.2.0
      */
     @Parameter(property = "scriptingbundle.searchPaths")
     private Set<String> searchPaths;
diff --git a/src/site/markdown/usage.md.vm b/src/site/markdown/usage.md.vm
index 30e0f58..2e0072a 100644
--- a/src/site/markdown/usage.md.vm
+++ b/src/site/markdown/usage.md.vm
@@ -29,6 +29,10 @@
      A `requires` file (assuming the same conventions and syntax as for the `extends` file) will generate a `Require-Capability` for each
      line based on the given `resourceType` and version range.
 
+  4. The Resource Type can have the form of a path or of a Java package name (e.g. `com.mydomain.components.image`). When the resource type
+     is defined as a package name, the resource type label will be the last subpackage (i.e. for `com.mydomain.components.image`, the
+     resource type label will be `image`).
+
 $h3 Defining scripts
 As an example, let's assume the following layout:
 ```