如果我有一个由属性的存在激活的 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>