Fix previous fix for CI build publishing pom file

Remove conditional configuration of artifactoryPublish and explicitly
save the pom file as an archive artifact.