Refactor maven package version check to avoid retry delays (#28185)
Refactor maven package version check to avoid retry delays (#28185)

* Fix groupid in url for maven package published check

* Refactor maven package version check to avoid retry delays
Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java