Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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
PavanKu2_0-1738562381662.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

4 Replies

Avatar

Administrator

@MukeshYadav_@Kamal_Kishor@A_H_M_Imrul@BhavaniBharani@Jangra98@anasustic@chavad@SaumyaJa@Tom_Fought@bagwanpankaj

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



Kautuk Sahni

Avatar

Level 2

@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.

Avatar

Correct answer by
Community Advisor

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

Avatar

Administrator

@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