apache / apache/maven-changes-plugin

[MCHANGES-467] FeedGenerator.export does not know encoding

Open
#390 2 comments 0 reactions 0 assignees View on GitHub
bug priority:minor
Dominant language
Java
Stars
15
Forks
22
Avg merge
8h 1m
Merged PRs (30d)
3

Description

**[Elliotte Rusty Harold](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=elharo)** opened **[MCHANGES-467](https://issues.apache.org/jira/browse/MCHANGES-467?redirect=false)** and commented

The use of a writer instead of an output stream in FeedGenerator,.export means that we don't know the encoding and can't set it in the feed, which we should.

Deprecate this method and replace it with one that takes an OutputStream and sets the encoding to an explicit UTF-8 which in 2025 is the only one we should use anyway.

---

**Remote Links:**
- [GitHub Pull Request #118
](https://github.com/apache/maven-changes-plugin/pull/118)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at FeedGenerator.export and review the existing writer-based API and the proposed OutputStream replacement. Check GitHub Pull Request #118 for the work already associated with this issue. Done means the old method is deprecated, the replacement accepts an OutputStream, and the feed declares explicit UTF-8 encoding.

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
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.