I have some generated classes, which are generated with ASCII encoding. But to compile this classes, the classes must be in UTF-8 encoding.
So I need a plugin that converts this classes from ASCII or ISO-8859-1 respectivly to UTF-8.
I tried to use the maven-resources-plugin and the native2ascii-maven-plugin to convert the files. But they didn't what I need. The maven-resources-plugin can only by configured with one flag, that is used for reading input and writing output. I always use UTF-8. So it's obviously that it hasn't any effect.
On the other hand the native2ascii-maven-plugin only converts in the wrong direction, namly from UTF-8 to ASCII. But I need to convert the files from ASCII to UTF8.
Are there any other plugins or which plugin solves my problem? Which configuration I have to use? Please provide a definitely working configuration snippet.
Thanks