Fix java_sources missing dep detection
Review Request #1336 - Created Nov. 14, 2014 and submitted
|ity, tejal, zundel|
Fix java_sources missing dep detection.
This seems to just be an oversight in the original implementation. We noticed incorrect missing dependency errors (we have it set to error rather than warn) when we started using java_sources in our codegen. This resolved our issue internally.
The general idea is that a ScalaLibrary should be claiming its java_sources sources for the purpose of mapping generated classfiles back to the sources zinc used to generate them.
CI is green: https://travis-ci.org/pantsbuild/pants/builds/41043159