You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2021/12/13 15:31:22 UTC

[sling-org-apache-sling-jcr-contentloader] branch feature/SLING-10992-update-javadocs created (now f1cc82b)

This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a change to branch feature/SLING-10992-update-javadocs
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-contentloader.git.


      at f1cc82b  SLING-10992 update javadocs for "maven:mount" directive

This branch includes the following new commits:

     new f1cc82b  SLING-10992 update javadocs for "maven:mount" directive

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[sling-org-apache-sling-jcr-contentloader] 01/01: SLING-10992 update javadocs for "maven:mount" directive

Posted by ss...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a commit to branch feature/SLING-10992-update-javadocs
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-contentloader.git

commit f1cc82bfa9642b3c68c77c47cab51a3b78386500
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Mon Dec 13 16:31:00 2021 +0100

    SLING-10992 update javadocs for "maven:mount" directive
---
 src/main/java/org/apache/sling/jcr/contentloader/PathEntry.java | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/jcr/contentloader/PathEntry.java b/src/main/java/org/apache/sling/jcr/contentloader/PathEntry.java
index 753763c..37ee9e6 100644
--- a/src/main/java/org/apache/sling/jcr/contentloader/PathEntry.java
+++ b/src/main/java/org/apache/sling/jcr/contentloader/PathEntry.java
@@ -108,7 +108,12 @@ public class PathEntry extends ImportOptions {
      */
     public static final String IGNORE_CONTENT_READERS_DIRECTIVE = "ignoreImportProviders";
 
-    /** Used in https://github.com/apache/sling-maven-plugin/blob/d67d5c1900782c68c1bfcbdc499c02cf31224916/sling-maven-plugin/src/main/java/org/apache/sling/maven/bundlesupport/fsresource/SlingInitialContentMounter.java#L97 */
+    /**
+     * The flag "maven:mount" is not actually used by the JCR Content Loader. It can be used
+     * to signal to the "mount" goal of the sling-maven-plugin to ignore a certain Sling-Initial-Content entry
+     * of a Maven project when "sling:mount" is executed on the command line.
+     * Reference: https://github.com/apache/sling-maven-plugin/blob/d67d5c1900782c68c1bfcbdc499c02cf31224916/sling-maven-plugin/src/main/java/org/apache/sling/maven/bundlesupport/fsresource/SlingInitialContentMounter.java#L97
+     */
     private static final String MAVEN_MOUNT_DIRECTIVE = "maven:mount";
 
     /** All directive names which are valid for header Sling-Initial-Content */