Use proper scopes.
Omit the xcode-maven-plugin in the class loader used for validation checks.

The xcode-maven-plugin is already contained in the parent class loader

of the class loader used by the validation checks.
Remove foreign import

This import is not used anymore since we filter the depenency to the xcode-maven-plugin before.
Improve Logging.
Improve behaviour in case of duplicate check.