adobe / adobe/aem-project-archetype

mvn sonar task is not including code in UI frontend submodule

Open
#1,217 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
596
Forks
431
Avg merge
10d 6h
Merged PRs (30d)
1

Description

mvn sonar:sonar task is not including code files in UI.frontend submodule

### Expected Behaviour
UI frontend code is included as well

### Actual Behaviour
UI Frontend code is not included

### Reproduce Scenario (including but not limited to)

#### Steps to Reproduce
mvn clean verify sonar:sonar -Dsonar.host.url= -Dsonar.login=$SONAR_TOKEN -Dsonar.projectKey=Test

#### Platform and Version
Mac OS

#### Sample Code that illustrates the problem

#### Logs taken while reproducing problem

Only pom file is scanned by sonarqube:

![grafik](https://github.com/user-attachments/assets/f7c86b6b-f65b-488d-8eae-aa7ab080f669)

Contributor guide

Open the contributing guide

Research direction

Start by running `mvn clean verify sonar:sonar` with the provided Sonar parameters and inspect the Maven module configuration for `UI.frontend`. Compare the Sonar result with the project structure and determine why only the pom file is scanned. Done means the UI frontend code files appear in the SonarQube analysis.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, tooling
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.