Add a parent for static features 62/97862/59
authorDominik Vrbovsky <dominik.vrbovsky@pantheon.tech>
Mon, 11 Oct 2021 07:28:47 +0000 (09:28 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 12 Jul 2022 12:27:39 +0000 (14:27 +0200)
commit40323fd8c6e2474041785d727b86930faa6cd77e
tree5266e1408544934878f441c9a922e74e0502dd10
parent1b462de04c9bf9200027ef26b12c1a2deebdef85
Add a parent for static features

Create a maven plugin, template-feature-plugin, which replaces
mustache-enclosed tags in feature.xml with versions from pom.xml.
We process src/main/feature/template.xml and generate a
target/feature/templated-feature.xml.

Also add template-feature-parent, a POM for static features, which
wires templated-feature.xml with karaf-plugin and SFT to form package
and validate the feature.

JIRA: ODLPARENT-235
Change-Id: I2a8e1b4114e9bb2954ede8511bd991b0fca781cd
Signed-off-by: Dominik Vrbovsky <dominik.vrbovsky@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
features/odl-antlr4/pom.xml
features/odl-antlr4/src/main/feature/template.xml [new file with mode: 0644]
features/odl-antlr4/src/main/history/dependencies.xml [deleted file]
pom.xml
template-feature-parent/pom.xml [new file with mode: 0644]
template-feature-plugin/pom.xml [new file with mode: 0644]
template-feature-plugin/src/main/java/org/opendaylight/odlparent/template/feature/plugin/GenerateFeatureMojo.java [new file with mode: 0644]
template-feature-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml [new file with mode: 0644]
template-feature-plugin/src/test/java/org/opendaylight/odlparent/template/feature/plugin/GenerateFeatureMojoTest.java [new file with mode: 0644]