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