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>