码迷,mamicode.com
首页 > 其他好文 > 详细

how to solve "[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!"

时间:2014-09-28 23:07:56      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   ar   for   sp   div   c   log   

 

[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!

Saw this warning message when using failsafe maven plugin, found the fix after a little search.

 

add following to pom.xml

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

 



how to solve "[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!"

标签:style   blog   color   ar   for   sp   div   c   log   

原文地址:http://www.cnblogs.com/AloneSword/p/3998983.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!