Initial commit with small modification already done in InheritMojo.java (line 146)

Added null check to skip the source file if no class file is attached.