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

Allow JDomModelETL to be reused

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated: