mdsal.git/features/*currently use generated feature.xmls. The idea of that is nice, but for version convergence we need to specify ranges, which essentially means we have a src/main/feature.xml anyway.
This approach results in a stern warning from maven-install-plugin:
mdsal.git/features/*
currently use generated feature.xmls. The idea of that is nice, but for version convergence we need to specify ranges, which essentially means we have asrc/main/feature.xml
anyway.This approach results in a stern warning from maven-install-plugin:
Migrate to
src/main/template.xml
, taking advantage of mustache built-ins as demonstrated in https://git.opendaylight.org/gerrit/c/mdsal/+/114640/.Since we are dealing a lot of features, we want an automated conversion script of some kind, which will essentially perform:
maven build
remove src/main/feature.xml if it exists
move target/feature/feature.xml to src/main/template.xml
apply mustaches to versions
update pom.xml