Regarding page publishing | Community
Skip to main content
akshatn
Adobe Employee
Adobe Employee
October 10, 2022
Solved

Regarding page publishing

  • October 10, 2022
  • 2 replies
  • 745 views

I am trying to publish the project but 

while running these commands

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

mvn -PautoInstallPackagePublish clean install

mvn -PautoInstallPackage clean install -Daem.port=4503

but i am getting error that

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

Failed to execute goal on project enablementCapstone.core: Could not resolve dependencies for project com.aem.enablement:enablementCapstone.core:jar:1.0.0-SNAPSHOT: org.apache.commons:commons-imaging:jar:1.0-R1534292 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced

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

my publish instance is in port 4503 and author instance is in port 4502

what should I do?

 
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Saravanan_Dharmaraj

The version you are looking for below dependency in your parent pom is not present in maven

 

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-imaging</artifactId>
<version>1.0-R1534292</version>
</dependency>

 

Can you replace with other versions from here and see if resolves. 

https://repo.maven.apache.org/maven2/org/apache/commons/commons-imaging/

 

2 replies

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
October 10, 2022

The version you are looking for below dependency in your parent pom is not present in maven

 

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-imaging</artifactId>
<version>1.0-R1534292</version>
</dependency>

 

Can you replace with other versions from here and see if resolves. 

https://repo.maven.apache.org/maven2/org/apache/commons/commons-imaging/

 

manjunathdj
October 11, 2022

@saravanan_dharmaraj  - Can you check local Maven Repo seems jar is missing as mentioned by @saravanan_dharmaraj