Merge pull request #26 from rnc/master

Fix for error detection that should cause Maven to fail