Return-Path: Delivered-To: apmail-incubator-empire-db-commits-archive@minotaur.apache.org Received: (qmail 40833 invoked from network); 31 Oct 2010 10:31:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Oct 2010 10:31:54 -0000 Received: (qmail 87255 invoked by uid 500); 31 Oct 2010 10:31:54 -0000 Delivered-To: apmail-incubator-empire-db-commits-archive@incubator.apache.org Received: (qmail 87228 invoked by uid 500); 31 Oct 2010 10:31:54 -0000 Mailing-List: contact empire-db-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: empire-db-dev@incubator.apache.org Delivered-To: mailing list empire-db-commits@incubator.apache.org Received: (qmail 87216 invoked by uid 99); 31 Oct 2010 10:31:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Oct 2010 10:31:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Oct 2010 10:31:51 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9VAVUp8013818 for ; Sun, 31 Oct 2010 10:31:30 GMT Message-ID: <30036060.161731288521090309.JavaMail.jira@thor> Date: Sun, 31 Oct 2010 06:31:30 -0400 (EDT) From: "Francis De Brabandere (JIRA)" To: empire-db-commits@incubator.apache.org Subject: [jira] Updated: (EMPIREDB-85) Remove declarations of unused dependencies (from pom.xml) In-Reply-To: <6736675.565091286326652959.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/EMPIREDB-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francis De Brabandere updated EMPIREDB-85: ------------------------------------------ Affects Version/s: (was: empire-db-2.0.7-incubating ) empire-db-2.0.6-incubating Fix Version/s: empire-db-2.0.7-incubating > Remove declarations of unused dependencies (from pom.xml) > ---------------------------------------------------------- > > Key: EMPIREDB-85 > URL: https://issues.apache.org/jira/browse/EMPIREDB-85 > Project: Empire-DB > Issue Type: Bug > Components: CodeGenerator, Core, Struts2 Extentions > Affects Versions: empire-db-2.0.6-incubating > Reporter: Marcio Mazza > Priority: Trivial > Fix For: empire-db-2.0.7-incubating > > Attachments: empire-db_summary-of-dependency-analyse.txt > > > By running "mvn dependency:analyze" > one can detect that there are some declared dependencies (in the pom files) which are not used indeed by the codebase. > Shouldn't they be removed? > Running against > http://svn.apache.org/repos/asf/incubator/empire-db/trunk@992776 > e.g., for the CORE we see that commons-collections, mockito and hsqldb were declared but not used at all. > I see that the mockito dependency comes from the parent, so maybe that should be left alone. > The output of "mvn dependency:analyze" for the core is, in summary: > ------------------------------------------------------------------------ > Apache Empire-db Core > ------------------------------------------------------------------------ > [WARNING] Unused declared dependencies found: > [WARNING] commons-collections:commons-collections:jar:3.2.1:compile > [WARNING] org.mockito:mockito-core:jar:1.8.2:test > [WARNING] hsqldb:hsqldb:jar:1.8.0.10:test -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.