[jira] [Created] (GERONIMO-6776) Let specify encoding for generated files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (GERONIMO-6776) Let specify encoding for generated files

Antoni Reus (Jira)
Antoni Reus created GERONIMO-6776:
-------------------------------------

             Summary: Let specify encoding for generated files
                 Key: GERONIMO-6776
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6776
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: geronimo-maven-plugin
    Affects Versions: OpenAPI_1.0.12
            Reporter: Antoni Reus
         Attachments: encoding.patch

Currently the geronimo-openapi-maven-plugin uses a FileWriter to generate the openapi.json. This defaults to de platform encoding.

 

The user should be able to specify an encoding in the plugin configuration:

 <encoding>UTF-8</encoding>

or use ${project.build.sourceEncoding} as default encoding, and only if this is not provided fallback to the platform encoding.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)