【发布时间】:2010-09-18 02:08:59
【问题描述】:
如果我有一个因属性的存在而激活的 maven 配置文件,我如何定义另一个配置文件,该配置文件仅在另一个配置文件未激活时才被激活?
例如
<profile>
<activation>
<property>
<name>myproperty</name>
<value>value</value>
</property>
</activation>
...
</profile>
<profile>
<activation>
<property>
<name>myproperty</name>
<value></value> <!-- Anything other than "value" -->
</property>
</activation>
...
</profile>
【问题讨论】:
标签: java maven-2 build-process