Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-599

Fix file encoding warnings during maven build and reporting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0-RC2
    • None
    • None

    Description

      The maven build emits several warnings that the file encoding has not been set.

      File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.

      Not sure if all the files are actually in UTF-8. (lets hope). If they are this issue is easy to fix.

      Add two properties in the properties tag in shiro-root pom.xml

      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            raupach Björn Raupach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: