maven-build.nix: added extraMvnFlags argurment

svn path=/nixpkgs/trunk/; revision=21181
This commit is contained in:
Rob Vermaas 2010-04-20 14:32:07 +00:00
parent 3921737991
commit fbc33c5485

View File

@ -7,12 +7,12 @@
, doCheckstyle ? false
, doRelease ? false
, includeTestClasses ? true
, extraMvnFlags ? ""
, ...
} @ args :
let
mvnFlags = "-Dmaven.repo.local=$M2_REPO ${if doTest then "" else "-Dmaven.test.skip.exec=true"}";
mvnFlags = "-Dmaven.repo.local=$M2_REPO ${if doTest then "" else "-Dmaven.test.skip.exec=true"} ${extraMvnFlags}";
in
stdenv.mkDerivation ( rec {