[MNG-8655] Provide a SPI to parse settings using a different language
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
**[Guillaume Nodet](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gnt)** opened **[MNG-8655](https://issues.apache.org/jira/browse/MNG-8655?redirect=false)** and commented
Rewriting the whole SettingsBuilder may be a bit too much, so maybe a `SettingsParser` SPI similar to `ModelParser` would be handy to support extensions.
See https://github.com/microbean/microbean-maven-cdi/blob/master/src/main/java/org/microbean/maven/cdi/YamlSettingsBuilder.java
---
**Affects:** 4.1.0
**Issue Links:**
- [MNG-6435](https://issues.apache.org/jira/browse/MNG-6435) DefaultSettingsBuilder assumes all SettingsReader/Writer impls will use XML
Contributor guide
Research direction
Start by comparing the existing SettingsBuilder approach with the ModelParser SPI, using the linked YamlSettingsBuilder as a reference for extension needs. Determine how a SettingsParser SPI should support non-XML settings and address the SettingsReader/Writer assumption described in MNG-6435. Done means the extension point is defined and alternate-language settings parsing can be supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100