Remove remaining context.config references.
Review Request #2151 - Created May 1, 2015 and submitted
|davidt, patricklaw, zundel|
- RunPrepCommand wasn't even using that config.
- PrepareResources now declares that config as an option.
- CheckPublishedDeps accesses JarPublish's option. This was actually
broken before, as we hadn't updated it to access the new config
section (publish, instead of jar-publish).
- While here, change jar_publish's scope from 'publish' to 'publish.jar'.
There are other notions of publishing (e.g., to pypi), so jar publishing
shouldn't get to hog the unqualified 'publish' scope.
CI passes: https://travis-ci.org/pantsbuild/pants/builds/60892073
Revision 2 (+56 -37)