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