maven-build.nix: added extraMvnFlags argurment
svn path=/nixpkgs/trunk/; revision=21181
This commit is contained in:
parent
3921737991
commit
fbc33c5485
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user