Resources on Maven 2 and native2ascii
- http://jroller.com/page/wakaleo?entry=maven_2_tip_using_tools
- http://www.nabble.com/Is-there-a-publicly-available-native2ascii-plugin-for-Maven-2--tf2897346s177.html
- http://issues.appfuse.org/browse/APF-561
Examples
Here's an example of using an Ant task to run native2ascii.
Put the following fragment in your <build><plugins> section.
This snippet will run native2ascii on all files named *.utf8, starting from /src/test/resources and downwards. Processed files will be named to their original names, without the .utf8 extension. So, if you have /src/test/resources/UIMessages_iw_IL.properties.utf8, running this snippet will result in an additional, escaped unicode file named /src/test/resources/UIMessages_iw_IL.properties . Run this snippet with mvn compile .
Labels

1 Comment
Hide/Show CommentsMar 07, 2011
Michael Vorburger
This won't work on Mac OS X, see http://maven.apache.org/general.html#tools-jar-dependency ... a better alternative is probably http://mojo.codehaus.org/native2ascii-maven-plugin/