Improve detect-duplicates to detect duplicates in internal dependencies

Review Request #394 — Created May 22, 2014 and submitted — Latest diff uploaded

ity
pants
pants-reviews
areitz, jsirois, tejal, travis
Improve detect-duplicates to detect duplicate classes and resources in internal and external dependencies
$ ./pants goal binary src/java/com/twitter/common/application:test-application -ldebug

18:06:14 00:00 [main]
               (To run a reporting server: ./pants goal server)
18:06:14 00:00   [bootstrap]
18:06:14 00:00   [setup]
18:06:14 00:00     [parse]
               Preparing goals in round 1
.......
                    ===== For target JvmBinary(BuildFileAddress(src/java/com/twitter/common/application/BUILD, test-application)):
                   Duplicate classes and/or resources detected in artifacts: (u'com.twitter.common-application-0.0.72.jar', u'src.java.com.twitter.common.application.test-application.jar')
                        com/twitter/common/application/Application.class
               SUCCESS
Loading...