Improved error message
Minor refactoring
More minor refactoring
If no sources are available create an empty source JAR for Maven