adobe / adobe/aemanalyser-maven-plugin

Incorrect repoinit statements generated for bundles embedded more than once at different paths

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

Description

When `aemanalyser-maven-plugin` processes multiple content packages that embed the same bundle containing Sling initial content, it can generate incorrect repoinit statements.

The problem appears only when the same embedded package coordinates are present more than once, but under different JCR paths in different content packages. In that scenario, one embedded package is effectively ignored during processing, which leads to incomplete or incorrect repoinit output.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the case with multiple content packages embedding the same bundle at different JCR paths, then trace how embedded package coordinates are processed and how Sling initial content becomes repoinit statements. Done means each occurrence is processed independently and the generated repoinit output is complete and correct for both paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.