Aemanalyser Maven Plugin banner
adobe adobe

Aemanalyser Maven Plugin

Development community

Description

A Maven plugin used by developers who develop Java components for AEMaaCS (AEM as a Cloud Service) during their local Java builds to ensure that their components work correctly in when deployed to AEM as a Cloud Service.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

AEM Analyser Maven Plugin

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

This plugin provides an easy way to run code quality checks. It ensures that the application works correctly when deployed to the cloud. It allows to run the same checks locally as in the Cloud Manager pipeline.

This plugin requires at least Apache Maven 3.8.1 and Java version 11 or higher. Read [this section](https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/using-cloud-manager/create-application-project/build-environment-details#using-java-support) on how to change Cloud Manager's build pipeline to use Java 11.

**_NOTE:_** Please make sure to always use the latest version. Refrain from using any version below 1.6.4.

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](https://github.com/apache/sling-org-apache-sling-feature-analyser/blob/master/readme.md).

Installation

This is a plugin to Apache Maven. It can be enabled by referencing its coordinates in a `pom.xml` and enabling the extensions contained in the plugin:


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

Example:


    com.adobe.aem
    aemanalyser-maven-plugin
    1.6.18 
    true

As this plugin is available in Maven Central, no additional configuration is n