You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ab...@apache.org on 2011/08/26 01:47:06 UTC

svn commit: r1161801 - in /incubator/bigtop/trunk/src/pkg/deb: hbase/rules whirr/rules

Author: abayer
Date: Thu Aug 25 23:47:06 2011
New Revision: 1161801

URL: http://svn.apache.org/viewvc?rev=1161801&view=rev
Log:
Fixes BIGTOP-43. HBase and Whirr should now rebuild for Debian packages.

Modified:
    incubator/bigtop/trunk/src/pkg/deb/hbase/rules
    incubator/bigtop/trunk/src/pkg/deb/whirr/rules

Modified: incubator/bigtop/trunk/src/pkg/deb/hbase/rules
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/src/pkg/deb/hbase/rules?rev=1161801&r1=1161800&r2=1161801&view=diff
==============================================================================
--- incubator/bigtop/trunk/src/pkg/deb/hbase/rules (original)
+++ incubator/bigtop/trunk/src/pkg/deb/hbase/rules Thu Aug 25 23:47:06 2011
@@ -35,9 +35,9 @@ clean:	
 	find debian -name .\*swp -exec rm -f {} \;
 
 build:
-	# This target doesn't do anything since the tarball already has the
-	# project built!
 	dh_testdir
+	mvn clean -DskipTests -Dhbase.version=${HBASE_VERSION} install assembly:assembly -Dmaven.repo.local=${HOME}/.m2/repository  
+
 	
 install: build
 	dh_testdir

Modified: incubator/bigtop/trunk/src/pkg/deb/whirr/rules
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/src/pkg/deb/whirr/rules?rev=1161801&r1=1161800&r2=1161801&view=diff
==============================================================================
--- incubator/bigtop/trunk/src/pkg/deb/whirr/rules (original)
+++ incubator/bigtop/trunk/src/pkg/deb/whirr/rules Thu Aug 25 23:47:06 2011
@@ -37,7 +37,7 @@ clean:	
 
 build-indep: build-indep-stamp
 build-indep-stamp: patch-stamp
-	# we'll just use the build from the tarball.
+	mvn clean source:jar install assembly:assembly -Pjavadoc site -Dmaven.repo.local=${HOME}/.m2/repository -Dskiptests
 	mkdir -p debian/tmp
 	# NOTE: FIXME me right away
 	cp -r debian/whirr.1 .