Closed Gawen-pjr closed 9 years ago
I've merged and re-pushed for gerrithub reviews:
https://review.gerrithub.io/249196 Less strict restriction for reactor projects using tiles
I've left the commit author as @Gawen- for attribution purposes.
Included in the newly release 2.3.
Thanks for the tips. I'll use gerrithub next time.
Hello again,
You forgot to remove the else
section arround orchestrateMerge(currentProject)
.
The method call must simply be the last statement of the if (containsTiles)
block. With the else
in place, a reactor using tile but not used as parent will simply silently do nothing without throwing an exception, which is not the desired behavior.
PS : I failed to sign in Gerrithub with my Github account. Don't know why... So I cannot push the patch the way you indicated for the moment
Edit : The problem was the trailing dash in my login... Changed it and now it works. I will repush the changes I was taking about soon.
Changes made here : https://review.gerrithub.io/#/c/249602
Hope I did it the right way this time ;-)
Yep! Saw it, added some comments. My bad for missing the else
block. Rather than maybe creating a new ticket you could just refer back to this one.
Updated : https://review.gerrithub.io/#/c/249602
Thanks for your advises. This is my first open-source effective contribution, and this experience will bring me a lot of good practices to apply internally in my company.
Fail build only if the reactor is used as parent POM by one of its module. Also successfully tested partial builds with -pl, -am and -amd flags.