Migrate features to template-feature-parent

Description

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:

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

Activity

Show:

Details

Assignee

Reporter

Labels

Fix versions

Priority

Created December 2, 2024 at 9:20 PM
Updated December 3, 2024 at 1:21 PM