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

Shorten parallel builder thread name to artifactId, conditionally with groupId

Attach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.8.2, 3.8.3, 3.8.4
    • 3.8.5, 4.0.0-alpha-2, 4.0.0
    • None
    • None

    Description

      Following up on MNG-6471, the thread name that is now generated can easily exceed 60 chars or more, e.g.:

      [mvn-builder-de.somecorp.foo.barbazx:register-server:jar:2.0.0.local-dev3] ...
      

      This devaluates -Dorg.slf4j.simpleLogger.showThreadName=true as the only easily availble option to differentiate where a logline comes from.

      As discussed here (and in the following comments), one idea is to make the pattern configurable (or simpler, have a toggle to include the entire module id or only its artifactId).
      A slightly different approach could try to detect whether there are "duplicate" artifactIds in the reactor and only append the groupId for those.
      In any way, type, classfier and version don't seem to add anything valuable.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michael-o Michael Osipov
            famod Falko Modler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment