blob: c9e37fbb623d25cc7c9bdf9abf922c5ede887dd1 [file] [log] [blame]
sanghof8164112017-07-14 14:33:16 +09001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2016-present Open Networking Foundation
sanghof8164112017-07-14 14:33:16 +09004 ~
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/xsd/maven-4.0.0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
22 <parent>
23 <groupId>org.onosproject</groupId>
24 <artifactId>onos-apps-openstacknode</artifactId>
ONOS Jenkins User98c91a02018-09-04 22:07:36 +000025 <version>1.14.1-SNAPSHOT</version>
sanghof8164112017-07-14 14:33:16 +090026 </parent>
27
28 <artifactId>onos-apps-openstacknode-app</artifactId>
29 <packaging>bundle</packaging>
30
31 <description>SONA Openstack Node Bootstrap Application</description>
32
33 <properties>
34 <onos.app.name>org.onosproject.openstacknode</onos.app.name>
35 <onos.app.title>OpenStack Node Bootstrap App</onos.app.title>
36 <onos.app.category>Utility</onos.app.category>
37 <onos.app.url>http://onosproject.org</onos.app.url>
38 <onos.app.readme>SONA Openstack Node Bootstrap Application</onos.app.readme>
39 <onos.app.requires>
40 org.onosproject.ovsdb-base,
41 org.onosproject.drivers.ovsdb
42 </onos.app.requires>
Jian Lic84e3f12018-02-13 15:12:18 +090043
44 <web.context>/onos/openstacknode</web.context>
45 <api.version>1.0</api.version>
46 <api.title>OpenStack Node API</api.title>
47 <api.description>
48 REST API for OpenStack Node
49 </api.description>
50 <api.package>org.onosproject.openstacknode.web</api.package>
sanghof8164112017-07-14 14:33:16 +090051 </properties>
52
53 <dependencies>
54 <dependency>
55 <groupId>org.osgi</groupId>
56 <artifactId>org.osgi.compendium</artifactId>
57 </dependency>
58 <dependency>
59 <groupId>org.onosproject</groupId>
60 <artifactId>onos-rest</artifactId>
61 <version>${project.version}</version>
62 </dependency>
63 <dependency>
64 <groupId>org.onosproject</groupId>
65 <artifactId>onos-apps-openstacknode-api</artifactId>
66 <version>${project.version}</version>
67 </dependency>
68 <dependency>
69 <groupId>org.onosproject</groupId>
70 <artifactId>onlab-rest</artifactId>
71 <version>${project.version}</version>
72 </dependency>
73 <dependency>
74 <groupId>javax.ws.rs</groupId>
75 <artifactId>javax.ws.rs-api</artifactId>
sanghof8164112017-07-14 14:33:16 +090076 </dependency>
77 <dependency>
78 <groupId>org.onosproject</groupId>
79 <artifactId>onos-api</artifactId>
80 </dependency>
81 <dependency>
82 <groupId>org.onosproject</groupId>
83 <artifactId>onos-core-serializers</artifactId>
84 <version>${project.version}</version>
85 </dependency>
86 <dependency>
87 <groupId>org.onosproject</groupId>
88 <artifactId>onos-cli</artifactId>
89 <version>${project.version}</version>
90 </dependency>
91 <dependency>
92 <groupId>org.onosproject</groupId>
93 <artifactId>onos-protocols-ovsdb-api</artifactId>
94 <version>${project.version}</version>
95 </dependency>
96 <dependency>
97 <groupId>com.fasterxml.jackson.core</groupId>
98 <artifactId>jackson-databind</artifactId>
99 </dependency>
100 <dependency>
101 <groupId>com.fasterxml.jackson.core</groupId>
102 <artifactId>jackson-annotations</artifactId>
103 </dependency>
104 <dependency>
105 <groupId>org.apache.karaf.shell</groupId>
106 <artifactId>org.apache.karaf.shell.console</artifactId>
107 </dependency>
108
109 <dependency>
110 <groupId>org.onosproject</groupId>
Jian Li5a38ab62018-07-02 22:34:11 +0900111 <artifactId>onos-apps-openstacknode-api</artifactId>
112 <version>${project.version}</version>
113 <classifier>tests</classifier>
114 <scope>test</scope>
115 </dependency>
116
117 <dependency>
118 <groupId>org.onosproject</groupId>
sanghof8164112017-07-14 14:33:16 +0900119 <artifactId>onos-api</artifactId>
120 <classifier>tests</classifier>
121 <scope>test</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>com.google.guava</groupId>
126 <artifactId>guava-testlib</artifactId>
127 <scope>test</scope>
128 </dependency>
129
130 <dependency>
131 <groupId>org.onosproject</groupId>
132 <artifactId>onlab-junit</artifactId>
133 <scope>test</scope>
134 </dependency>
135
136 <dependency>
137 <groupId>org.easymock</groupId>
138 <artifactId>easymock</artifactId>
139 <scope>test</scope>
140 </dependency>
141
Jian Lic84e3f12018-02-13 15:12:18 +0900142 <dependency>
Jian Li51b844c2018-05-31 10:59:03 +0900143 <groupId>org.pacesys</groupId>
144 <artifactId>openstack4j-core</artifactId>
145 <version>${openstack4j.version}</version>
146 </dependency>
147 <dependency>
148 <groupId>org.pacesys.openstack4j.connectors</groupId>
149 <artifactId>openstack4j-http-connector</artifactId>
150 <version>${openstack4j.version}</version>
151 </dependency>
152 <dependency>
153 <groupId>org.pacesys.openstack4j.connectors</groupId>
154 <artifactId>openstack4j-httpclient</artifactId>
155 <version>${openstack4j.version}</version>
156 </dependency>
157 <dependency>
158 <groupId>com.github.fge</groupId>
159 <artifactId>json-patch</artifactId>
160 <version>${json-patch.version}</version>
161 </dependency>
162 <dependency>
163 <groupId>com.github.fge</groupId>
164 <artifactId>jackson-coreutils</artifactId>
165 <version>${jackson-coreutils.version}</version>
166 </dependency>
167 <dependency>
168 <groupId>com.github.fge</groupId>
169 <artifactId>btf</artifactId>
170 <version>${btf.version}</version>
171 </dependency>
172 <dependency>
173 <groupId>com.github.fge</groupId>
174 <artifactId>msg-simple</artifactId>
175 <version>${msg-simple.version}</version>
176 </dependency>
177 <dependency>
178 <groupId>org.yaml</groupId>
179 <artifactId>snakeyaml</artifactId>
180 <version>${snakeyaml.version}</version>
181 </dependency>
182
183 <dependency>
Jian Lic84e3f12018-02-13 15:12:18 +0900184 <groupId>org.glassfish.jersey.core</groupId>
185 <artifactId>jersey-client</artifactId>
186 <scope>test</scope>
187 </dependency>
188 <dependency>
189 <groupId>org.glassfish.jersey.containers</groupId>
190 <artifactId>jersey-container-servlet</artifactId>
191 </dependency>
192
193 <dependency>
194 <groupId>org.glassfish.jersey.test-framework</groupId>
195 <artifactId>jersey-test-framework-core</artifactId>
196 <scope>test</scope>
197 </dependency>
198
199 <dependency>
200 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
201 <artifactId>jersey-test-framework-provider-jetty</artifactId>
202 <scope>test</scope>
203 </dependency>
204
205 <dependency>
206 <groupId>org.onosproject</groupId>
207 <artifactId>onlab-osgi</artifactId>
208 <classifier>tests</classifier>
209 <scope>test</scope>
210 </dependency>
211
212 <dependency>
213 <groupId>org.onosproject</groupId>
214 <artifactId>onos-rest</artifactId>
215 <version>${project.version}</version>
216 <classifier>tests</classifier>
217 <scope>test</scope>
218 </dependency>
219
Jian Lic5cd6622018-03-08 12:08:56 +0900220 <dependency>
221 <groupId>org.glassfish.jersey.core</groupId>
222 <artifactId>jersey-common</artifactId>
223 <scope>test</scope>
224 </dependency>
225 <dependency>
226 <groupId>org.glassfish.jersey.inject</groupId>
227 <artifactId>jersey-hk2</artifactId>
228 <scope>test</scope>
229 </dependency>
sanghof8164112017-07-14 14:33:16 +0900230 </dependencies>
Jian Lic84e3f12018-02-13 15:12:18 +0900231
232 <build>
233 <plugins>
234 <plugin>
Jian Li51b844c2018-05-31 10:59:03 +0900235 <groupId>org.onosproject</groupId>
236 <artifactId>onos-maven-plugin</artifactId>
237 </plugin>
238 <plugin>
239 <groupId>org.apache.felix</groupId>
240 <artifactId>maven-scr-plugin</artifactId>
241 <executions>
242 <execution>
243 <id>generate-scr-srcdescriptor</id>
244 <goals>
245 <goal>scr</goal>
246 </goals>
247 </execution>
248 </executions>
249 <configuration>
250 <supportedProjectTypes>
251 <supportedProjectType>bundle</supportedProjectType>
252 <supportedProjectType>war</supportedProjectType>
253 </supportedProjectTypes>
254 </configuration>
255 </plugin>
256 <plugin>
Jian Lic84e3f12018-02-13 15:12:18 +0900257 <groupId>org.apache.felix</groupId>
258 <artifactId>maven-bundle-plugin</artifactId>
259 <extensions>true</extensions>
260 <configuration>
261 <instructions>
262 <_wab>src/main/webapp/</_wab>
263 <Include-Resource>
264 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
265 {maven-resources}
266 </Include-Resource>
267 <Bundle-SymbolicName>
268 ${project.groupId}.${project.artifactId}
269 </Bundle-SymbolicName>
Jian Li51b844c2018-05-31 10:59:03 +0900270 <Web-ContextPath>${web.context}</Web-ContextPath>
Jian Lic84e3f12018-02-13 15:12:18 +0900271 <Import-Package>
Jian Li51b844c2018-05-31 10:59:03 +0900272 !org.apache.http.*,
273 !com.fasterxml.jackson.dataformat.*,
274 !javax.annotation,
Jian Lic84e3f12018-02-13 15:12:18 +0900275 *,org.glassfish.jersey.servlet
276 </Import-Package>
Jian Li51b844c2018-05-31 10:59:03 +0900277 <Embed-Dependency>
278 openstack4j-core,
279 openstack4j-http-connector,
280 openstack4j-httpclient,
281 json-patch,
282 jackson-coreutils,
283 btf,
284 msg-simple,
285 snakeyaml
286 </Embed-Dependency>
Jian Lic84e3f12018-02-13 15:12:18 +0900287 </instructions>
288 </configuration>
289 </plugin>
290 </plugins>
291 </build>
Jian Li51b844c2018-05-31 10:59:03 +0900292</project>