}
protected String getMavenUploadUri(J4pClient client) throws MalformedObjectNameException, J4pException, MojoExecutionException {
Exception exception = null;
try {
J4pSearchResponse searchResponse = client.execute(new J4pSearchRequest(FABRIC_MBEAN));
List<String> mbeanNames = searchResponse.getMBeanNames();
if (mbeanNames == null || mbeanNames.isEmpty()) {
getLog().warn("No MBean " + FABRIC_MBEAN + " found, are you sure you have created a fabric in this JVM?");
return null;
}