kwin commented on a change in pull request #9:
URL:
https://github.com/apache/sling-org-apache-sling-jcr-contentloader/pull/9#discussion_r767856575
##########
File path: src/main/java/org/apache/sling/jcr/contentloader/PathEntry.java
##########
@@ -100,6 +108,24 @@
*/
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
*/
+ private static final String MAVEN_MOUNT_DIRECTIVE = "maven:mount";
+
+ /** All directive names which are valid for header Sling-Initial-Content */
+ public Set<String> VALID_DIRECTIVES = new HashSet<>(Arrays.asList(
+ OVERWRITE_DIRECTIVE,
+ OVERWRITE_PROPERTIES_DIRECTIVE,
+ MERGE_PROPERTIES_DIRECTIVE,
+ MERGE_NODES_DIRECTIVE,
+ UNINSTALL_DIRECTIVE,
+ PATH_DIRECTIVE,
+ WORKSPACE_DIRECTIVE,
+ CHECKIN_DIRECTIVE,
+ AUTOCHECKOUT_DIRECTIVE,
+ IGNORE_CONTENT_READERS_DIRECTIVE,
+ MAVEN_MOUNT_DIRECTIVE
Review comment:
I thought this code is from you @stefanseifert :
https://github.com/apache/sling-maven-plugin/blame/d67d5c1900782c68c1bfcbdc499c02cf31224916/sling-maven-plugin/src/main/java/org/apache/sling/maven/bundlesupport/fsresource/SlingInitialContentMounter.java#L97
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]