Expand my Community achievements bar.

SOLVED

ACS commons (5.3.0)Not getting downloaded from Maven Repo

Avatar

Level 4
Hi when i am trying download acs commons 5.3.0 as a dependency i am getting this error Could not find artifact com.adobe.acs:acs-aem-commons:zip:min:5.3.0 in adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public) With Acs commons version 5.2.0 it is working fine.Wehn I am using 6.5.12 version. Anything else we need to check
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

repo.adobe.com is not available any more, please remove it from your pom.xml (if available).

 

ACS AEM Commons 5.3.2 should be available via the usual maven mirrors.

View solution in original post

11 Replies

Avatar

Level 3

Hi @Sb2512 ,

Have you added the dependency correctly in your pom file. Please add below section in your pom and try give the build. 

<!-- https://mvnrepository.com/artifact/com.adobe.acs/acs-aem-commons-bundle -->
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-bundle</artifactId>
<version>5.3.0</version>
</dependency>

Avatar

Correct answer by
Employee Advisor

repo.adobe.com is not available any more, please remove it from your pom.xml (if available).

 

ACS AEM Commons 5.3.2 should be available via the usual maven mirrors.

Avatar

Level 2

Hi,

 

We are using AEM 6.5.10 and trying to upgrade acs commons version from 4.0.0 to 5.3.0. Getting the below issue

 

Failed to collect dependencies at com.adobe.acs:acs-aem-commons-content:zip:5.3.0: Failed to read artifact descriptor for com.adobe.acs:acs-aem-common
s-content:zip:5.3.0: Could not transfer artifact com.adobe.acs:acs-aem-commons-content:pom:5.3.0 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public)

 

POM configuration

<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-content</artifactId>
<version>5.3.0</version>
<type>content-package</type>
</dependency>

 

Do we need to make any changes to Adobe repo URL? 

Avatar

Employee Advisor

These artifacts are available the public maven archives. And repo.adobe.com is down for quite some time now.

 

E.g. https://search.maven.org/artifact/com.adobe.acs/acs-aem-commons-content/5.3.0/content-package

 

(and 5.3.4 is the latest public release)

Avatar

Level 2

Hi Jorg_Hoh,

Thanks for the reply.

Since repo.adobe.com is down, do we need to download and copy acs commons zip file to .m2 folder manually? 

 

Avatar

Employee Advisor

No, maven should download it from its default repositories.

Avatar

Level 2

yes, it should download from default repo but we are getting the below issue during maven build only

 

Failed to collect dependencies at com.adobe.acs:acs-aem-commons-content:zip:5.3.0: Failed to read artifact descriptor for com.adobe.acs:acs-aem-common
s-content:zip:5.3.0: Could not transfer artifact com.adobe.acs:acs-aem-commons-content:pom:5.3.0 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public)

 

 

 

Avatar

Employee Advisor

That is weird. Have you removed all references to repo.adobe.com from your .m2/settings.xml and the pom.xml?

Avatar

Level 1

No, we didn't remove references to repo.adobe.com from .m2/settings.xml.

 

We are getting build success for the below acs commons dependency in pom 

acs commons bundle

<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-bundle</artifactId>
<version>5.3.2</version>
<scope>provided</scope>
</dependency>

---------------------

acs commons content

<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-content</artifactId>
<version>4.0.0</version>
<type>content-package</type>
</dependency>

 

but acs commons bundle not downloading.

Do we need to download and install the acs commons bundle(5.3.2) through package manager?