Hello Community - I have made some minor changes to Sling Dynamic Include jar and kept the custom SDI bundle under "/apps/project/install" folder and also added the below dependency. If I run a build, I could only see the SDI jar included in the install folder not the custom SDI bundle which I have added in the install folder. is there a way to only include & install my custom bundle not the actual SDI bundle? Please advise.
Embedding the JAR will download the package from the groupId with the artifactId and will install on all target AEM instance. It will not pick from the local folder.
There are 2 ways you can install the custom jar:
Either upload the custom jar to some external repo such as nexus or make it available as an external jar with different groupId and artifactId and then include those in POM under embedd section to to deply it along with build like any other external jar.
Or manually install the custom jar on all AEM instances.