maven-build: do full assembly without tests, add site to build products
svn path=/nixpkgs/trunk/; revision=23694
This commit is contained in:
parent
3bb0a18f0c
commit
03706558a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user