From: Thomas Bachman Date: Fri, 29 Aug 2014 10:10:15 +0000 (+0000) Subject: Adding karaf files to project. X-Git-Tag: release/helium~7 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=9e857fb22a9dd325cd4840c96d2eb177bc3dfaa0;p=groupbasedpolicy.git Adding karaf files to project. These changes allow the project to be built and tested using karaf locally in the distribution/karaf directory (mvn clean install, followed by cd to target/assmbly/bin and running ./karaf). Change-Id: I0717f9cbdab46d7973f8c861fcb3916394352f84 Signed-off-by: Thomas Bachman --- diff --git a/commons/parent/pom.xml b/commons/parent/pom.xml index ca84b6445..fe2e16735 100644 --- a/commons/parent/pom.xml +++ b/commons/parent/pom.xml @@ -21,6 +21,8 @@ 0.1.2-SNAPSHOT 0.0.3-SNAPSHOT 0.5-SNAPSHOT + etc/opendaylight/karaf + 15-groupbasedpolicy-ofoverlay.xml diff --git a/features/pom.xml b/features/pom.xml new file mode 100644 index 000000000..724cc5f2d --- /dev/null +++ b/features/pom.xml @@ -0,0 +1,165 @@ + + + 4.0.0 + + commons.groupbasedpolicy + org.opendaylight.groupbasedpolicy + 0.1.0-SNAPSHOT + ../commons/parent + + features-groupbasedpolicy + org.opendaylight.groupbasedpolicy + jar + + features.xml + 1.0.0-SNAPSHOT + 1.4.2-SNAPSHOT + 3.0.1 + 0.6.2-SNAPSHOT + 1.4.2-SNAPSHOT + 2.16 + + + + org.opendaylight.yangtools + features-yangtools + 0.6.2-SNAPSHOT + features + xml + + + org.opendaylight.controller + features-mdsal + 1.1-SNAPSHOT + features + xml + + + org.opendaylight.openflowplugin + features-openflowplugin + 0.0.3-SNAPSHOT + features + xml + + + org.opendaylight.groupbasedpolicy + groupbasedpolicy + ${project.version} + + + + org.opendaylight.yangtools + features-test + ${feature.test.version} + test + + + org.opendaylight.groupbasedpolicy + groupbasedpolicy-ofoverlay-config + ${project.version} + xml + config + + + + + org.opendaylight.controller + opendaylight-karaf-empty + ${karaf.empty.version} + zip + + + org.opendaylight.ovsdb + features-openflow-nxm + 0.0.3-SNAPSHOT + features + xml + + + org.opendaylight.openflowplugin + features-openflowplugin + 0.0.3-SNAPSHOT + features + xml + + + org.opendaylight.ovsdb + features-openflow-nxm + 0.0.3-SNAPSHOT + features + xml + + + + + + 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/groupbasedpolicy.git + scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git + HEAD + https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=summary + + diff --git a/features/src/main/resources/features.xml b/features/src/main/resources/features.xml new file mode 100644 index 000000000..1cf84de9e --- /dev/null +++ b/features/src/main/resources/features.xml @@ -0,0 +1,29 @@ + + + + + mvn:org.opendaylight.yangtools/features-yangtools/0.6.2-SNAPSHOT/xml/features + mvn:org.opendaylight.controller/features-mdsal/1.1-SNAPSHOT/xml/features + mvn:org.opendaylight.openflowplugin/features-openflowplugin/0.0.3-SNAPSHOT/xml/features + mvn:org.opendaylight.ovsdb/features-openflow-nxm/0.0.3-SNAPSHOT/xml/features + + odl-mdsal-broker + odl-yangtools-binding + odl-yangtools-models + odl-openflowplugin-flow-services + odl-openflow-nxm-extensions + mvn:org.opendaylight.groupbasedpolicy/groupbasedpolicy/${project.version} + mvn:com.fasterxml.jackson.core/jackson-annotations/${jackson.version} + mvn:com.fasterxml.jackson.core/jackson-core/${jackson.version} + mvn:com.fasterxml.jackson.core/jackson-databind/${jackson.version} + mvn:org.opendaylight.groupbasedpolicy/groupbasedpolicy-ofoverlay-config/${project.version}/xml/config + + diff --git a/groupbasedpolicy-ofoverlay-config/.gitignore b/groupbasedpolicy-ofoverlay-config/.gitignore new file mode 100644 index 000000000..a48e45b9d --- /dev/null +++ b/groupbasedpolicy-ofoverlay-config/.gitignore @@ -0,0 +1 @@ +/target-ide diff --git a/groupbasedpolicy-ofoverlay-config/pom.xml b/groupbasedpolicy-ofoverlay-config/pom.xml new file mode 100644 index 000000000..70dfcef74 --- /dev/null +++ b/groupbasedpolicy-ofoverlay-config/pom.xml @@ -0,0 +1,49 @@ + + + + + 4.0.0 + + org.opendaylight.groupbasedpolicy + commons.groupbasedpolicy + 0.1.0-SNAPSHOT + ../commons/parent + + + org.opendaylight.groupbasedpolicy + groupbasedpolicy-ofoverlay-config + Controller Configuration files for groupbasedpolicy + jar + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + + attach-artifact + + package + + + + ${project.build.directory}/classes/initial/15-groupbasedpolicy-ofoverlay.xml + xml + config + + + + + + + + + diff --git a/groupbasedpolicy-ofoverlay-config/src/main/resources/initial/15-groupbasedpolicy-ofoverlay.xml b/groupbasedpolicy-ofoverlay-config/src/main/resources/initial/15-groupbasedpolicy-ofoverlay.xml new file mode 100644 index 000000000..2d59c5a36 --- /dev/null +++ b/groupbasedpolicy-ofoverlay-config/src/main/resources/initial/15-groupbasedpolicy-ofoverlay.xml @@ -0,0 +1,40 @@ + + + + + + + + + + ofoverlay:ofoverlay-provider-impl + + ofoverlay-provider-impl + + + binding:binding-rpc-registry + binding-rpc-broker + + + + binding:binding-async-data-broker + binding-data-broker + + + + + + + + + urn:opendaylight:params:xml:ns:yang:controller:config:ofoverlay-provider:impl?module=ofoverlay-provider-impl&revision=2014-06-11 + + + + diff --git a/pom.xml b/pom.xml index 4a26a389f..74872a236 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,9 @@ commons/parent groupbasedpolicy + groupbasedpolicy-ofoverlay-config distribution + features