/apps/<project>/install/<core package> not updating



Hi Folks,

I have install folder in apps/project/install and it has core Jar file. But when I do mvn clean install -PautoInstallPackage then core jar is not updating. It's only working at the first build.

Also when I replicating ui.apps then I can see install folder and bundle in system/console(in active state) but pages is not fetching bundle classes. Getting Below error

org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.scripting.sightly.SightlyException: Compilation errors in org/apache/sling/scripting/sightly/apps/myproj/components/content/categoryButtons/


So I have again need to deploy in publish instance via cmd 

mvn -PautoInstallPackage clean install -Daem.port=4503


My requirement is - when I am replicating ui.apps then core-bundle also needs to go in publish so that I have not to use next command for publisher specifically.


Find my pom.xml(project level) https://github.com/NDSoftwareSolutions/AEM/blob/master/pom.xml


AEM bundle core
View Entire Topic