<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>npm-build</id>
<phase>clean</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>ant</executable>
<arguments>
<argument>-Denv=${profiles.activation}</argument>
</arguments>
</configuration>
</execution>
</executions>
<configuration>
<workingDirectory>../static-admin</workingDirectory>
<skip>false</skip>
</configuration>
</plugin>