diff options
Diffstat (limited to 'qpid/java/broker-plugins/experimental/info/build.xml')
-rw-r--r-- | qpid/java/broker-plugins/experimental/info/build.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/qpid/java/broker-plugins/experimental/info/build.xml b/qpid/java/broker-plugins/experimental/info/build.xml index c5881aa839..8f91adc5ff 100644 --- a/qpid/java/broker-plugins/experimental/info/build.xml +++ b/qpid/java/broker-plugins/experimental/info/build.xml @@ -20,7 +20,14 @@ nn - or more contributor license agreements. See the NOTICE file --> <project name="AMQ Broker Info Plugin" default="build"> - <property name="module.depends" value="common broker broker-plugins"/> + <condition property="info-plugin.optional.depends" value="bdbstore" else=""> + <and> + <contains string="${modules.opt}" substring="bdbstore"/> + <contains string="${profile}" substring="bdb"/> + </and> + </condition> + + <property name="module.depends" value="common broker broker-plugins ${info-plugin.optional.depends}"/> <property name="module.test.depends" value="test broker/test management/common client systests common/test"/> <property name="module.manifest" value="MANIFEST.MF"/> <property name="module.plugin" value="true"/> |