You can easily transfer code to someone else without giving them your domain. Nothing prevents another project from publishing your code into their published GAV. This is NOT Golang - the G in GAV is decoupled from the actual domain.

> The solution is apparently to pretend that the problem doesn't exist.

No, the problem really doesn't exist.