blob: 98e2602cb204ff5dbe59bc04249b6ba8e88a6d79 [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>
Ray Milkeybbcd6a72017-11-22 19:03:05 -080024 <version>1.11.2-SNAPSHOT</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>
61 </dependency>
62 -->
tom7ef8ff92014-09-17 13:08:06 -070063 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -080064 <groupId>org.onosproject</groupId>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -070065 <artifactId>onos-protocols-openflow-api</artifactId>
66 <version>${project.version}</version>
tom7ef8ff92014-09-17 13:08:06 -070067 </dependency>
tom73d6d1e2014-09-17 20:08:01 -070068 <dependency>
Brian O'Connor01ac79e2016-04-04 14:10:09 -070069 <groupId>org.onosproject</groupId>
70 <artifactId>openflowj</artifactId>
71 </dependency>
72 <dependency>
tom7ef8ff92014-09-17 13:08:06 -070073 <groupId>org.apache.felix</groupId>
74 <artifactId>org.apache.felix.scr.annotations</artifactId>
tom7ef8ff92014-09-17 13:08:06 -070075 </dependency>
Thomas Vachuska80b0a802015-07-17 08:43:30 -070076 <dependency>
Jonathan Hartbbd91d42015-02-27 11:18:04 -080077 <groupId>org.osgi</groupId>
78 <artifactId>org.osgi.compendium</artifactId>
79 </dependency>
Ray Milkeyd931a9b2016-03-02 17:01:30 -080080 <dependency>
81 <groupId>org.onosproject</groupId>
82 <artifactId>onos-api</artifactId>
83 <scope>test</scope>
84 <classifier>tests</classifier>
Ray Milkeyd931a9b2016-03-02 17:01:30 -080085 </dependency>
tom7ef8ff92014-09-17 13:08:06 -070086 </dependencies>
87
tom7ef8ff92014-09-17 13:08:06 -070088 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.apache.felix</groupId>
92 <artifactId>maven-scr-plugin</artifactId>
93 </plugin>
Charles Chan3b00e1b2015-08-26 23:12:52 +080094 <plugin>
95 <groupId>org.onosproject</groupId>
96 <artifactId>onos-maven-plugin</artifactId>
97 </plugin>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -070098
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
tom7ef8ff92014-09-17 13:08:06 -0700130 </plugins>
131 </build>
132
133</project>