Hi, I would like to specify a classifier for a jvm...
# general
r
Hi, I would like to specify a classifier for a jvm_artifact. It seems like this is legal syntax but I'm curious if that's intentional.
Copy code
jvm_artifact(
    name="hadoop-common_test",
    group="org.apache.hadoop",
    artifact="hadoop-common",
    version="2.7.3:test",
    resolve="jvm-default",
)
Where the classifier "test" is appended to the version string. Is this the recommended method for specifying a classifier? In Pants v1 there's a classifier field for jars in a jar_library so I'm also wondering if there was a reason for that not being supported in jvm_artifact.