Support transitive jar version forcing via <overrides/>.

Review Request #198 — Created April 10, 2014 and submitted

jsirois
pants
jsirois/ivy/transitive_override_support
41
pants-reviews
benjyw, travis
Benjy FYI

commit 2a73371d9a7268f6044e67fe76e47bc514899120
Author: John Sirois <jsirois@twitter.com>
Date:   Wed Apr 9 18:00:51 2014 -0700

    Support transitive jar version forcing via <overrides/>.

 src/python/pants/tasks/ivy_utils.py | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)
Manual with a locally reverted force=True in 3rdparty:checkstyle and then inspection of the ivy.xml generated via ./pants goal resolve 3rdparty:checkstyle.

Unit:
$ ./pants tests/python/pants_test/tasks:ivy_utils -v
Build operating on targets: OrderedSet([PythonTests(tests/python/pants_test/tasks/BUILD:ivy_utils)])
============================================================================================================================== test session starts ===============================================================================================================================
platform linux3 -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2 -- /home/jsirois/dev/3rdparty/pyenv/versions/2.6.8/bin/python
plugins: cov
collected 1 items 

tests/python/pants_test/tasks/test_ivy_utils.py:60: IvyUtilsGenerateIvyTest.test_force_override PASSED

============================================================================================================================ 1 passed in 0.25 seconds ============================================================================================================================
JS
JS
JS
BE
  1. Ship It!
  2. 
      
JS
  1. Thanks - merged.
  2. 
      
JS
Review request changed

Status: Closed (submitted)

TR
  1. Ship It!
  2. 
      
Loading...