Skip to content

Commit

Permalink
Switch to acs-aem-commons-all artifact for ACS AEM Commons deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed May 12, 2023
1 parent efd335a commit 3bac2a3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 53 deletions.
3 changes: 3 additions & 0 deletions changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
<action type="update" dev="sseifert">
Add Sling Model Exporter definition for CustomCarousel sample component.
</action>
<action type="update" dev="sseifert">
Switch to acs-aem-commons-all artifact for ACS AEM Commons deployment.
</action>
<action type="update" dev="sseifert">
Update dependencies.
</action>
Expand Down
15 changes: 1 addition & 14 deletions src/main/resources/archetype-resources/config-definition/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,9 @@
#end
#if( $optionAcsCommons == "y" )
<!-- ACS AEM Commons -->
#if ( $optionAemVersion == "cloud" )
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-bundle</artifactId>
<scope>compile</scope>
</dependency>
#end
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-ui.apps</artifactId>
<type>zip</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-ui.content</artifactId>
<artifactId>acs-aem-commons-all</artifactId>
<type>zip</type>
<scope>compile</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,8 @@ files:
#end
#if( $optionAcsCommons == "y" )
# ACS AEM Commons
#if ( $optionAemVersion == "cloud" )
- url: mvn:com.adobe.acs/acs-aem-commons-bundle
dir: bundles
#end
- url: mvn:com.adobe.acs/acs-aem-commons-ui.apps//zip
- url: mvn:com.adobe.acs/acs-aem-commons-all//zip
dir: packages
postProcessorOptions:
contentPackage.packageType: application
- url: mvn:com.adobe.acs/acs-aem-commons-ui.content//zip
dir: packages
postProcessorOptions:
contentPackage.packageType: content

#end
# AEM OSGi System Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,6 @@
</dependency>
#end

#if ( $optionAcsCommons == "y" && $optionAemVersion != "cloud" )
<!-- ACS AEM Commons -->
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-bundle</artifactId>
<scope>compile</scope>
</dependency>

#end
</dependencies>

<build>
Expand Down Expand Up @@ -170,18 +161,6 @@
<type>jar</type>
</embedded>
#end
#end
#if( $optionAcsCommons == "y" && $optionAemVersion != "cloud" )
<!-- ACS AEM Commons -->
<embedded>
<groupId>
com.adobe.acs
</groupId>
<artifactId>
acs-aem-commons-bundle
</artifactId>
<type>jar</type>
</embedded>
#end
</embeddeds>

Expand Down
8 changes: 1 addition & 7 deletions src/main/resources/archetype-resources/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -342,13 +342,7 @@
</dependency>
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-ui.apps</artifactId>
<version>${acs.aem.commons.version}</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-ui.content</artifactId>
<artifactId>acs-aem-commons-all</artifactId>
<version>${acs.aem.commons.version}</version>
<type>zip</type>
</dependency>
Expand Down

0 comments on commit 3bac2a3

Please sign in to comment.