Populate the package fields properly

The 'Depends' attribute meta data is not mandatory and should be checked
for existence. Other attributes added too.
Fix the path for our own needs
Make it compile with custom dependencies

SONATYPE are using internal dependencies in their jars which cannot be
found in maven central. Make the project compile so we can
"patch"(replace classes in) the plugin that they provide.