it-at-m / it-at-m/refarch

[Maintenance] Change PMD to only report errors for production code

Open
#448 0 comments 0 reactions 0 assignees View on GitHub
Component: Tools Type: Maintenance
Dominant language
Java
Stars
7
Forks
5
Avg merge
2d 4h
Merged PRs (30d)
34

Description

### Relevant component

_No response_

### Problem description (optional)

Currently PMD throws errors in test code as well.
As test code does not require as a high quality as code in production, ershould change the behaviour of PMD
to only fail the build for errors in production code and throw warnings for problems in test code (if that is possible)

### Desired solution

Adjust the PMD configuration to only throw errors for production code and throw warnings for test code.

### Considered alternatives (optional)

Alternatively modify the rule set for test scenarios to an acceptable subset.

### Additional context (optional)

_No response_

### No duplicate

- [x] I confirm that this issue is not a duplicate

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.