cool-easter-32542
11/08/2023, 4:05 PM$ pants package :hms-jars
16:55:17.23 [ERROR] 1 Exception encountered:
Engine traceback:
in `package` goal
KeyError: ('junit', 'junit')
Pants version
2.18.0rc5
OS
Ubuntu 22.04
Additional info
Here is my pants.toml:
[GLOBAL]
pants_version = "2.18.0rc5"
backend_packages = [
'pants.backend.experimental.java',
]
Here is my BUILD:
jvm_artifact(
name="hms-jars-artifact",
group="org.apache.hive",
artifact="hive-exec",
version="1.1.0",
exclusions=[
jvm_exclude(group="org.apache.calcite", artifact="calcite-avatica"),
jvm_exclude(group="org.apache.calcite", artifact="calcite-core"),
jvm_exclude(group="jdk.tools", artifact="jdk.tools"),
],
)
deploy_jar(
name="hms-jars",
main="",
dependencies=[":hms-jars-artifact"],
)
Steps to reproduce:
• pants generate-lockfiles
• pants package :hms-jars
Note: in my other repo I'm getting a slightly different error:
Engine traceback:
in `package` goal
KeyError: ('javax.activation', 'activation')
pantsbuild/pantscool-easter-32542
11/20/2023, 9:21 PM