AEM analyser implementation | Adobe Higher Education
Skip to main content
Level 6
December 29, 2022
Besvarat

AEM analyser implementation

  • December 29, 2022
  • 1 svar
  • 1231 visningar

How to add aem analyser into my project and run it. I tried adding a plugin it won't work.

Det här ämnet har stängts för svar.
Bästa svar av Himanshu_Singhal

Addition of plugin, dependency is alright. 
Did you try to build the project and check the target folder afterwards? 
After the addition of this plugin it generates the project installable in format that gets deployed over AEMaaCS. 
Generated package would be in format <package-name>-cp2fm-converted.zip

If that's there, it seems addition of plugin successful.

1 svar

Himanshu_Singhal
Community Advisor
Community Advisor
December 29, 2022

@ronnie09 How did you try to add the analyser plugin in your project? Did you try adding to container(all) module or tried creating separate module?
Here's the official documentation and it works fine. 
https://github.com/adobe/aemanalyser-maven-plugin/blob/main/aemanalyser-maven-plugin/README.md


Ronnie09Skribent
Level 6
December 30, 2022

Added in container(all) module. I am using AEMaaCS

<plugin> <groupId>com.adobe.aem</groupId> <artifactId>aemanalyser-maven-plugin</artifactId> <executions> <execution> <id>aem-analyser</id> <goals> <goal>project-analyse</goal> </goals> </execution> </executions> </plugin>



In Main Pom I have
<plugin>
<groupId>com.adobe.aem</groupId>
<artifactId>aemanalyser-maven-plugin</artifactId>
<version>1.4.20</version>
<extensions>true</extensions>
</plugin>

Himanshu_Singhal
Community Advisor
Community Advisor
December 30, 2022

Addition of plugin, dependency is alright. 
Did you try to build the project and check the target folder afterwards? 
After the addition of this plugin it generates the project installable in format that gets deployed over AEMaaCS. 
Generated package would be in format <package-name>-cp2fm-converted.zip

If that's there, it seems addition of plugin successful.