-
-
Notifications
You must be signed in to change notification settings - Fork 420
Add MavenPublishModule for maven compatiable repository #5601
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chikei Is this code written from scratch? Is it partially copied from other places in the Mill repo? This info would greatly help reviewing it.
|
It's copied from existing Edit: and remove the gpg args from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, the general approach looks good.
I'd like a have the implementations of object MavenPublishModule moved into a trait and just extends that. That way, it should be easier to customize and reuse it in projects.
Also, the hard-coded use of MavenPublishModule.publishAll should instead use a ModuleRef instead.
|
Hi @lefou and @chikei , do you still consider this PR actively worked on? If not I would like to attempt this (though it does feel a bit out of my depth). @lefou regarding your last comment about (1) moving the implementations of |
It would be nice to get this over the finish line. Since the base functionality already done, left work should be mostly mechanical editing.
Sharing common parts between both traits would be the best case, of course. Whether we do it right now or in a subsequent PR is both fine for me, as long as we get it merged rather soon. |
more like a POC for #5592, I think there are rooms for sharing code/task between this and SonatypeCentralPublishModule