What is the best way to install the Dynamic Sling Include, Apache Bundle in AEM?
Code Deployment?
Manual Upload (by logging into System/Console).
What is the best practice?
Solved! Go to Solution.
Views
Replies
Total Likes
The best way to install the dynamic sling include bundle is to embed the bundle into your. I have already replied to your last post, but here's instructions on how to do it again:
You can do this easily (after building and deploying code into your AEM local, you should be able to find the jar file existing under /apps/my-site/install:
1. Include the SDI as a dependency in the ui.apps pom.xml
<!-- Sling dynamic include -->
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.dynamic-include</artifactId>
</dependency>
2. Embed the SDI as a package for deployment in ui.apps pom.xml
<embedded>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.dynamic-include</artifactId>
<target>/apps/my-site/install</target>
</embedded>
3. Include the SDI as a dependency in the parent pom.xml
<!-- Sling dynamic include --> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.dynamic-include</artifactId> <version>3.1.2</version> </dependency>
The best way to install the dynamic sling include bundle is to embed the bundle into your. I have already replied to your last post, but here's instructions on how to do it again:
You can do this easily (after building and deploying code into your AEM local, you should be able to find the jar file existing under /apps/my-site/install:
1. Include the SDI as a dependency in the ui.apps pom.xml
<!-- Sling dynamic include -->
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.dynamic-include</artifactId>
</dependency>
2. Embed the SDI as a package for deployment in ui.apps pom.xml
<embedded>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.dynamic-include</artifactId>
<target>/apps/my-site/install</target>
</embedded>
3. Include the SDI as a dependency in the parent pom.xml
<!-- Sling dynamic include --> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.dynamic-include</artifactId> <version>3.1.2</version> </dependency>