Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Could not find artifact org.apache.commons:commons-imaging:jar:1.0-R1534292

Avatar

Level 5

Hi All, when I am trying to build the ALM project with autoInstallPackage parameter then maven build is getting failed and I am seeing below dependency error. But there is no any dependency set in project POM or manifest file. And without autoInstallPackage build is getting success. Could someone help, what could be the reason for this error.

 

Could not resolve dependencies for project com.adobe.learning:aem-learning-core:jar:1.0.1: Could not find artifact org.apache.commons:commons-imaging:jar:1.0-R1534292 in central (https://repo.maven.apache.org/maven2)

 

Thank you

Rashid

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@RashidJorvee Hope below URL is helpful

And also while triggering a local build try adobe-public parameter as well

 

mvn clean -PautoInstallPackage -Padobe-public -Dskip.npm=true -Dmaven.test.skip=true install

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-blogs/wknd-tutorial-projec...

 

0 Replies

Avatar

Correct answer by
Community Advisor

@RashidJorvee Hope below URL is helpful

And also while triggering a local build try adobe-public parameter as well

 

mvn clean -PautoInstallPackage -Padobe-public -Dskip.npm=true -Dmaven.test.skip=true install

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-blogs/wknd-tutorial-projec...

 

Avatar

Community Advisor

try updating correct dependency version or use adobe repo to download

 

<dependency>
              <groupId>io.wcm.maven</groupId>
              <artifactId>io.wcm.maven.aem-cloud-dependencies</artifactId>
              <version>2021.3.5087.20210322T071003Z-210225.0000</version>
              <type>pom</type>
              <scope>import</scope>
            </dependency>