Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Unresolveable build extension: Plugin com.adobe.aem:aemanalyser-maven-plugin

Avatar

Community Advisor

Hi,

I am facing this aemanalyser-maven-plugin issue while code deployment. I tried updating with the latest one but still the same issue is coming. The same code is deployed successfully for the rest of the team members. I already checked the dependencies but no luck

 

[INFO] Scanning for projects...
Downloading from central: https://repo1.maven.org/maven2/com/adobe/aem/aemanalyser-maven-plugin/1.4.6/aemanalyser-maven-plugin-1.4.6.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin com.adobe.aem:aemanalyser-maven-plugin:1.4.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.adobe.aem:aemanalyser-maven-plugin:jar:1.4.6 @ 
[ERROR] Unknown packaging: content-package @ line 37, column 16
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   

[ERROR]     Unresolveable build extension: Plugin com.adobe.aem:aemanalyser-maven-plugin:1.4.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.adobe.aem:aemanalyser-maven-plugin:jar:1.4.6: Could not transfer artifact com.adobe.aem:aemanalyser-maven-plugin:pom:1.4.6 from/to central (https://repo1.maven.org/maven2): transfer failed for https://repo1.maven.org/maven2/com/adobe/aem/aemanalyser-maven-plugin/1.4.6/aemanalyser-maven-plugin-1.4.6.pom: Unknown host repo1.maven.org: nodename nor servname provided, or not known -> [Help 2]
[ERROR]     Unknown packaging: content-package @ line 37, column 16
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Try to download the plugin manually from https://repo1.maven.org/maven2/ 

and add it in your local repo .

 

Himanshu Jain

View solution in original post

2 Replies

Avatar

Community Advisor

Hi,

Could you please re-run in debug mode, This will give you the more clue about the problem 

Re-run Maven using the -X switch to enable full debug logging.

 

 



Arun Patidar

Avatar

Correct answer by
Community Advisor

Try to download the plugin manually from https://repo1.maven.org/maven2/ 

and add it in your local repo .

 

Himanshu Jain