2
我在我的POM以下EXEC任务:如何添加一个Maven EXEC任务在`MVN执行test`
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>${project.basedir}/src/test/javascript/EnvJasmine/bin/run_all_tests.sh</executable>
</configuration>
</plugin>
</plugins>
当我运行
mvn exec:exec
但我这个伟大的工程也希望它在我执行时运行
mvn test
任何人都可以帮我吗?
具体而言,要在“测试”阶段执行,请在'`元素中添加'测试 '绑定项。 –
2011-01-27 20:57:42