From 8dfb1b7e0d6490bfd64502027785204c113d0044 Mon Sep 17 00:00:00 2001 From: Moiz Raja Date: Tue, 11 Nov 2014 16:55:45 -0800 Subject: [PATCH 1/1] BUG 2335 : Add jolokia feature This is to make it easy to install jolokia. Earlier it was possible to install the jolokia bundle the feature just makes it more convenient. With this patch I have created a placeholder for extra features. This is where tiny little utility features of the controller can be put in. Change-Id: Ifd980656d368902b13834e1e77783151536ca87c Signed-off-by: Moiz Raja --- features/extras/pom.xml | 116 ++++++++++++++++++ .../extras/src/main/resources/features.xml | 25 ++++ features/pom.xml | 3 +- .../distribution/opendaylight-karaf/pom.xml | 8 ++ 4 files changed, 151 insertions(+), 1 deletion(-) create mode 100644 features/extras/pom.xml create mode 100644 features/extras/src/main/resources/features.xml diff --git a/features/extras/pom.xml b/features/extras/pom.xml new file mode 100644 index 0000000000..20089c726a --- /dev/null +++ b/features/extras/pom.xml @@ -0,0 +1,116 @@ + + + + + 4.0.0 + + org.opendaylight.controller + commons.opendaylight + 1.5.0-SNAPSHOT + ../../opendaylight/commons/opendaylight + + features-extras + org.opendaylight.controller + jar + + features.xml + + 1.1.0-SNAPSHOT + 1.5.0-SNAPSHOT + 3.0.1 + 0.7.0-SNAPSHOT + 1.5.0-SNAPSHOT + 2.16 + + + + org.jolokia + jolokia-osgi + ${jolokia.version} + + + org.opendaylight.yangtools + features-test + ${feature.test.version} + test + + + + org.opendaylight.controller + opendaylight-karaf-empty + ${karaf.empty.version} + zip + + + + + + 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.yangtools:features-test + + + + + + + scm:git:ssh://git.opendaylight.org:29418/controller.git + scm:git:ssh://git.opendaylight.org:29418/controller.git + HEAD + https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary + + diff --git a/features/extras/src/main/resources/features.xml b/features/extras/src/main/resources/features.xml new file mode 100644 index 0000000000..e7423ea17e --- /dev/null +++ b/features/extras/src/main/resources/features.xml @@ -0,0 +1,25 @@ + + + + + + + + odl-jolokia + + + http + mvn:org.jolokia/jolokia-osgi/${jolokia.version} + + diff --git a/features/pom.xml b/features/pom.xml index ba938c6a6f..8be9f552f8 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -23,5 +23,6 @@ akka netconf-connector restconf + extras - \ No newline at end of file + diff --git a/opendaylight/distribution/opendaylight-karaf/pom.xml b/opendaylight/distribution/opendaylight-karaf/pom.xml index e44b569759..f4ca2217ce 100644 --- a/opendaylight/distribution/opendaylight-karaf/pom.xml +++ b/opendaylight/distribution/opendaylight-karaf/pom.xml @@ -82,6 +82,14 @@ xml runtime + + org.opendaylight.controller + features-extras + ${project.version} + features + xml + runtime + org.opendaylight.controller features-flow -- 2.36.6