Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 1 | <!-- |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 2 | ~ Copyright 2015-present Open Networking Foundation |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 3 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 7 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License. |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 15 | --> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 16 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 17 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 19 | <modelVersion>4.0.0</modelVersion> |
| 20 | |
| 21 | <parent> |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 22 | <groupId>org.onosproject</groupId> |
Yuta HIGUCHI | 6ee6b8c | 2017-05-09 14:44:30 -0700 | [diff] [blame] | 23 | <artifactId>onos-protocols-openflow</artifactId> |
Ray Milkey | b62be50 | 2017-12-11 15:49:07 -0800 | [diff] [blame^] | 24 | <version>1.12.1-SNAPSHOT</version> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 25 | </parent> |
| 26 | |
Yuta HIGUCHI | 6ee6b8c | 2017-05-09 14:44:30 -0700 | [diff] [blame] | 27 | <artifactId>onos-protocols-openflow-ctl</artifactId> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 28 | <packaging>bundle</packaging> |
| 29 | |
| 30 | <description>ONOS OpenFlow controller subsystem API</description> |
| 31 | |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 32 | <dependencies> |
Yuta HIGUCHI | 6ee6b8c | 2017-05-09 14:44:30 -0700 | [diff] [blame] | 33 | |
| 34 | <dependency> |
| 35 | <groupId>io.netty</groupId> |
| 36 | <artifactId>netty-transport</artifactId> |
| 37 | </dependency> |
| 38 | |
| 39 | <dependency> |
| 40 | <groupId>io.netty</groupId> |
| 41 | <artifactId>netty-common</artifactId> |
| 42 | </dependency> |
| 43 | |
| 44 | <dependency> |
| 45 | <groupId>io.netty</groupId> |
| 46 | <artifactId>netty-all</artifactId> |
| 47 | <version>${netty4.version}</version> |
| 48 | </dependency> |
| 49 | |
| 50 | <dependency> |
| 51 | <groupId>io.netty</groupId> |
| 52 | <artifactId>netty-transport-native-epoll</artifactId> |
| 53 | <version>${netty4.version}</version> |
| 54 | <classifier>linux-x86_64</classifier> |
| 55 | </dependency> |
| 56 | <!-- |
| 57 | <dependency> |
| 58 | <groupId>io.netty</groupId> |
| 59 | <artifactId>netty-transport-native-kqueue</artifactId> |
| 60 | <version>${netty4.version}</version> |
Yuta HIGUCHI | b5e6e06 | 2017-11-06 18:14:44 -0800 | [diff] [blame] | 61 | <classifier>osx-x86_64</classifier> |
Yuta HIGUCHI | 6ee6b8c | 2017-05-09 14:44:30 -0700 | [diff] [blame] | 62 | </dependency> |
| 63 | --> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 64 | <dependency> |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 65 | <groupId>org.onosproject</groupId> |
Yuta HIGUCHI | 6ee6b8c | 2017-05-09 14:44:30 -0700 | [diff] [blame] | 66 | <artifactId>onos-protocols-openflow-api</artifactId> |
| 67 | <version>${project.version}</version> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 68 | </dependency> |
tom | 73d6d1e | 2014-09-17 20:08:01 -0700 | [diff] [blame] | 69 | <dependency> |
Brian O'Connor | 01ac79e | 2016-04-04 14:10:09 -0700 | [diff] [blame] | 70 | <groupId>org.onosproject</groupId> |
| 71 | <artifactId>openflowj</artifactId> |
| 72 | </dependency> |
| 73 | <dependency> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 74 | <groupId>org.apache.felix</groupId> |
| 75 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 76 | </dependency> |
Thomas Vachuska | 80b0a80 | 2015-07-17 08:43:30 -0700 | [diff] [blame] | 77 | <dependency> |
Jonathan Hart | bbd91d4 | 2015-02-27 11:18:04 -0800 | [diff] [blame] | 78 | <groupId>org.osgi</groupId> |
| 79 | <artifactId>org.osgi.compendium</artifactId> |
| 80 | </dependency> |
Ray Milkey | d931a9b | 2016-03-02 17:01:30 -0800 | [diff] [blame] | 81 | <dependency> |
| 82 | <groupId>org.onosproject</groupId> |
| 83 | <artifactId>onos-api</artifactId> |
| 84 | <scope>test</scope> |
| 85 | <classifier>tests</classifier> |
Ray Milkey | d931a9b | 2016-03-02 17:01:30 -0800 | [diff] [blame] | 86 | </dependency> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 87 | </dependencies> |
| 88 | |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 89 | <build> |
| 90 | <plugins> |
| 91 | <plugin> |
| 92 | <groupId>org.apache.felix</groupId> |
| 93 | <artifactId>maven-scr-plugin</artifactId> |
| 94 | </plugin> |
Charles Chan | 3b00e1b | 2015-08-26 23:12:52 +0800 | [diff] [blame] | 95 | <plugin> |
| 96 | <groupId>org.onosproject</groupId> |
| 97 | <artifactId>onos-maven-plugin</artifactId> |
| 98 | </plugin> |
Yuta HIGUCHI | 6ee6b8c | 2017-05-09 14:44:30 -0700 | [diff] [blame] | 99 | |
| 100 | <plugin> |
| 101 | <groupId>org.apache.felix</groupId> |
| 102 | <artifactId>maven-bundle-plugin</artifactId> |
| 103 | |
| 104 | <!-- |
| 105 | Netty native code related utils seems to assume, |
| 106 | Native related loading uses same class loader(~=bundle) |
| 107 | Embed inline required slice of netty-common and native-transport |
| 108 | --> |
| 109 | <configuration> |
| 110 | <instructions combine.children="append"> |
| 111 | <DynamicImport-Package>*</DynamicImport-Package> |
| 112 | <Embed-Dependency> |
| 113 | netty-transport-native-epoll;inline=true, |
| 114 | *;artifactId=netty-common;inline=io/netty/util/internal/*, |
| 115 | </Embed-Dependency> |
| 116 | <Embed-Transitive>false</Embed-Transitive> |
| 117 | <Bundle-NativeCode> |
Yuta HIGUCHI | dc86de7 | 2017-11-08 20:43:27 -0800 | [diff] [blame] | 118 | META-INF/native/libnetty-transport-native-epoll.so;osname=linux;processor=x86_64, |
Yuta HIGUCHI | 6ee6b8c | 2017-05-09 14:44:30 -0700 | [diff] [blame] | 119 | * |
| 120 | </Bundle-NativeCode> |
| 121 | <Import-Package> |
| 122 | sun.misc;resolution:=optional, |
| 123 | org.apache.commons.logging;resolution:=optional, |
| 124 | org.apache.logging.log4j;resolution:=optional, |
| 125 | * |
| 126 | </Import-Package> |
| 127 | </instructions> |
| 128 | </configuration> |
| 129 | </plugin> |
| 130 | |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 131 | </plugins> |
| 132 | </build> |
| 133 | |
| 134 | </project> |