0
跳过我的Maven的模块结构:配置测试深模块结构
mavenProjectRoot/
a/
a1/
a2/
b/
b1/
b2/
,需要配置一定的测试,从根本的pom.xml模块A1跳过。
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>a/a1/**/*java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
但似乎我的排除表达不正确,该怎么做?
PS。我创建project sample
谢谢,我会再试一次,也许问题在其他地方... – 2014-10-02 06:47:49
这是缺少的一点? – 2014-10-02 07:48:46
它不会帮助 – 2014-10-02 08:38:26