Description
When one created a custom Synapse mediator with the use of the maven xar plugin, it fails to build the maven project a second time without cleaning the project first:
[ERROR] Failed to execute goal org.apache.synapse:synapse-xar-maven-plugin:2.1.0-SNAPSHOT:xar (default-xar) on project <project>: Error while creating the directory: <project>/target/xar-files/META-INF/services -> [Help 1]
This is due to the fact that AbstractXarMojo throws an exception when the services directory exists in the target directory.