blob: ff0c7e313f7372d15c341ed11150d5421cfda2b9 [file] [log] [blame]
Thomas Vachuska781d18b2014-10-27 10:31:25 -07001<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 ~ Copyright 2015-present Open Networking Foundation
Thomas Vachuska781d18b2014-10-27 10:31:25 -07003 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07004 ~ 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 Vachuska781d18b2014-10-27 10:31:25 -07007 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07008 ~ 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 Vachuska781d18b2014-10-27 10:31:25 -070015 -->
tom7ef8ff92014-09-17 13:08:06 -070016<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'Connorabafb502014-12-02 22:26:20 -080022 <groupId>org.onosproject</groupId>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -070023 <artifactId>onos-protocols-openflow</artifactId>
ONOS Jenkins Usercff0bd82018-08-13 23:15:43 +000024 <version>1.14.0-rc1</version>
tom7ef8ff92014-09-17 13:08:06 -070025 </parent>
26
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -070027 <artifactId>onos-protocols-openflow-ctl</artifactId>
tom7ef8ff92014-09-17 13:08:06 -070028 <packaging>bundle</packaging>
29
30 <description>ONOS OpenFlow controller subsystem API</description>
31
tom7ef8ff92014-09-17 13:08:06 -070032 <dependencies>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -070033
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 HIGUCHIb5e6e062017-11-06 18:14:44 -080061 <classifier>osx-x86_64</classifier>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -070062 </dependency>
63 -->
tom7ef8ff92014-09-17 13:08:06 -070064 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -080065 <groupId>org.onosproject</groupId>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -070066 <artifactId>onos-protocols-openflow-api</artifactId>
67 <version>${project.version}</version>
tom7ef8ff92014-09-17 13:08:06 -070068 </dependency>
tom73d6d1e2014-09-17 20:08:01 -070069 <dependency>
Brian O'Connor01ac79e2016-04-04 14:10:09 -070070 <groupId>org.onosproject</groupId>
71 <artifactId>openflowj</artifactId>
72 </dependency>
73 <dependency>
tom7ef8ff92014-09-17 13:08:06 -070074 <groupId>org.apache.felix</groupId>
75 <artifactId>org.apache.felix.scr.annotations</artifactId>
tom7ef8ff92014-09-17 13:08:06 -070076 </dependency>
Thomas Vachuska80b0a802015-07-17 08:43:30 -070077 <dependency>
Jonathan Hartbbd91d42015-02-27 11:18:04 -080078 <groupId>org.osgi</groupId>
79 <artifactId>org.osgi.compendium</artifactId>
80 </dependency>
Ray Milkeyd931a9b2016-03-02 17:01:30 -080081 <dependency>
82 <groupId>org.onosproject</groupId>
83 <artifactId>onos-api</artifactId>
84 <scope>test</scope>
85 <classifier>tests</classifier>
Ray Milkeyd931a9b2016-03-02 17:01:30 -080086 </dependency>
tom7ef8ff92014-09-17 13:08:06 -070087 </dependencies>
88
tom7ef8ff92014-09-17 13:08:06 -070089 <build>
90 <plugins>
91 <plugin>
92 <groupId>org.apache.felix</groupId>
93 <artifactId>maven-scr-plugin</artifactId>
94 </plugin>
Charles Chan3b00e1b2015-08-26 23:12:52 +080095 <plugin>
96 <groupId>org.onosproject</groupId>
97 <artifactId>onos-maven-plugin</artifactId>
98 </plugin>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -070099
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 HIGUCHIdc86de72017-11-08 20:43:27 -0800118 META-INF/native/libnetty-transport-native-epoll.so;osname=linux;processor=x86_64,
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -0700119 *
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
tom7ef8ff92014-09-17 13:08:06 -0700131 </plugins>
132 </build>
133
134</project>