apache / apache/maven-pmd-plugin

[MPMD-306] PMD and CPD goal must specify output file name when custom renderer specified as format.

Open
#275 0 comments 0 reactions 0 assignees View on GitHub
bug priority:minor
Dominant language
Java
Stars
66
Forks
55
Avg merge
8d 16h
Merged PRs (30d)
7

Description

**[Linus Fernandes](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=fernal73)** opened **[MPMD-306](https://issues.apache.org/jira/browse/MPMD-306?redirect=false)** and commented

https://maven.apache.org/plugins/maven-pmd-plugin/cpd-mojo.html#format

The format configuration option allows the user to specify a custom renderer.

This outputs a file with the name of the custom renderer which is FQCN.

The configuration must have an additional parameter that specifies an output file name.

---

**Affects:** 3.13.0

**Issue Links:**
- [MPMD-223](https://issues.apache.org/jira/browse/MPMD-223) Enable specifying file into which report is written

- [MPMD-314](https://issues.apache.org/jira/browse/MPMD-314) PMD report extension not set correctly for custom report class

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the PMD and CPD goal configuration documented under the cpd-mojo format option, then review the related MPMD-223 and MPMD-314 issues for existing output-file and extension behavior. Done means a custom renderer can be configured with an explicit output file name instead of producing a file named after its fully qualified class name.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.