maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Pöllath <li...@poellath.org>
Subject Re: Compiling files with UTF-8 encoding
Date Sat, 23 Sep 2006 17:34:19 GMT
On 23.09.2006, at 17:57, David Leangen wrote:
> In M2, how do I set the compiler to compile files that are written  
> in UTF-8?

Try this:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-compiler-plugin</artifactId>
   <configuration>
       <encoding>UTF-8</encoding>
   </configuration>
</plugin>

Cheers,
-Ralph.


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


Mime
View raw message