Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.0, 2.0.1, 2.0.2, 2.0.3
-
None
-
None
Description
Look at the attached example POM.
Do you see many duplicate configuration properties ('UTF-8') in it? and the names of properties are very inconsistent.
It would be great if:
1) Add a global section which specifies default encodings:
<defaultEncodings> <!-- Default: UTF-8 --> <inputEncoding>UTF-8</inputEncoding> <!-- Will be the same with inputEncoding if not specified. --> <outputEncoding>UTF-8</outputEncoding> </defaultEncodings>
2) Make encoding properties in all plugins to be consistent and deprecate old properties. The default values could be:
inputEncoding = ${pom.encoding.input} outputEncoding = ${pom.encoding.output}
so users can override the default settings easily.
Attachments
Attachments
Issue Links
- is related to
-
MNG-2932 Encoding chaos
- Closed
- relates to
-
MNG-7763 Provide UTF-8 as a default value for project.build.sourceEncoding and project.reporting.outputEncoding
- Closed
-
MNG-2254 the encoding parameter in xml declaration of POM is ignored
- Closed
-
MNG-4149 Extend POM to support encoding parameter per (test) resource
- Closed
-
JXR-60 use ${project.build.sourceEncoding} as default value for "inputEncoding" parameter
- Closed
-
MCHANGES-71 need add template encoding to announcement-generate
- Closed
-
MCHECKSTYLE-95 Allow to configure file encoding for source files
- Closed
-
MCOMPILER-70 use ${project.build.sourceEncoding} as default value for "encoding" parameter
- Closed
-
MINVOKER-30 Allow to configure file encoding for verifications scripts
- Closed
-
MJAVADOC-182 use ${project.build.sourceEncoding} as default value for "encoding" parameter
- Closed
-
MPLUGIN-100 Allow customization of file encoding used for generated help goal
- Closed
-
MPLUGIN-101 Allow customization of file encoding used for mojo extraction
- Closed
-
MPMD-76 use ${project.build.sourceEncoding} as default value for "sourceEncoding" parameter
- Closed
-
MSITE-314 use ${project.build.sourceEncoding} as default value for "inputEncoding" parameter
- Closed
-
MRESOURCES-57 use ${project.build.sourceEncoding} as default value for "encoding" parameter
- Closed
- mentioned in
-
Page Loading...
1.
|
Reporting Encoding Configuration: ${project.reporting.outputEncoding} | Reopened | Unassigned |