Raise an error when missing a gem's source code

It should not be possible to build a jar without all of its dependencies. This PR suggest that an error should be raised when the source code for a gem is missing.
Fixed