From: Stephen Kitt Date: Wed, 23 Dec 2015 11:01:00 +0000 (+0100) Subject: Update features archetypes X-Git-Tag: release/beryllium~25 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=c6ecadb8fe42faf3c4c27a7795d318242ae68a51 Update features archetypes * Use {{VERSION}} in the documentation comments. * Use {{VERSION}} in the generated features.xml. * Remove an invalid space in the schema locations. * Hook up opendaylight-karaf-features to features-parent. * Import yangtools-artifacts in the generated features pom.xml. * Remove redundant versions in the generated features pom.xml. Change-Id: I60e7d49d0d29a1d9040501e7a8fa0a61ef6fc1bc Signed-off-by: Stephen Kitt --- diff --git a/opendaylight/archetypes/opendaylight-karaf-features/src/main/resources/archetype-resources/pom.xml b/opendaylight/archetypes/opendaylight-karaf-features/src/main/resources/archetype-resources/pom.xml index 8b8bc25849..641b6988cd 100644 --- a/opendaylight/archetypes/opendaylight-karaf-features/src/main/resources/archetype-resources/pom.xml +++ b/opendaylight/archetypes/opendaylight-karaf-features/src/main/resources/archetype-resources/pom.xml @@ -8,28 +8,21 @@ --> 4.0.0 - + + org.opendaylight.odlparent + features-parent + 1.6.0-SNAPSHOT + features-${repoName} ${groupId} - jar features.xml - 1.2.0-SNAPSHOT 1.6.0-SNAPSHOT - 3.0.3 1.6.0-SNAPSHOT 1.6.0-SNAPSHOT - 2.16 - - - - src/main/resources - true - - - - - org.apache.maven.plugins - maven-resources-plugin - - - filter - generate-resources - - resources - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - package - - attach-artifact - - - - - ${project.build.directory}/classes/${features.file} - xml - features - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${surefire.version} - - - org.opendaylight.controller - opendaylight-karaf-empty - ${karaf.empty.version} - - - org.opendaylight.odlparent:features-test - - - - - scm:git:ssh://git.opendaylight.org:29418/${repoName}.git scm:git:ssh://git.opendaylight.org:29418/${repoName}.git diff --git a/opendaylight/archetypes/opendaylight-karaf-features/src/main/resources/archetype-resources/src/main/resources/features.xml b/opendaylight/archetypes/opendaylight-karaf-features/src/main/resources/archetype-resources/src/main/resources/features.xml index 1a1eb03d53..f030b906b3 100644 --- a/opendaylight/archetypes/opendaylight-karaf-features/src/main/resources/archetype-resources/src/main/resources/features.xml +++ b/opendaylight/archetypes/opendaylight-karaf-features/src/main/resources/archetype-resources/src/main/resources/features.xml @@ -21,9 +21,9 @@ Necessary TODO: Add repo entries for the repositories of features you refer to in this feature file but do not define here. Examples: - mvn:org.opendaylight.yangtools/features-yangtools/0.8.0-SNAPSHOT/xml/features - mvn:org.opendaylight.controller/features-mdsal/1.3.0-SNAPSHOT/xml/features - mvn:org.opendaylight.openflowplugin/features-openflowplugin/0.2.0-SNAPSHOT/xml/features + mvn:org.opendaylight.yangtools/features-yangtools/{{VERSION}}/xml/features + mvn:org.opendaylight.controller/features-mdsal/{{VERSION}}/xml/features + mvn:org.opendaylight.openflowplugin/features-openflowplugin/{{VERSION}}/xml/features -->