From 919cc6823f8f70c5b2e9cc5e35650ab1dae42a2f Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Tue, 9 Apr 2024 20:28:27 +0200 Subject: [PATCH] Use compile scope to transitively inherit acs-aem-commons-bundle This eases introducing Cloud-only API as the consumer should only depend on "acs-aem-commons-bundle-cloud" instead of "acs-aem-commons-bundle" (when running in AEMaaCS) --- bundle-cloud/pom.xml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/bundle-cloud/pom.xml b/bundle-cloud/pom.xml index c20a1df62b..39d181b003 100644 --- a/bundle-cloud/pom.xml +++ b/bundle-cloud/pom.xml @@ -66,6 +66,26 @@ Fragment-Host: com.adobe.acs.acs-aem-commons-bundle org.apache.maven.plugins maven-jar-plugin + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-banned-dependencies + + + + + + com.adobe.acs:acs-aem-commons-bundle + + + + + + + @@ -74,7 +94,8 @@ Fragment-Host: com.adobe.acs.acs-aem-commons-bundle com.adobe.acs acs-aem-commons-bundle ${project.version} - provided + + compile