AEM analyser implementation | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Himanshu_Singhal
Himanshu_SinghalAccepted solution
New Participant
Dec 30, 2022 8:03 PM UTC

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.

3 replies

Himanshu_Singhal
New Participant
Dec 29, 2022 7:08 PM UTC

@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


Translate
Ronnie09Author
Level 6
Dec 30, 2022 6:56 AM UTC

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>

Translate
Himanshu_Singhal
Himanshu_SinghalAccepted solution
New Participant
Dec 30, 2022 8:03 PM UTC

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.

Translate