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 <[EMAIL PROTECTED]> wrote:
>
> 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 generated files(pom.xml,index.jsp....etc.) are UTF-8 encoding
> definitely.
>
> others, could I specify one default encoding in one place and one time?
> such as for resource,compiler... all the plugin with writing capacity.
>
>
> thanks.
>
> --
> Best Regards!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to