Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-1044

Allow JDomModelETL to be reused

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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

          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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rnc Nick Cross
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: