} else if (SystemUtils.IS_OS_MAC_OSX) {
locator = new MacOsWebObjectsLocator();
} else if (SystemUtils.IS_OS_WINDOWS) {
locator = new WindowsWebObjectsLocator();
} else if (SystemUtils.IS_OS_UNIX) {
locator = new UnixWebObjectsLocator();
} else {
throw new MojoExecutionException("Unsupported OS platform.");
}
}