Mudanças entre as edições de "Preserving ACLs by in order to use the templates on a publish environment"

De Basef
Ir para: navegação, pesquisa
Linha 1: Linha 1:
 
To use use Editable Templates it is necessary to preserve ACLs (Access Control Lists) in order to use the templates on a publish environment. Make the following updates to the ui.apps pom.xml file:
 
To use use Editable Templates it is necessary to preserve ACLs (Access Control Lists) in order to use the templates on a publish environment. Make the following updates to the ui.apps pom.xml file:
  
<source lang="html">
+
<source lang="xml">
 
<plugin>
 
<plugin>
 
     <groupId>com.day.jcr.vault</groupId>
 
     <groupId>com.day.jcr.vault</groupId>
Linha 9: Linha 9:
 
         <group>aem-guides/wknd</group>
 
         <group>aem-guides/wknd</group>
 
         <filterSource>src/main/content/META-INF/vault/filter.xml</filterSource>
 
         <filterSource>src/main/content/META-INF/vault/filter.xml</filterSource>
         '''<properties>
+
         <properties>
 
             <acHandling>merge_preserve</acHandling>
 
             <acHandling>merge_preserve</acHandling>
         </properties>'''
+
         </properties>
 
         <embeddeds>
 
         <embeddeds>
 
             <embedded>
 
             <embedded>
Linha 23: Linha 23:
 
</plugin>
 
</plugin>
 
</source>
 
</source>
 +
 +
Note the `properties` and `acHandling` tags.
  
 
[[Category: Adobe AEM]]
 
[[Category: Adobe AEM]]

Edição das 20h13min de 2 de abril de 2018

To use use Editable Templates it is necessary to preserve ACLs (Access Control Lists) in order to use the templates on a publish environment. Make the following updates to the ui.apps pom.xml file:

<plugin>
    <groupId>com.day.jcr.vault</groupId>
    <artifactId>content-package-maven-plugin</artifactId>
    <extensions>true</extensions>
    <configuration>
        <group>aem-guides/wknd</group>
        <filterSource>src/main/content/META-INF/vault/filter.xml</filterSource>
        <properties>
             <acHandling>merge_preserve</acHandling>
        </properties>
        <embeddeds>
            <embedded>
                <groupId>com.adobe.aem.guides</groupId>
                <artifactId>wknd-sites-guide.core</artifactId>
                <target>/apps/wknd/install</target>
            </embedded>
        </embeddeds>
        <targetURL>http://${crx.host}:${crx.port}/crx/packmgr/service.jsp</targetURL>
    </configuration>
</plugin>

Note the `properties` and `acHandling` tags.