add v2 metadata generation to Artifact
Optionally publish v2 metadata when configured
Merge branch 'publish-cksum-metadata'