1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

maven-build: do full assembly without tests, add site to build products

svn path=/nixpkgs/trunk/; revision=23694
This commit is contained in:
Rob Vermaas 2010-09-09 10:47:54 +00:00
parent 3bb0a18f0c
commit 03706558a9

View file

@ -70,7 +70,7 @@ stdenv.mkDerivation ( rec {
'';
mvnAssembly = ''
mvn assembly:single ${mvnFlags}
mvn assembly:assembly -Dmaven.test.skip.exec=true ${mvnFlags}
'';
mvnRelease = ''
@ -91,6 +91,7 @@ stdenv.mkDerivation ( rec {
finalPhase = ''
if [ -d target/site ] ; then
cp -R target/site $out/
echo "report site $out/site" >> $out/nix-support/hydra-build-products
fi
'';
} // args