Use globallock for maven package uploads. Thanks @tlusser for the test code. Depends on ~#31813~
/tokens