Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
448 stars 596 forks source link

Couldn't install acs-aem-commons-6.6.0/6.5.0 #3358

Open jerinraj5555 opened 1 month ago

jerinraj5555 commented 1 month ago

Required Information

I can't install the acs-aem-commons-6.6.0 package in the AEM Dev instance (SP 21) manually or using the curl command. I'm getting a dependency missing error: day/cq60/product:cq-content:6.6'

Error: Refusing to install package adobe/consulting:acs-aem-commons-ui.apps:6.5.0. required dependencies missing: [day/cq60/product:cq-content:6.6]

image

Steps to Reproduce

  1. Set up an AEM instance from scratch
  2. Install Service Pack 21
  3. Install acs-aem-commons-6.6.0 or 6.5.0
kwin commented 3 weeks ago

It seems you used the cloud variant (with classifier cloud) for AEM 6.5. Please use the artifact without classifier for AEM 6.5.x

jerinraj5555 commented 3 weeks ago

Hi @kwin , We aren't using a classifier for AEM 6.5.21 because it's an on-premises instance. Please find our dependency declaration in the pom.xml.

  ```
 <dependency>
            <groupId>com.adobe.acs</groupId>
            <artifactId>acs-aem-commons-bundle</artifactId>
            <version>${acs.commons.version}</version>
            <scope>provided</scope>
        </dependency>

         `   <dependency>
                <groupId>com.adobe.acs</groupId>
                <artifactId>acs-aem-commons-all</artifactId>
                <version>${acs.commons.version}</version>
                <type>zip</type>
            </dependency>`
davidjgonzalez commented 1 week ago

I just tried installing the 6.6.2 NON-CLOUD all package, and it looks fine. This should be the same as the 6.6.0 NON-CLOUD app package. The screenshot below is on 6.5 SP 21.

Are you sure you arent uploading manually, or via some other means? Can you try 6.6.2 (not that anything changed in this regard on 6.6.0).

2024-06-25 at 1 03 PM