How to resolve the dependency issue if we are deploying multiple archetype version of multiple project to AEM?
We have a scenario where our development server already has multiple project with specific archetype version with below structure.
project 1 ( native/standard) >> archetype -22 (assuming)
project 2 (native)>> archetype-22
. . .
so on
project 6 (native) >> archetype 22 related dependencies only.
core.wcm.component.version is 2.11.0
spa.project.core.version is Not available as these are native.
Project 7 ( SPA Editor) >> archetype 28 (assuming) related dependencies downgraded wherever possible to match with archetype 22 dependencies.
core.wcm.component.version is 2.11.0
core.wcm.component.bundle.version is 2.11.1
spa.project.core.version is 1.1.0
project 8 ( AEM Remote SPA ) >> Archetype 39 requires 2 of the dependencies to be in higher version compared to others.
core.wcm.component.version should be 2.23.4
spa.project.core.version should be 1.3.16
We would like to deploy one more project (project 8 ) with AEM remote SPA structure, but AEM remote SPA requires lot of dependencies with upgraded version which might be replaced on our server. This could lead to conflict in our older project dependencies.
Do we have any way to embed the dependencies to our peoject-8 Jar only where multiple version of a bundle will be available in the Server and not conflicting as they are embed in the project core-jar?
AEM Server : 6.5.18 on a cloud manager
Please let me know if my description is not clear, I will modify if required.