maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Hohwiller <jo...@j-hohwiller.de>
Subject Re: maven-resources-plugin & file-encoding
Date Tue, 02 Nov 2010 17:52:02 GMT
Hi Roland,

On 01.11.2010 18:03, Asmann, Roland wrote:
> configure Maven to already fail the build on
> Windows or have it configured so that it works on Linux? I want the
> behavior of the two builds to be the same -- as it should be!
>

I suppose the difference comes from the different default encodings of the OS 
(check your locale settings on Linux, e.g. LC_ALL).

However to be OS-independant please use

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

http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding

Regards
   Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message