https://bugzilla.wikimedia.org/show_bug.cgi?id=45042
Web browser: ---
Bug ID: 45042
Summary: Enforce utf-8 for maven builds
Product: Wikimedia
Version: wmf-deployment
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: Testing Infrastructure
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Right now, we're not explicitly building things with an explicit encoding, and
relying on the system's encoding. This ends up with warnings such as:
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
This is probably fine as long as we stick with utf-8, but it'd probably be nice
to be explicit. This can be solved by creating ~/.m2/settings.xml for the
jenkins user with the following:
<settings>
<profiles>
<profile>
<id>profile-utf</id>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>profile-utf</activeProfile>
</activeProfiles>
</settings>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l