Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-1971

Update pom to specify encoding for all plugins

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      Currently the UTF-8 encoding is only specified for the resources plugin:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <configuration>
          <encoding>UTF-8</encoding>
        </configuration>
      </plugin>
      

      It would be better to specify the encoding for all plugins:

      <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      </properties>
      

      http://maven.apache.org/general.html

      This requires that the version of plugins used supports using this property:
      http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding

        Attachments

          Activity

            People

            • Assignee:
              mblanchette Matthew Blanchette
              Reporter:
              mblanchette Matthew Blanchette
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: