【发布时间】:2013-07-14 11:46:39
【问题描述】:
我在父 pom.xml Spring 支持中激活使用
<activation>
<file>
<exists>src/main/resources/*beans.xml</exists>
</file>
</activation>
这很好用。
当我尝试使用
激活配置文件中的 CucumberJVM 内容时<activation>
<file>
<exists>src/test/resources/**/*.feature</exists>
</file>
</activation>
但是,这无法正常工作。所以我猜** 通配符在这种情况下被忽略了。
这正常吗,当存在.feature 文件时,是否有解决方法来激活此配置文件?
【问题讨论】:
标签: maven cucumber activation profiles