EmbedXMP is an Windows CLI application for embedding XMP metadata file into PDF file.
EmbedXMP.exe <input-PDF-file> <input-XMP-file> <output-PDF-file>
I recommend to use “Choose a License” webpage in creativecommons.org.
Choose a License - Creative Commons
MIT License. See LICENSE.txt
file.