Improved phing task to deploy document with more specific metadata.