Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the implementation of maven_publish "not private" #849

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shs96c
Copy link
Collaborator

@shs96c shs96c commented Feb 3, 2023

It's not officially part of our public API, but sophisticated users who are attempting to extend maven_publish will find this helpful

@shs96c shs96c requested a review from cheister as a code owner February 3, 2023 14:14
@shs96c shs96c requested a review from jin February 15, 2023 11:48
@jin
Copy link
Member

jin commented Feb 15, 2023

Is there a particular reason that the entire impl needs to be exported? Can we keep it locked down and improve the attributes? Just for API simplicity reasons.

@shs96c
Copy link
Collaborator Author

shs96c commented Feb 15, 2023

In this particular case, I want to add an extra provider to the output of the rule (for a ruleset that isn't public). In theory, I could add a new target, but that would break existing workflows, where people are already using the .publish implicit target. By exposing the implementation it becomes available for re-use.

@jin
Copy link
Member

jin commented Feb 15, 2023

When I hear "extra provider", I think of aspects. Would that work?

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.

None yet

2 participants