Expand my Community achievements bar.

AEM Analyser Maven Plugin | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

AEM Analyser Maven Plugin by Adobe

Abstract

A Maven plugin used by developers of applications for AEM as a Cloud Service (AEMaaCS).

The plugin provides an easy way to run the same checks locally as in the Cloud Manager pipeline and ensures that the application works correctly when deployed in the cloud.

NOTE: Please make sure to always use the latest version. Refrain from using any version below 1.1.10

Functionality
The plugin performs similar tasks as the Cloud Manager pipeline after the application is built and before it is deployed. It inspects the generated content packages and runs a set of checks (analysers) on the contents of the packages. By default it check against the latest available SDK version.

Most of the analysers are based on the Apache Sling Feature Model Analyser framework.

Installation
This is a plugin to Apache Maven. It can be enabled by referencing its coordinates in a pom.xml:


com.adobe.aem
aemanalyser-maven-plugin
... version ...

Example:


com.adobe.aem
aemanalyser-maven-plugin
1.1.12 

As this plugin is available in Maven Central, no additional configuration is needed to bring it into your Maven project.

Usage
The usage of this plugin depends on the AEM project structure. For most projects the best way to use this plugin is to add it to a Maven project producing a container package (aka all package). For example if you are using a project structure similar to the AEM Archetype then this is the all module.

Read Full Blog

AEM Analyser Maven Plugin

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
0 Replies