fix maven build

Change-Id: Ibc4d49eeac91275365fece235329e971b0f48e4b
This commit is contained in:
Yuta HIGUCHI 2017-11-13 18:48:31 -08:00
parent 6fefd85dfa
commit da1e199089
5 changed files with 67 additions and 9 deletions

View File

@ -42,7 +42,6 @@
<module>rpc-nb</module>
<module>protobuf-nb</module>
<module>grpc</module>
<module>bmv2</module>
</modules>
<dependencies>

View File

@ -29,16 +29,19 @@
<packaging>bundle</packaging>
<dependencies>
<dependency>
<groupId>org.onosproject</groupId>
<artifactId>onos-incubator-bmv2-model</artifactId>
<artifactId>onos-protocols-p4runtime-model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.onosproject</groupId>
<artifactId>onos-protocols-p4runtime-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.onosproject</groupId>
<artifactId>onos-drivers-default</artifactId>

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2017-present Open Networking Foundation
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>onos-protocols-p4runtime</artifactId>
<groupId>org.onosproject</groupId>
<version>1.12.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<description>ONOS P4 Runtime model</description>
<artifactId>onos-protocols-p4runtime-model</artifactId>
<packaging>bundle</packaging>
<dependencies>
<dependency>
<groupId>org.onosproject</groupId>
<artifactId>onos-api</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>org.onosproject</groupId>
<artifactId>onos-protocols-p4runtime-proto</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>

View File

@ -32,14 +32,11 @@
<modules>
<module>api</module>
<module>proto</module>
<module>ctl</module>
<module>proto</module>
<module>ctl</module>
<module>model</module>
</modules>
<!--<properties>
<onos.app.name>org.onosproject.drivers</onos.app.name>
</properties>-->
<dependencies>
<dependency>

View File

@ -29,7 +29,6 @@
<description>ONOS P4Runtime Proto</description>
<properties>
<os.detected.classifier>linux-x86_64</os.detected.classifier>
<protobuf.version>3.0.2</protobuf.version>
<piCommit>a8814a8ac40838a9df83fe47a17a025b69026fcf</piCommit>
<piBaseUrl>https://github.com/p4lang/PI.git</piBaseUrl>
@ -60,6 +59,15 @@
</dependencies>
<build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.5.0.Final</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>