//add the licenses
if(siteConfiguration.getLicenses() != null){
for(License license : siteConfiguration.getLicenses()){
if(license.getUrl() != null){
siteMetadata.put(NamespaceEnum.cc.getNamespace()+"license",
vf.createReference(license.getUrl()));
} else if(license.getText() != null){
siteMetadata.put(NamespaceEnum.cc.getNamespace()+"license",
vf.createText(license.getText()));
}
//if defined add the name to dc:license