Is this if-statement block necessary? Can I delete...
# general
j
Is this if-statement block necessary? Can I delete it? https://github.com/pantsbuild/pants/blob/master/src/python/pants/backend/jvm/ivy_utils.py#L559 We’re having a weird problem where ivy is resolving a
test-jar
instead of a
jar
for a dependency that contains both, with a jar dependency that looks like
Copy code
jar('org.apache.hadoop', 'hadoop-common', rev='2.0.0-cdh4.6.0', ext='jar', classifier=None)
(the version is in our internal nexus) Commenting out that block correctly resolves the
jar
instead of the
test-jar
.