Replace ant call by native2ascci maven plugin.

This commit is contained in:
Paulo Gustavo Veiga 2012-08-23 22:25:15 -03:00
parent dcd15d8fa4
commit c9217265fd
2 changed files with 14 additions and 21 deletions

View File

@ -85,9 +85,9 @@
<version>1.7</version> <version>1.7</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>net.alchim31.maven</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId> <artifactId>native2ascii-maven-plugin</artifactId>
<version>1.1</version> <version>1.0-beta-1</version>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>

View File

@ -380,32 +380,25 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>native2ascii-maven-plugin</artifactId>
<executions> <executions>
<execution> <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> <goals>
<goal>run</goal> <goal>native2ascii</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
<configuration>
<encoding>UTF-8</encoding>
<includes>
<include>messages*.properties</include>
</includes>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-war-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version> <version>2.1.1</version>