From da1e199089c6aade510aff01efb75cf3ee9f158a Mon Sep 17 00:00:00 2001 From: Yuta HIGUCHI Date: Mon, 13 Nov 2017 18:48:31 -0800 Subject: [PATCH] fix maven build Change-Id: Ibc4d49eeac91275365fece235329e971b0f48e4b --- incubator/pom.xml | 1 - pipelines/basic/pom.xml | 5 ++- protocols/p4runtime/model/pom.xml | 51 +++++++++++++++++++++++++++++++ protocols/p4runtime/pom.xml | 9 ++---- protocols/p4runtime/proto/pom.xml | 10 +++++- 5 files changed, 67 insertions(+), 9 deletions(-) create mode 100644 protocols/p4runtime/model/pom.xml diff --git a/incubator/pom.xml b/incubator/pom.xml index 713bed2a29..952b7b5d9c 100644 --- a/incubator/pom.xml +++ b/incubator/pom.xml @@ -42,7 +42,6 @@ rpc-nb protobuf-nb grpc - bmv2 diff --git a/pipelines/basic/pom.xml b/pipelines/basic/pom.xml index ea234f5a67..f9c5e953d3 100644 --- a/pipelines/basic/pom.xml +++ b/pipelines/basic/pom.xml @@ -29,16 +29,19 @@ bundle + org.onosproject - onos-incubator-bmv2-model + onos-protocols-p4runtime-model ${project.version} + org.onosproject onos-protocols-p4runtime-api ${project.version} + org.onosproject onos-drivers-default diff --git a/protocols/p4runtime/model/pom.xml b/protocols/p4runtime/model/pom.xml new file mode 100644 index 0000000000..327dd72566 --- /dev/null +++ b/protocols/p4runtime/model/pom.xml @@ -0,0 +1,51 @@ + + + + + onos-protocols-p4runtime + org.onosproject + 1.12.0-SNAPSHOT + + 4.0.0 + + ONOS P4 Runtime model + + onos-protocols-p4runtime-model + bundle + + + + org.onosproject + onos-api + + + + io.grpc + grpc-protobuf + 1.3.0 + + + + org.onosproject + onos-protocols-p4runtime-proto + ${project.version} + + + + diff --git a/protocols/p4runtime/pom.xml b/protocols/p4runtime/pom.xml index 6dfdde6697..31af40dbf4 100644 --- a/protocols/p4runtime/pom.xml +++ b/protocols/p4runtime/pom.xml @@ -32,14 +32,11 @@ api - proto - ctl + proto + ctl + model - - diff --git a/protocols/p4runtime/proto/pom.xml b/protocols/p4runtime/proto/pom.xml index 7e16bad064..3ab9a230b0 100644 --- a/protocols/p4runtime/proto/pom.xml +++ b/protocols/p4runtime/proto/pom.xml @@ -29,7 +29,6 @@ ONOS P4Runtime Proto - linux-x86_64 3.0.2 a8814a8ac40838a9df83fe47a17a025b69026fcf https://github.com/p4lang/PI.git @@ -60,6 +59,15 @@ + + + + kr.motd.maven + os-maven-plugin + 1.5.0.Final + + + org.codehaus.mojo