.sources(ClientConfiguration.class)
.run("--baseUrl=" + url.toString(),
"--username=" + username,
"--password=" + password);
} catch (MalformedURLException mue) {
throw new MarvinClientException(mue);
}
}
final MarvinClient marvinClient = ctx.getBean(MarvinClient.class);
if (marvinClient == null) {
throw new MarvinClientException("Creation of Marvin Client not possible.");
}
return marvinClient;
}