【发布时间】:2012-02-17 13:15:57
【问题描述】:
我在激活个人资料时遇到问题。有一个带有配置文件的主 pom:
<profile>
<id>EntityUpdater</id>
<activation>
<property>
<name>entityupdater.start</name>
<value>true</value>
</property>
</activation>
....
在我的 childpom(jar 包)中,我指定了属性:
<properties>
<!-- ENTITY UPDATER CONFIG -->
<entityupdater.start>true</entityupdater.start>
....
但是在构建过程中配置文件没有启动。
如果有人可以帮助我,我会很高兴。
最好的问候,丹尼尔
【问题讨论】:
-
好吧.. 这根本不可能:jira.codehaus.org/browse/MNG-3228
标签: maven properties profile pom.xml activation