blob: 0658518214fd26c3c84bd9a1ca815786bde3c7ec [file] [log] [blame]
Jian Li156c96f2018-02-28 11:53:14 +09001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2018-present Open Networking Foundation
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
22 <parent>
23 <groupId>org.onosproject</groupId>
24 <artifactId>onos-apps-openstacknetworking</artifactId>
25 <version>1.13.0-SNAPSHOT</version>
26 </parent>
27
28 <artifactId>onos-apps-openstacknetworking-app</artifactId>
29 <packaging>bundle</packaging>
30
31 <description>SONA Openstack Networking Application</description>
32
33 <properties>
34 <web.context>/onos/openstacknetworking</web.context>
35 <api.version>1.0.0</api.version>
36 <api.title>ONOS OpenStack Networking REST API</api.title>
37 <api.description>
38 APIs for interacting with OpenStack Neutron ONOS driver.
39 </api.description>
40 <api.package>org.onosproject.openstacknetworking.web</api.package>
41 </properties>
42
43 <dependencies>
44 <dependency>
45 <groupId>org.onosproject</groupId>
46 <artifactId>onos-api</artifactId>
47 </dependency>
48 <dependency>
49 <groupId>org.onosproject</groupId>
50 <artifactId>onos-apps-openstacknetworking-api</artifactId>
51 <version>${project.version}</version>
52 </dependency>
53 <dependency>
54 <groupId>org.onosproject</groupId>
55 <artifactId>onos-core-serializers</artifactId>
56 <version>${project.version}</version>
57 </dependency>
58 <dependency>
59 <groupId>org.onosproject</groupId>
60 <artifactId>onos-cli</artifactId>
61 <version>${project.version}</version>
62 </dependency>
63 <dependency>
64 <groupId>org.apache.karaf.shell</groupId>
65 <artifactId>org.apache.karaf.shell.console</artifactId>
66 </dependency>
67 <dependency>
68 <groupId>org.apache.felix</groupId>
69 <artifactId>org.apache.felix.scr.annotations</artifactId>
70 </dependency>
71 <dependency>
72 <groupId>org.onosproject</groupId>
73 <artifactId>onos-rest</artifactId>
74 <version>${project.version}</version>
75 </dependency>
76 <dependency>
77 <groupId>org.onosproject</groupId>
78 <artifactId>onlab-rest</artifactId>
79 <version>${project.version}</version>
80 </dependency>
81 <dependency>
82 <groupId>org.onosproject</groupId>
83 <artifactId>onlab-osgi</artifactId>
84 </dependency>
85 <dependency>
86 <groupId>org.onosproject</groupId>
87 <artifactId>onlab-misc</artifactId>
88 </dependency>
89 <dependency>
90 <groupId>org.onosproject</groupId>
91 <artifactId>onos-core-common</artifactId>
92 </dependency>
93 <dependency>
94 <groupId>org.onosproject</groupId>
95 <artifactId>onlab-junit</artifactId>
96 <version>${project.version}</version>
97 <scope>test</scope>
98 </dependency>
99 <dependency>
100 <groupId>org.onosproject</groupId>
101 <artifactId>onos-api</artifactId>
102 <classifier>tests</classifier>
103 <scope>test</scope>
104 </dependency>
105 <dependency>
106 <groupId>org.onosproject</groupId>
107 <artifactId>onos-core-common</artifactId>
108 <classifier>tests</classifier>
109 <scope>test</scope>
110 </dependency>
111 <dependency>
112 <groupId>org.onosproject</groupId>
113 <artifactId>onos-apps-openstacknode-api</artifactId>
114 <version>${project.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>javax.ws.rs</groupId>
118 <artifactId>javax.ws.rs-api</artifactId>
119 </dependency>
120 <dependency>
121 <groupId>com.fasterxml.jackson.core</groupId>
122 <artifactId>jackson-databind</artifactId>
123 </dependency>
124 <dependency>
125 <groupId>com.fasterxml.jackson.core</groupId>
126 <artifactId>jackson-annotations</artifactId>
127 </dependency>
128 <dependency>
129 <groupId>org.osgi</groupId>
130 <artifactId>org.osgi.compendium</artifactId>
131 </dependency>
132 <dependency>
133 <groupId>org.osgi</groupId>
134 <artifactId>org.osgi.core</artifactId>
135 </dependency>
136 <dependency>
137 <groupId>org.glassfish.jersey.core</groupId>
138 <artifactId>jersey-common</artifactId>
139 </dependency>
140 <dependency>
141 <groupId>org.pacesys</groupId>
142 <artifactId>openstack4j-core</artifactId>
143 <version>${openstack4j.version}</version>
144 </dependency>
145 <dependency>
146 <groupId>org.pacesys.openstack4j.connectors</groupId>
147 <artifactId>openstack4j-http-connector</artifactId>
148 <version>${openstack4j.version}</version>
149 </dependency>
150 <dependency>
151 <groupId>org.pacesys.openstack4j.connectors</groupId>
152 <artifactId>openstack4j-httpclient</artifactId>
153 <version>${openstack4j.version}</version>
154 </dependency>
155 <dependency>
156 <groupId>com.github.fge</groupId>
157 <artifactId>json-patch</artifactId>
158 <version>${json-patch.version}</version>
159 </dependency>
160 <dependency>
161 <groupId>com.github.fge</groupId>
162 <artifactId>jackson-coreutils</artifactId>
163 <version>${jackson-coreutils.version}</version>
164 </dependency>
165 <dependency>
166 <groupId>com.github.fge</groupId>
167 <artifactId>btf</artifactId>
168 <version>${btf.version}</version>
169 </dependency>
170 <dependency>
171 <groupId>com.github.fge</groupId>
172 <artifactId>msg-simple</artifactId>
173 <version>${msg-simple.version}</version>
174 </dependency>
175 <dependency>
176 <groupId>org.yaml</groupId>
177 <artifactId>snakeyaml</artifactId>
178 <version>${snakeyaml.version}</version>
179 </dependency>
180
181 <dependency>
182 <groupId>org.glassfish.jersey.core</groupId>
183 <artifactId>jersey-client</artifactId>
184 </dependency>
185 <dependency>
186 <groupId>org.glassfish.jersey.containers</groupId>
187 <artifactId>jersey-container-servlet</artifactId>
188 </dependency>
189
190 <dependency>
191 <groupId>org.glassfish.jersey.test-framework</groupId>
192 <artifactId>jersey-test-framework-core</artifactId>
193 <scope>test</scope>
194 </dependency>
195
196 <dependency>
197 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
198 <artifactId>jersey-test-framework-provider-jetty</artifactId>
199 <scope>test</scope>
200 </dependency>
201
202 <dependency>
203 <groupId>org.onosproject</groupId>
204 <artifactId>onlab-osgi</artifactId>
205 <classifier>tests</classifier>
206 <scope>test</scope>
207 </dependency>
208
209 <dependency>
210 <groupId>org.onosproject</groupId>
211 <artifactId>onos-rest</artifactId>
212 <version>${project.version}</version>
213 <classifier>tests</classifier>
214 <scope>test</scope>
215 </dependency>
216 </dependencies>
217
218 <build>
219 <plugins>
220 <plugin>
221 <groupId>org.onosproject</groupId>
222 <artifactId>onos-maven-plugin</artifactId>
223 </plugin>
224 <plugin>
225 <groupId>org.apache.felix</groupId>
226 <artifactId>maven-scr-plugin</artifactId>
227 <executions>
228 <execution>
229 <id>generate-scr-srcdescriptor</id>
230 <goals>
231 <goal>scr</goal>
232 </goals>
233 </execution>
234 </executions>
235 <configuration>
236 <supportedProjectTypes>
237 <supportedProjectType>bundle</supportedProjectType>
238 <supportedProjectType>war</supportedProjectType>
239 </supportedProjectTypes>
240 </configuration>
241 </plugin>
242 <plugin>
243 <groupId>org.apache.felix</groupId>
244 <artifactId>maven-bundle-plugin</artifactId>
245 <extensions>true</extensions>
246 <configuration>
247 <instructions>
248 <_wab>src/main/webapp/</_wab>
249 <Include-Resource>
250 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
251 {maven-resources}
252 </Include-Resource>
253 <Bundle-SymbolicName>
254 ${project.groupId}.${project.artifactId}
255 </Bundle-SymbolicName>
256 <Web-ContextPath>${web.context}</Web-ContextPath>
257 <Import-Package>
258 !org.apache.http.*,
259 !com.fasterxml.jackson.dataformat.*,
260 !javax.annotation,
261 *,org.glassfish.jersey.servlet
262 </Import-Package>
263 <Embed-Dependency>
264 openstack4j-core,
265 openstack4j-http-connector,
266 openstack4j-httpclient,
267 json-patch,
268 jackson-coreutils,
269 btf,
270 msg-simple,
271 snakeyaml
272 </Embed-Dependency>
273 </instructions>
274 </configuration>
275 </plugin>
276 </plugins>
277 </build>
278
279</project>