-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add (init|close|release)Repository tasks for single-repo project for easier migration #38
Comments
Frankly speaking, I find
However, if you use In other words:
I do not see where @szpak , frankly speaking, all these "staging/closing/releasing" concepts were completely moot for me when I met Nexus for the first time. Now I think that the addition of a composed
I see no problem with having explicit I would suggest that you should refrain from creating tasks based on the number of repositories. For instance, there's Gradle's default task like That enables us to call Of course, your case is slightly different, however, I think a task like |
Simple projects that do not need staging can just call one long task command instead of two (long tasks). Not everyone has requirements as yours.
It sounds very sensible. For just one Nexus configured it would behave the same as in my implementation for just one repo and for more it would (try) to (close/)release everywhere (probably not very handy in the majority of cases, but I have no practical experience with releasing to different (Nexus) repositories in one build). Thanks @visi for the idea. |
As I said, in simple cases there's no room for |
I'm generally not a fan of adding too many "shorthand tasks" since it introduces multiple ways of achieving the same goal and might be confusing. |
It should depend on all the closeAndRelease tasks created per defined repository.
Ok. I've just applied one Vladimir's suggestion and some minor tweaks with task descriptions - #39. |
It should depend on all the closeAndRelease tasks created per defined repository.
It should depend on all the closeAndRelease tasks created per defined repository.
Working on #33, I added
closeAndReleaseStagingRepository
(withoutSonatype
or something in the middle). I wonder, if we would like to have also shorter(init|close|release)Repository
if just one repository is defined?The text was updated successfully, but these errors were encountered: