From 196056a95e914cf9f9d4dbb6b9e25641112b2e1a Mon Sep 17 00:00:00 2001 From: Michal Rehak Date: Fri, 25 Oct 2013 14:49:17 +0200 Subject: [PATCH] changed pom structure, removed dependency on controller parent pom Change-Id: I13a084328291cb32e698a84a378b3d1c22e16cf3 Signed-off-by: Michal Rehak --- commons/pom.xml | 211 ++++++++++++++++++++--- openflow_netty/pom.xml | 2 +- openflowplugin-it/pom.xml | 7 +- pom.xml => openflowplugin-parent/pom.xml | 9 +- openflowplugin/pom.xml | 22 +-- samples/sample-consumer/pom.xml | 2 +- 6 files changed, 196 insertions(+), 57 deletions(-) rename pom.xml => openflowplugin-parent/pom.xml (75%) diff --git a/commons/pom.xml b/commons/pom.xml index 73ebe47aac..ee91bf3e58 100755 --- a/commons/pom.xml +++ b/commons/pom.xml @@ -6,26 +6,158 @@ 3.0 - - org.opendaylight.controller - commons.opendaylight - 1.4.1-SNAPSHOT - org.opendaylight.openflowplugin - commons.openflowplugin + openflowplugin-commons 0.0.1-SNAPSHOT pom + + scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git + scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git + https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main + HEAD + + + + + + opendaylight-release + ${nexusproxy}/repositories/opendaylight.release/ + + + + opendaylight-snapshot + ${nexusproxy}/repositories/opendaylight.snapshot/ + + + + + utf-8 + 1.7.2 + 1.0.9 + http://nexus.opendaylight.org/content + 0.1-SNAPSHOT + 1.0-SNAPSHOT + + org.javassist + javassist + 3.17.1-GA + + + + com.google.guava + guava + 14.0.1 + + + equinoxSDK381 + org.eclipse.osgi + 3.8.1.v20120830-144521 + + + org.opendaylight.openflowjava + openflow-protocol-impl + ${openflowjava.version} + + + org.opendaylight.openflowjava + openflow-protocol-api + ${openflowjava.version} + + + org.opendaylight.openflowjava + openflow-protocol-spi + ${openflowjava.version} + + + org.opendaylight.openflowjava + simple-client + ${openflowjava.version} + + + + org.opendaylight.controller + sal + 0.5.1-SNAPSHOT + + + org.opendaylight.controller + sal.connection + 0.1.1-SNAPSHOT + + + org.opendaylight.controller.thirdparty + org.openflow.openflowj + 1.0.2-SNAPSHOT + + + org.opendaylight.controller.model + model-flow-base + ${controller.model.version} + + + org.opendaylight.controller.model + model-flow-service + ${controller.model.version} + + + org.opendaylight.controller.model + model-flow-statistics + ${controller.model.version} + + + org.opendaylight.controller.model + model-inventory + ${controller.model.version} + + + org.opendaylight.controller + sal-binding-api + ${controller.model.version} + + org.slf4j slf4j-log4j12 - 1.7.2 + ${slf4j.version} + + + org.slf4j + log4j-over-slf4j + ${slf4j.version} + + + ch.qos.logback + logback-core + ${logback.version} + + + ch.qos.logback + logback-classic + ${logback.version} + + + + org.opendaylight.yangtools.thirdparty + xtend-lib-osgi + 2.4.3 + test + + + + junit + junit + 4.8.1 + test @@ -41,7 +173,13 @@ 1.7 + + org.ops4j.pax.exam + maven-paxexam-plugin + 1.2.4 + + @@ -61,30 +199,49 @@ - - - opendaylight-release - opendaylight-release - http://nexus.opendaylight.org/content/repositories/opendaylight.release/ - - - - opendaylight-snapshot - opendaylight-snapshot - http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ - + + opendaylight-release + opendaylight-release + ${nexusproxy}/repositories/opendaylight.release/ + + false + + + + opendaylight-snapshot + opendaylight-snapshot + ${nexusproxy}/repositories/opendaylight.snapshot/ + + false + + + + thirdparty + thirdparty + ${nexusproxy}/repositories/thirdparty/ + + false + + + - - central2 - central2 - http://nexus.opendaylight.org/content/repositories/central2/ - - + + opendaylight-central + opendaylight-central + ${nexusproxy}/repositories/central/ + + false + + + opendaylight-snapshot central2 - http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ - + ${nexusproxy}/repositories/opendaylight.snapshot/ + + false + + \ No newline at end of file diff --git a/openflow_netty/pom.xml b/openflow_netty/pom.xml index d6f3dc4dcf..6e85591012 100644 --- a/openflow_netty/pom.xml +++ b/openflow_netty/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.opendaylight.openflowplugin - commons.openflowplugin + openflowplugin-commons 0.0.1-SNAPSHOT ../commons diff --git a/openflowplugin-it/pom.xml b/openflowplugin-it/pom.xml index 63105f102f..bf4252e04a 100644 --- a/openflowplugin-it/pom.xml +++ b/openflowplugin-it/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.opendaylight.openflowplugin - commons.openflowplugin + openflowplugin-commons 0.0.1-SNAPSHOT ../commons @@ -19,7 +19,6 @@ org.ops4j.pax.exam maven-paxexam-plugin - 1.2.4 generate-config @@ -92,13 +91,11 @@ org.opendaylight.openflowjava openflow-protocol-impl - 0.1-SNAPSHOT test org.opendaylight.openflowjava simple-client - 0.1-SNAPSHOT test @@ -110,7 +107,6 @@ org.opendaylight.yangtools.thirdparty xtend-lib-osgi - 2.4.3 test @@ -134,7 +130,6 @@ equinoxSDK381 org.eclipse.osgi - 3.8.1.v20120830-144521 test diff --git a/pom.xml b/openflowplugin-parent/pom.xml similarity index 75% rename from pom.xml rename to openflowplugin-parent/pom.xml index aea3a23f60..227ed55873 100644 --- a/pom.xml +++ b/openflowplugin-parent/pom.xml @@ -8,11 +8,10 @@ pom - commons - openflow_netty - openflowplugin - openflowplugin-it + ../commons + ../openflow_netty + ../openflowplugin + ../openflowplugin-it - diff --git a/openflowplugin/pom.xml b/openflowplugin/pom.xml index 8fd2d81677..55fd5d2f50 100644 --- a/openflowplugin/pom.xml +++ b/openflowplugin/pom.xml @@ -4,22 +4,19 @@ 4.0.0 org.opendaylight.openflowplugin - commons.openflowplugin + openflowplugin-commons 0.0.1-SNAPSHOT ../commons openflowplugin - 0.0.1-SNAPSHOT bundle 1.0-SNAPSHOT 0.5.9-SNAPSHOT - 0.1-SNAPSHOT - @@ -61,39 +58,32 @@ 1.0.2-SNAPSHOT - model-flow-base org.opendaylight.controller.model - 1.0-SNAPSHOT + model-flow-base - model-flow-service org.opendaylight.controller.model - 1.0-SNAPSHOT + model-flow-service - model-flow-statistics org.opendaylight.controller.model - 1.0-SNAPSHOT + model-flow-statistics - model-inventory org.opendaylight.controller.model - 1.0-SNAPSHOT + model-inventory org.opendaylight.controller sal-binding-api - 1.0-SNAPSHOT org.opendaylight.openflowjava openflow-protocol-api - ${openflow-protocol.version} org.opendaylight.openflowjava openflow-protocol-spi - ${openflow-protocol.version} @@ -109,13 +99,11 @@ junit junit - 4.8.1 test org.slf4j slf4j-log4j12 - ${slf4j.version} org.opendaylight.controller diff --git a/samples/sample-consumer/pom.xml b/samples/sample-consumer/pom.xml index b4382fd2b2..0c354934ed 100644 --- a/samples/sample-consumer/pom.xml +++ b/samples/sample-consumer/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.opendaylight.openflowplugin - commons.openflowplugin + openflowplugin-commons 0.0.1-SNAPSHOT ../../commons -- 2.36.6