Add automatic conversion of UTF-8 properties to ASCII

This commit is contained in:
Paulo Gustavo Veiga
2012-08-23 00:46:15 -03:00
parent 9aba9993e2
commit c191136de9
16 changed files with 796 additions and 726 deletions

View File

@@ -381,6 +381,32 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<configuration>
<target>
<delete>
<fileset dir="${project.basedir}/target/classes/" includes="messages*.properties"/>
</delete>
<native2ascii
encoding="UTF-8"
dest="${project.basedir}/target/classes"
src="${project.basedir}/src/main/resources/"
includes="messages*.properties"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
@@ -502,7 +528,9 @@
<executions>
<execution>
<phase>package</phase>
<goals><goal>copy</goal></goals>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>