How to add aem analyser into my project and run it. I tried adding a plugin it won't work.
Solved! Go to Solution.
Views
Replies
Total Likes
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.
@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
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>
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.
Views
Likes
Replies
Views
Likes
Replies