[MRELEASE-1044] Allow JDomModelETL to be reused
- Dominant language
- Java
- Stars
- 128
- Forks
- 145
- Avg merge
- 7h 7m
- Merged PRs (30d)
- 3
Description
**[Nick Cross](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rnc)** opened **[MRELEASE-1044](https://issues.apache.org/jira/browse/MRELEASE-1044?redirect=false)** and commented
Would it be possible to consider exposing for reuse e.g. by making them protected the fields in org.apache.maven.shared.release.transform.jdom.JDomModelETL
```java
private Document document;
private String intro = null;
private String outtro = null;
```
In my project I would like to improve the roundtrip ability of rewriting POMs and hence I am looking at reusing this code which provides a much better experience.
Ideally if those fields were protected I could subclass it and perform further actions upon the Document and the outtro strings (e.g. adding '<-- Modified by foo -->' ) etc.
Thanks.
---
No further details from [MRELEASE-1044](https://issues.apache.org/jira/browse/MRELEASE-1044?redirect=false)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with org.apache.maven.shared.release.transform.jdom.JDomModelETL and inspect the document, intro, and outtro fields named in the issue. Done means a subclass can reuse the class and access those values to perform additional actions while preserving the existing POM roundtrip behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100