maven pom中使用 native2ascii-maven-plugin 插件来进行properties转码
背景:
原先开发的时候,需要?ant运行?copyResources?target(deploy depend 该?target?) 来进行?native2ascii?
? ? ? ? ?<plugin>
?????????????<groupId>org.codehaus.mojo</groupId>
?????????????<artifactId>native2ascii-maven-plugin</artifactId>
?????????????<version>1.0-beta-1</version>
?
?????????????<executions>
????????????????<execution>
???????????????????<id>native2ascii</id>
???????????????????<phase>compile</phase>
???????????????????<goals>
??????????????????????<goal>native2ascii</goal>
???????????????????</goals>
???????????????????<configuration>
??????????????????????<encoding>utf-8</encoding>
??????????????????????<includes>
?????????????????????????<include>${native2ascii_pattern}</include>
??????????????????????</includes>
???????????????????</configuration>
????????????????</execution>
?????????????</executions>
?????????</plugin>