Regarding page publishing | Community
Skip to main content
akshatn
Employee
Oct 10, 2022 12:13 PM UTC
Solved

Regarding page publishing

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.
Saravanan_Dharmaraj
Saravanan_DharmarajAccepted solution
New Participant
Oct 10, 2022 12:44 PM UTC

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

manjunathdj
New Participant
Oct 11, 2022 1:33 PM UTC

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

Translate
Saravanan_Dharmaraj
Saravanan_DharmarajAccepted solution
New Participant
Oct 10, 2022 12:44 PM UTC

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/

 

Translate