You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Jonathan Eagles (JIRA)" <ji...@apache.org> on 2014/02/07 06:51:19 UTC

[jira] [Created] (TEZ-813) Remove unused imports across project

Jonathan Eagles created TEZ-813:
-----------------------------------

             Summary: Remove unused imports across project
                 Key: TEZ-813
                 URL: https://issues.apache.org/jira/browse/TEZ-813
             Project: Apache Tez
          Issue Type: Improvement
    Affects Versions: 0.3.0
            Reporter: Jonathan Eagles
            Assignee: Jonathan Eagles


Noticed a few unused imports. pmd scan shows 63 imports like this. Fixing them all at one

modified pom plugin management to add pmd configuration (for detection purposes)
{code:xml}
         <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-pmd-plugin</artifactId>
         <version>3.0.1</version>
         <configuration>
           <rulesets>
             <ruleset>/rulesets/java/imports.xml</ruleset>
           </rulesets>
         </configuration>
       </plugin>
{code}
mvn pmd:pmd
tar cvzf imports.tar.gz $(find ./ -name pmd.xml)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)