Fix manifest goal for jar projects with no sources; also 'calcManifest' method now expects caller to store the manifest rather than rely on a side-effect