Closed sandeepkumar03 closed 7 years ago
@sandeepkumar03 hey, not sure if it is related, but I'm not able to deploy a new core bundle at all. Is like no uninstallation is happening at all.
Whenever I run mvn clean install -PautoInstallPackage on my project the core bundle jar will not have any changes. I have to jump into CRXDE and manually delete the jar
I tried changing the filter.xml as you suggested but no results
I think bundle not getting installed at all would be a different issue. Just check if the build is created properly. Do you bundle inside see apps/
Also there is a bug in Sling where the OSGi bundle is not installed due to "/system/sling/installer/jcr/pauseInstallation" node.
See if this node is there in your AEM instance. Try deleting the node and see if bundle gets installed.
There is hot fix for this issue which you can get from Adobe Day Care.
I also think that the filter rule in https://github.com/Adobe-Marketing-Cloud/aem-project-archetype/blob/master/src/main/archetype/ui.apps/src/main/content/META-INF/vault/filter.xml#L4 should be adjusted to not exclude anything. Otherwise bundle deployment might not work as expected.
When we are overwriting a new package with new version, on un-installation the OSGi bundle is not getting removed from web console. Following are the steps to reproduce.
Also refer issue raised on AEM Plugin Page. This has some analysis done on this issue.
From the archetypes list
Following works fine
While following does not
The
aem-project-archetype
generates extra exclude patternThis exclude pattern is not present in the
multimodule-content-package-archetype
Did few tests, after we remove this from filter, the
aem-project-archetype
works fine, not sure if there would be any side-effects due to this.