Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-193

CPD's sourceEncoding not set since PMD 5.1.1 is used

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2, 3.3, 3.4
    • 3.4
    • CPD
    • None
    • Patch

    Description

      Since PMD 5.1.1, CPDConfiguration adds a method postContruct().
      This method is used to set the sourceEncoding property used to read source files in PMD.
      If the sourceEncoding not set, CPD will use the platform default encoding to read the source files and maven-pmd-plugin's encoding has no effects.

      Attachments

        Issue Links

        Activity

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

          People

            michael-o Michael Osipov
            tweea Tweea Tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment