adobe / adobe/aem-project-archetype

Only execute aem-analyser-maven-plugin outside of Cloud Manager builds

Open Beginner friendly
#575 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
596
Forks
431
Avg merge
10d 6h
Merged PRs (30d)
1

Description

Executing the aem-analyser-maven-plugin is not useful during Cloud Manager builds, as those steps will anyhow be performed, therefore the module `analyse` (https://github.com/adobe/aem-project-archetype/blob/4b7ba9653b1ff4322f83798cc7dda3aa38dfa4fe/src/main/archetype/pom.xml#L55) should only be included in the Maven reactor in Maven profile which is active when environment variable `CM_BUILD` is not set to `true` (https://experienceleague.adobe.com/docs/experience-manager-cloud-manager/using/getting-started/create-application-project/build-environment-details.html?lang=en#environment-variables)

Contributor guide

Open the contributing guide

Research direction

Start in src/main/archetype/pom.xml at the analyse module entry and review the Maven profile configuration alongside the CM_BUILD environment-variable documentation. Done means the analyse module is included in the reactor when CM_BUILD is not true and omitted for Cloud Manager builds; verify the generated project configuration and relevant Maven build behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, cloud
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.