Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7645

Implement some #toString() methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.8.6
    • 3.8.7, 3.9.0, 4.0.0-alpha-4, 4.0.0
    • None
    • None

    Description

      If something decides to dump some build/session details, like `maven-bundle-plugin` with `--debug` does, currently it produces:

      [DEBUG] BND Instructions:
      project.build.mailingLists=[org.apache.maven.model.MailingList@16e91d6f, org.apache.maven.model.MailingList@57104caa]
      project.licenses=[org.apache.maven.model.License@416855dc, org.apache.maven.model.License@1f342afb]
      project.build.scm=org.apache.maven.model.Scm@5d4369c5

      I propose to change that to something more friendly by overriding toString.

      Attachments

        Activity

          People

            michael-o Michael Osipov
            pzygielo Piotr Zygielo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: