Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 1 | <!-- |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | ~ Copyright 2015-present Open Networking Laboratory |
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 | 64313cb | 2017-07-20 15:46:52 -0700 | [diff] [blame] | 24 | <version>1.11.0-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> |
| 61 | </dependency> |
| 62 | --> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 63 | <dependency> |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 64 | <groupId>org.onosproject</groupId> |
Yuta HIGUCHI | 6ee6b8c | 2017-05-09 14:44:30 -0700 | [diff] [blame] | 65 | <artifactId>onos-protocols-openflow-api</artifactId> |
| 66 | <version>${project.version}</version> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 67 | </dependency> |
tom | 73d6d1e | 2014-09-17 20:08:01 -0700 | [diff] [blame] | 68 | <dependency> |
Brian O'Connor | 01ac79e | 2016-04-04 14:10:09 -0700 | [diff] [blame] | 69 | <groupId>org.onosproject</groupId> |
| 70 | <artifactId>openflowj</artifactId> |
| 71 | </dependency> |
| 72 | <dependency> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 73 | <groupId>org.apache.felix</groupId> |
| 74 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 75 | </dependency> |
Thomas Vachuska | 80b0a80 | 2015-07-17 08:43:30 -0700 | [diff] [blame] | 76 | <dependency> |
Jonathan Hart | bbd91d4 | 2015-02-27 11:18:04 -0800 | [diff] [blame] | 77 | <groupId>org.osgi</groupId> |
| 78 | <artifactId>org.osgi.compendium</artifactId> |
| 79 | </dependency> |
Ray Milkey | d931a9b | 2016-03-02 17:01:30 -0800 | [diff] [blame] | 80 | <dependency> |
| 81 | <groupId>org.onosproject</groupId> |
| 82 | <artifactId>onos-api</artifactId> |
| 83 | <scope>test</scope> |
| 84 | <classifier>tests</classifier> |
Ray Milkey | d931a9b | 2016-03-02 17:01:30 -0800 | [diff] [blame] | 85 | </dependency> |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 86 | </dependencies> |
| 87 | |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 88 | <build> |
| 89 | <plugins> |
| 90 | <plugin> |
| 91 | <groupId>org.apache.felix</groupId> |
| 92 | <artifactId>maven-scr-plugin</artifactId> |
| 93 | </plugin> |
Charles Chan | 3b00e1b | 2015-08-26 23:12:52 +0800 | [diff] [blame] | 94 | <plugin> |
| 95 | <groupId>org.onosproject</groupId> |
| 96 | <artifactId>onos-maven-plugin</artifactId> |
| 97 | </plugin> |
Yuta HIGUCHI | 6ee6b8c | 2017-05-09 14:44:30 -0700 | [diff] [blame] | 98 | |
| 99 | <plugin> |
| 100 | <groupId>org.apache.felix</groupId> |
| 101 | <artifactId>maven-bundle-plugin</artifactId> |
| 102 | |
| 103 | <!-- |
| 104 | Netty native code related utils seems to assume, |
| 105 | Native related loading uses same class loader(~=bundle) |
| 106 | Embed inline required slice of netty-common and native-transport |
| 107 | --> |
| 108 | <configuration> |
| 109 | <instructions combine.children="append"> |
| 110 | <DynamicImport-Package>*</DynamicImport-Package> |
| 111 | <Embed-Dependency> |
| 112 | netty-transport-native-epoll;inline=true, |
| 113 | *;artifactId=netty-common;inline=io/netty/util/internal/*, |
| 114 | </Embed-Dependency> |
| 115 | <Embed-Transitive>false</Embed-Transitive> |
| 116 | <Bundle-NativeCode> |
| 117 | META-INF/native/libnetty-transport-native-epoll.so;osname=linux;processor=x86_64, |
| 118 | * |
| 119 | </Bundle-NativeCode> |
| 120 | <Import-Package> |
| 121 | sun.misc;resolution:=optional, |
| 122 | org.apache.commons.logging;resolution:=optional, |
| 123 | org.apache.logging.log4j;resolution:=optional, |
| 124 | * |
| 125 | </Import-Package> |
| 126 | </instructions> |
| 127 | </configuration> |
| 128 | </plugin> |
| 129 | |
tom | 7ef8ff9 | 2014-09-17 13:08:06 -0700 | [diff] [blame] | 130 | </plugins> |
| 131 | </build> |
| 132 | |
| 133 | </project> |