Support mounting FsResourceProviders while avoiding loading content to JCR
--------------------------------------------------------------------------

                 Key: SLING-1271
                 URL: https://issues.apache.org/jira/browse/SLING-1271
             Project: Sling
          Issue Type: New Feature
          Components: Maven Plugins
    Affects Versions: Maven Sling Plugin 2.0.4
            Reporter: Vidar S. Ramdal
            Assignee: Vidar S. Ramdal
            Priority: Minor
             Fix For: Maven Sling Plugin 2.0.6


As described at [1], there mountByFS [2] flag allows you to have 
FsResourceProviders set up automatically on bundle deploy. However, the Content 
Loader bundle still picks up the content and installs it to JCR, even though 
the JCR paths are overridden by FsResourceProviders.

There are cases where you'd want to only configure FsResourceProviders, without 
having the content installed to JCR.

So, we'll introduce support for another pom.xml header, called 
Sling-Mount-File-Resources, which will let maven-sling-plugin setup the 
FsResourceProviders, avoiding the content loader.

maven-sling-plugin will then set up FsResourceProviders if:
1. A Sling-Mount-File-Resources element is present
-- OR --
2. A Sling-Initial-Content element is present, AND the mountByFS configuration 
parameter is true.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to