final Set<SObjectDescription> descriptions = new HashSet<SObjectDescription>();
try {
getLog().info("Retrieving Object descriptions...");
for (String name : objectNames) {
callback.reset();
restClient.getDescription(name, callback);
if (!callback.await(TIMEOUT, TimeUnit.MILLISECONDS)) {
throw new MojoExecutionException("Timeout waiting for getDescription for sObject " + name);
}
final SalesforceException ex = callback.getException();