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 A6FB410439 for ; Fri, 24 Jan 2014 18:43:56 +0000 (UTC) Received: (qmail 30297 invoked by uid 500); 24 Jan 2014 18:43:54 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 30096 invoked by uid 500); 24 Jan 2014 18:43:51 -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 30041 invoked by uid 99); 24 Jan 2014 18:43:50 -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, 24 Jan 2014 18:43:50 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B1E34904EFA; Fri, 24 Jan 2014 18:43:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: elserj@apache.org To: commits@accumulo.apache.org Date: Fri, 24 Jan 2014 18:43:52 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [3/6] git commit: ACCUMULO-2254 Replace the findbugs scripts with instructions on how to invoke the findbugs-maven-plugin ACCUMULO-2254 Replace the findbugs scripts with instructions on how to invoke the findbugs-maven-plugin Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/8981ba04 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/8981ba04 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/8981ba04 Branch: refs/heads/master Commit: 8981ba04e6e2e5a7c41175451e2b5e5e41401153 Parents: 1f96266 Author: Josh Elser Authored: Fri Jan 24 13:42:22 2014 -0500 Committer: Josh Elser Committed: Fri Jan 24 13:42:22 2014 -0500 ---------------------------------------------------------------------- contrib/README.findbugs | 24 +++++++++++ contrib/findbugs_build.xml | 96 ----------------------------------------- contrib/run_findbugs.sh | 18 -------- 3 files changed, 24 insertions(+), 114 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/8981ba04/contrib/README.findbugs ---------------------------------------------------------------------- diff --git a/contrib/README.findbugs b/contrib/README.findbugs new file mode 100644 index 0000000..7e70014 --- /dev/null +++ b/contrib/README.findbugs @@ -0,0 +1,24 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +To generate a Findbugs report, invoke the following Maven command from the root +of the project: + +`mvn clean package site site:stage` + +Activating the package lifecycle phase is necessary as recompilation of the +classes is necessary to get instrumentation from Findbugs. This will ultimately +generate a local HTML site in `target/staging` which you can point your web +browser to. Each submodule of the project will contain its own Findbugs report. http://git-wip-us.apache.org/repos/asf/accumulo/blob/8981ba04/contrib/findbugs_build.xml ---------------------------------------------------------------------- diff --git a/contrib/findbugs_build.xml b/contrib/findbugs_build.xml deleted file mode 100644 index b3fae14..0000000 --- a/contrib/findbugs_build.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - A build file to run findbugs. - - STEP ONE - Download findbugs. Set FINDBUGS_HOME environment variable. - export FINDBUGS_HOME=/usr/local/findbugs-2.0.1 - - STEP TWO - To install the Ant task, copy findbugs-ant.jar into the - lib subdirectory of your Ant installation. For example, I ran - 'sudo cp $FINDBUGS_HOME/lib/findbugs-ant.jar /usr/share/ant/lib' - - STEP THREE - Run 'mvn install -P assemble'. This will copy the accumulo jar files into - the local maven repository. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://git-wip-us.apache.org/repos/asf/accumulo/blob/8981ba04/contrib/run_findbugs.sh ---------------------------------------------------------------------- diff --git a/contrib/run_findbugs.sh b/contrib/run_findbugs.sh deleted file mode 100755 index 0118712..0000000 --- a/contrib/run_findbugs.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -ant -buildfile findbugs_build.xml