adobe / adobe/aemanalyser-maven-plugin

Artifact-rules: Incorrect warning emitted for ACS AEM Commons

Open
#285 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
30
Forks
25
Avg merge
1d 10h
Merged PRs (30d)
2

Description

With ACS AEM Commons 6.4.0 being embedded in a container content package and being checked with `aemanalyser:1.6.4:project-analyse` the following incorrect warning is emitted:

```
[INFO] Using detected SDK Version for analysis: com.adobe.aem:aem-sdk-api:2024.7.17258.20240726T172406Z-240700
..
[WARNING] [artifact-rules] com.adobe.acs:acs-aem-commons-bundle:6.4.0: Use at least version 5.0.10 for ACS AEM Commons (my-group/common-3rd-party-container:1.0.0-SNAPSHOT|adobe/consulting:acs-aem-commons-all:6.4.0)
```

Obviously the version comparison is done incorrectly against the used package version of ACS AEM Commons.

Contributor guide

Open the contributing guide

Research direction

Reproduce the warning with aemanalyser:1.6.4:project-analyse using ACS AEM Commons 6.4.0 embedded in a container content package. Start with the artifact-rules analysis and trace how the ACS AEM Commons version is selected for comparison; done means the incorrect minimum-version warning is no longer emitted for version 6.4.0.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.