ACS commons not being uninstalled and causing dependencies
Hi, I have been trying to update the ACS commons from version 5.3.4 to 6.0.0 via pom file changes.I have also gone through guide here https://adobe-consulting-services.github.io/acs-aem-commons/pages/maven.html As per the recommendation I changed the artifact ID and ACS commons version in dependency. When I build the code the acs-aem-commons-all gets installed for 6.0.0 and acs-aem-commons-content is uninstalled. But acs-aem-commons-ui-apps and acs-aem-commons-ui-content is not uninstalled automatically and dependency of those remains as the old version itself and thrown a dependency error during manual reinstall via package manager
If I completely uninstall all acs commons initially (not deleting) through package manager and then build the code the expected new version is installed on top of 5.3.4. (i.e) I can see acs commons 6.0.0 for apps and contents too. But on uninstalling ui-apps and ui- contents falls back to the previous version of 5.3.4 which indicates the older version is not completely removed.
How should I proceed if I want to update acs commons via code by completely removing older version and installing the latest version?