Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E62610022 for ; Fri, 13 Dec 2013 01:51:56 +0000 (UTC) Received: (qmail 88574 invoked by uid 500); 13 Dec 2013 01:51:56 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 88530 invoked by uid 500); 13 Dec 2013 01:51:56 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 88416 invoked by uid 99); 13 Dec 2013 01:51:56 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Dec 2013 01:51:56 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CE3748B70AD; Fri, 13 Dec 2013 01:51:55 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mdrob@apache.org To: commits@accumulo.apache.org Date: Fri, 13 Dec 2013 01:51:58 -0000 Message-Id: <95689046613647ddb10a019e55f2df9f@git.apache.org> In-Reply-To: <47d7f33961904c198e03994fa09e0520@git.apache.org> References: <47d7f33961904c198e03994fa09e0520@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [04/10] git commit: ACCUMULO-1896 fix deb generation on clean checkout ACCUMULO-1896 fix deb generation on clean checkout Move .deb generation into a profile and update README Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/72106a62 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/72106a62 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/72106a62 Branch: refs/heads/master Commit: 72106a626ed27b2a849aa80639f8514b97710707 Parents: cc4e794 Author: Mike Drob Authored: Wed Dec 11 12:02:28 2013 -0800 Committer: Mike Drob Committed: Thu Dec 12 17:49:16 2013 -0800 ---------------------------------------------------------------------- README | 8 +- pom.xml | 337 ++++++++++++++++++++++++++++++----------------------------- 2 files changed, 178 insertions(+), 167 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/72106a62/README ---------------------------------------------------------------------- diff --git a/README b/README index bc469fc..a70d62b 100644 --- a/README +++ b/README @@ -31,9 +31,13 @@ but having them available suppresses a runtime warning: $ ( cd ./src/server/src/main/c++ ; make ) +If you want to build the redhat release, use the command "mvn package && mvn +-N rpm:rpm" to generate the .rpm files in platform specific subfolders under +target/rpm directory. + If you want to build the debian release, use the command "mvn package && mvn -install" to generate the .deb files in the target/ directory. Please follow -the steps at +-N install -Pdeb" to generate the .deb files in the target/ directory. Please +follow the steps at https://cwiki.apache.org/BIGTOP/how-to-install-hadoop-distribution-from-bigtop.html to add bigtop to your debian sources list. This will make it substantially easier to install. http://git-wip-us.apache.org/repos/asf/accumulo/blob/72106a62/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 9d33818..fc0222e 100644 --- a/pom.xml +++ b/pom.xml @@ -312,171 +312,6 @@ - - jdeb - org.vafer - 0.10 - false - - - accumulo - install - - jdeb - - - ${project.build.directory}/${artifactId}_${project.version}.deb - false - src/packages/deb/accumulo - /usr/lib/accumulo - - - lib - directory - - perm - /usr/lib/accumulo/lib - - **/.svn/** - - - NOTICE - file - - perm - /usr/lib/accumulo - - - - NOTICE - file - - perm - /usr/lib/accumulo - - - - CHANGES - file - - perm - /usr/lib/accumulo - - - - README - file - - perm - /usr/lib/accumulo - - - - docs - directory - - perm - /usr/lib/accumulo/docs - - **/.svn/** - - - bin - directory - - perm - /usr/lib/accumulo/bin - 755 - - **/.svn/** - - - conf - directory - - perm - /usr/lib/accumulo/conf - - **/.svn/**,**/accumulo-site.xml,**/accumulo-env.sh,**/accumulo-metrics.xml,**/test-*,**/slaves,**/masters,**/tracers,**/gc,**/monitor - - - conf/examples - directory - - perm - /usr/lib/accumulo/conf/examples - - **/.svn/** - - - - - - accumulo-native - install - - jdeb - - - false - src/packages/deb/accumulo-native - /usr/lib/accumulo - ${project.build.directory}/${artifactId}-native_${project.version}-${os.arch}.deb - - - src/server/src/main/c++ - directory - - perm - /usr/lib/accumulo/src/server/src/main/c++ - - **/.svn/** - - - src/server/src/main/java/org/apache/accumulo/server/tabletserver/MLock.java - file - - perm - /usr/lib/accumulo/src/server/src/main/java/org/apache/accumulo/server/tabletserver/MLock.java - - - - src/server/src/main/java/org/apache/accumulo/server/tabletserver/NativeMap.java - file - - perm - /usr/lib/accumulo/src/server/src/main/java/org/apache/accumulo/server/tabletserver/NativeMap.java - - - - - - - accumulo-test - install - - jdeb - - - false - src/packages/deb/accumulo-test - /usr/lib/accumulo - ${project.build.directory}/${artifactId}-test_${project.version}-${os.arch}.deb - - - test - directory - - perm - /usr/lib/accumulo/test - - **/.svn/**,**/*.pyc - - - - - - @@ -606,6 +441,178 @@ + deb + + + + jdeb + org.vafer + 0.10 + false + + + accumulo + install + + jdeb + + + ${project.build.directory}/${artifactId}_${project.version}.deb + false + src/packages/deb/accumulo + /usr/lib/accumulo + + + lib + directory + + perm + /usr/lib/accumulo/lib + + **/.svn/** + + + NOTICE + file + + perm + /usr/lib/accumulo + + + + NOTICE + file + + perm + /usr/lib/accumulo + + + + CHANGES + file + + perm + /usr/lib/accumulo + + + + README + file + + perm + /usr/lib/accumulo + + + + docs + directory + + perm + /usr/lib/accumulo/docs + + **/.svn/** + + + bin + directory + + perm + /usr/lib/accumulo/bin + 755 + + **/.svn/** + + + conf + directory + + perm + /usr/lib/accumulo/conf + + **/.svn/**,**/accumulo-site.xml,**/accumulo-env.sh,**/accumulo-metrics.xml,**/test-*,**/slaves,**/masters,**/tracers,**/gc,**/monitor + + + conf/examples + directory + + perm + /usr/lib/accumulo/conf/examples + + **/.svn/** + + + + + + accumulo-native + install + + jdeb + + + false + src/packages/deb/accumulo-native + /usr/lib/accumulo + ${project.build.directory}/${artifactId}-native_${project.version}-${os.arch}.deb + + + src/server/src/main/c++ + directory + + perm + /usr/lib/accumulo/src/server/src/main/c++ + + **/.svn/** + + + src/server/src/main/java/org/apache/accumulo/server/tabletserver/MLock.java + file + + perm + /usr/lib/accumulo/src/server/src/main/java/org/apache/accumulo/server/tabletserver/MLock.java + + + + src/server/src/main/java/org/apache/accumulo/server/tabletserver/NativeMap.java + file + + perm + /usr/lib/accumulo/src/server/src/main/java/org/apache/accumulo/server/tabletserver/NativeMap.java + + + + + + + accumulo-test + install + + jdeb + + + false + src/packages/deb/accumulo-test + /usr/lib/accumulo + ${project.build.directory}/${artifactId}-test_${project.version}-${os.arch}.deb + + + test + directory + + perm + /usr/lib/accumulo/test + + **/.svn/**,**/*.pyc + + + + + + + + + + distclean