Failed to read artifact descriptor for content-package-maven-plugin | Community
Skip to main content
Level 2
February 3, 2025
Solved

Failed to read artifact descriptor for content-package-maven-plugin

  • February 3, 2025
  • 4 replies
  • 1285 views

Hi Team,

     When we are trying to run the sonar-qube on the AEM project then we are getting the following error:

Can anyone please help us:
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.0.24 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:0.0.24
@
[ERROR] Unknown packaging: content-package @ line 15, column 16
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.0.24 or one of its dependencies could not be resolved:
Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:0.0.24
@
[ERROR] Unknown packaging: content-package @ line 15, column 13

 

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 aanchal-sikka

Hello @pavanku2 

 

We have recently integrated with Sonarqube via Github Actions

Our dependency looks like:

<plugin> <groupId>com.day.jcr.vault</groupId> <artifactId>content-package-maven-plugin</artifactId> <version>1.0.2</version> <configuration> <targetURL>http://${aem.host}:${aem.port}/crx/packmgr/service.jsp</targetURL> <failOnError>true</failOnError> <userId>${vault.user}</userId> <password>${vault.password}</password> </configuration> </plugin>

4 replies

kautuk_sahni
Community Manager
Community Manager
February 3, 2025

@mukeshyadav_@kamal_kishor@a_h_m_imrul@bhavanibharani@jangra98@anasustic@chavad@saumya@tom_fought@bagwanpankaj

Kindly take a moment to review this question and share your valuable insights. Your expertise would be greatly appreciated!

Kautuk Sahni
saumyaj49332255
Level 2
February 3, 2025

@pavanku2 Did you try with new version such as 1.0.2 or 1.1.2 ? I have 1.0.2 and it works fine.

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
February 3, 2025

Hello @pavanku2 

 

We have recently integrated with Sonarqube via Github Actions

Our dependency looks like:

<plugin> <groupId>com.day.jcr.vault</groupId> <artifactId>content-package-maven-plugin</artifactId> <version>1.0.2</version> <configuration> <targetURL>http://${aem.host}:${aem.port}/crx/packmgr/service.jsp</targetURL> <failOnError>true</failOnError> <userId>${vault.user}</userId> <password>${vault.password}</password> </configuration> </plugin>
Aanchal Sikka
kautuk_sahni
Community Manager
Community Manager
February 10, 2025

@pavanku2 Did you find the suggestions helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!

Kautuk Sahni