Made maven executable configurable

This commit is contained in:
Ciaran Gultnieks 2012-09-13 08:23:12 +01:00
parent 6274d071a7
commit 7a0df25525
5 changed files with 11 additions and 3 deletions

View file

@ -803,7 +803,7 @@ def getsrclib(spec, extlib_dir, sdk_path):
vcs = getvcs('git',
'https://code.google.com/r/andreasschildbach-bitcoinj/', sdir, sdk_path)
vcs.gotorevision(ref)
if subprocess.call(['mvn3', 'install'], cwd=sdir) != 0:
if subprocess.call([mvn3, 'install'], cwd=sdir) != 0:
raise BuildException("Maven build failed for BitcoinJWallet srclib")
return sdir