From 7006ab73a0fb6cd37ddc15729da1704d81e87a36 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Fri, 5 Sep 2014 17:30:32 +0000 Subject: [PATCH] Better way to pass properties down to Maven: Append them to command line as real Maven properties, not as sysprops! Maven-Ant-Tasks should have support for that. By that it is now possible to override tests.multiplier, which was not possible before (pom.xml defines it so sysprop is ignored). git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622743 13f79535-47bb-0310-9956-ffa450edef68 --- extra-targets.xml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/extra-targets.xml b/extra-targets.xml index add16a4eb78..a10d2b05fd7 100644 --- a/extra-targets.xml +++ b/extra-targets.xml @@ -73,24 +73,36 @@ You can find the merged Lucene/Solr Clover report in '${clover.report.dir}'. - + - - - - + + - + - + - - + + + + + if (!k.startsWith('ant.')) { // filter internal ant properties + arg(value: '-D' + k + '=' + v); + } + }; + arg(value:'-fae'); + arg(value:'install'); + }; + ]]>