Somehow in my setup (not sure how), I end up with a second repository in install. The first one seems to be a dummy, and the second is what matters. However, with the current code, only the dummy one gets optional configuration.
This is easy to fix, and makes sense since technically both install and uploadArchives can have multiple repositories.
I would like to add a test, but it didn't seem immediately obvious how to modify the existing test for maven plugin, since it relies on the local .m2 cache...
Somehow in my setup (not sure how), I end up with a second repository in install. The first one seems to be a dummy, and the second is what matters. However, with the current code, only the dummy one gets optional configuration.
This is easy to fix, and makes sense since technically both install and uploadArchives can have multiple repositories.
I would like to add a test, but it didn't seem immediately obvious how to modify the existing test for maven plugin, since it relies on the local .m2 cache...