Fix project metadata and publishing settings

They worked for a single artefact produced from the root project,
and now the individual projects should have the correct metadata.