Re: How to specify default file encoding?

2007-09-14 Thread Insitu
Steve Z [EMAIL PROTECTED] writes: Hello, I want to know how to define default file encoding. first, could I specify file encoding when creating: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app ... such as appending one param like this b-Dencoding=UTF-8/b so the

Re: How to specify default file encoding?

2007-09-14 Thread Roger Ye
You may want to read the documentation for maven compiler plug-in [1], and its example [2] [1] http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html [2] http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html On 9/14/07, Steve Z