Skip to content

Conversation

@JonathanPerry651
Copy link
Contributor

@JonathanPerry651 JonathanPerry651 commented Dec 7, 2025

This is a bit foul, but it's the only way I could see of actually passing through an explicit False to any of these attrs. I think I need this because junit is coming into my repo as testonly, and I want to amend that to False (I have some other deps that directly depend on junit).
If this is the wrong approach for whatever reason, I'm super-open to pushback!

Thank you

@JonathanPerry651 JonathanPerry651 force-pushed the fix/maven-amend-artifact-int-attrs branch from c3bdbeb to 24ebf47 Compare December 7, 2025 16:30
@shs96c
Copy link
Collaborator

shs96c commented Dec 8, 2025

Ooof. Good catch, and thank you for the PR. I've started a conversation on the Bazel Slack to see if there's a nice solution for this.

Looking at the boolean attributes, I think we'd be safe if we only allowed the root module to set the boolean properties for both artifact and amend_artifact but let's wait until the community has weighed in.

@JonathanPerry651
Copy link
Contributor Author

@shs96c - the slack convo seems somewhat inconclusive; what shall we do here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants