blob: 401824ff5cd17e46a16c6162941d362ba63888af [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>
Ray Milkeybca90492018-04-13 12:47:31 -070025 <version>1.14.0-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>
111 <artifactId>onos-api</artifactId>
112 <classifier>tests</classifier>
113 <scope>test</scope>
114 </dependency>
115
116 <dependency>
117 <groupId>com.google.guava</groupId>
118 <artifactId>guava-testlib</artifactId>
119 <scope>test</scope>
120 </dependency>
121
122 <dependency>
123 <groupId>org.onosproject</groupId>
124 <artifactId>onlab-junit</artifactId>
125 <scope>test</scope>
126 </dependency>
127
128 <dependency>
129 <groupId>org.easymock</groupId>
130 <artifactId>easymock</artifactId>
131 <scope>test</scope>
132 </dependency>
133
Jian Lic84e3f12018-02-13 15:12:18 +0900134 <dependency>
Jian Li51b844c2018-05-31 10:59:03 +0900135 <groupId>org.pacesys</groupId>
136 <artifactId>openstack4j-core</artifactId>
137 <version>${openstack4j.version}</version>
138 </dependency>
139 <dependency>
140 <groupId>org.pacesys.openstack4j.connectors</groupId>
141 <artifactId>openstack4j-http-connector</artifactId>
142 <version>${openstack4j.version}</version>
143 </dependency>
144 <dependency>
145 <groupId>org.pacesys.openstack4j.connectors</groupId>
146 <artifactId>openstack4j-httpclient</artifactId>
147 <version>${openstack4j.version}</version>
148 </dependency>
149 <dependency>
150 <groupId>com.github.fge</groupId>
151 <artifactId>json-patch</artifactId>
152 <version>${json-patch.version}</version>
153 </dependency>
154 <dependency>
155 <groupId>com.github.fge</groupId>
156 <artifactId>jackson-coreutils</artifactId>
157 <version>${jackson-coreutils.version}</version>
158 </dependency>
159 <dependency>
160 <groupId>com.github.fge</groupId>
161 <artifactId>btf</artifactId>
162 <version>${btf.version}</version>
163 </dependency>
164 <dependency>
165 <groupId>com.github.fge</groupId>
166 <artifactId>msg-simple</artifactId>
167 <version>${msg-simple.version}</version>
168 </dependency>
169 <dependency>
170 <groupId>org.yaml</groupId>
171 <artifactId>snakeyaml</artifactId>
172 <version>${snakeyaml.version}</version>
173 </dependency>
174
175 <dependency>
Jian Lic84e3f12018-02-13 15:12:18 +0900176 <groupId>org.glassfish.jersey.core</groupId>
177 <artifactId>jersey-client</artifactId>
178 <scope>test</scope>
179 </dependency>
180 <dependency>
181 <groupId>org.glassfish.jersey.containers</groupId>
182 <artifactId>jersey-container-servlet</artifactId>
183 </dependency>
184
185 <dependency>
186 <groupId>org.glassfish.jersey.test-framework</groupId>
187 <artifactId>jersey-test-framework-core</artifactId>
188 <scope>test</scope>
189 </dependency>
190
191 <dependency>
192 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
193 <artifactId>jersey-test-framework-provider-jetty</artifactId>
194 <scope>test</scope>
195 </dependency>
196
197 <dependency>
198 <groupId>org.onosproject</groupId>
199 <artifactId>onlab-osgi</artifactId>
200 <classifier>tests</classifier>
201 <scope>test</scope>
202 </dependency>
203
204 <dependency>
205 <groupId>org.onosproject</groupId>
206 <artifactId>onos-rest</artifactId>
207 <version>${project.version}</version>
208 <classifier>tests</classifier>
209 <scope>test</scope>
210 </dependency>
211
Jian Lic5cd6622018-03-08 12:08:56 +0900212 <dependency>
213 <groupId>org.glassfish.jersey.core</groupId>
214 <artifactId>jersey-common</artifactId>
215 <scope>test</scope>
216 </dependency>
217 <dependency>
218 <groupId>org.glassfish.jersey.inject</groupId>
219 <artifactId>jersey-hk2</artifactId>
220 <scope>test</scope>
221 </dependency>
222
sanghof8164112017-07-14 14:33:16 +0900223 </dependencies>
Jian Lic84e3f12018-02-13 15:12:18 +0900224
225 <build>
226 <plugins>
227 <plugin>
Jian Li51b844c2018-05-31 10:59:03 +0900228 <groupId>org.onosproject</groupId>
229 <artifactId>onos-maven-plugin</artifactId>
230 </plugin>
231 <plugin>
232 <groupId>org.apache.felix</groupId>
233 <artifactId>maven-scr-plugin</artifactId>
234 <executions>
235 <execution>
236 <id>generate-scr-srcdescriptor</id>
237 <goals>
238 <goal>scr</goal>
239 </goals>
240 </execution>
241 </executions>
242 <configuration>
243 <supportedProjectTypes>
244 <supportedProjectType>bundle</supportedProjectType>
245 <supportedProjectType>war</supportedProjectType>
246 </supportedProjectTypes>
247 </configuration>
248 </plugin>
249 <plugin>
Jian Lic84e3f12018-02-13 15:12:18 +0900250 <groupId>org.apache.felix</groupId>
251 <artifactId>maven-bundle-plugin</artifactId>
252 <extensions>true</extensions>
253 <configuration>
254 <instructions>
255 <_wab>src/main/webapp/</_wab>
256 <Include-Resource>
257 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
258 {maven-resources}
259 </Include-Resource>
260 <Bundle-SymbolicName>
261 ${project.groupId}.${project.artifactId}
262 </Bundle-SymbolicName>
Jian Li51b844c2018-05-31 10:59:03 +0900263 <Web-ContextPath>${web.context}</Web-ContextPath>
Jian Lic84e3f12018-02-13 15:12:18 +0900264 <Import-Package>
Jian Li51b844c2018-05-31 10:59:03 +0900265 !org.apache.http.*,
266 !com.fasterxml.jackson.dataformat.*,
267 !javax.annotation,
Jian Lic84e3f12018-02-13 15:12:18 +0900268 *,org.glassfish.jersey.servlet
269 </Import-Package>
Jian Li51b844c2018-05-31 10:59:03 +0900270 <Embed-Dependency>
271 openstack4j-core,
272 openstack4j-http-connector,
273 openstack4j-httpclient,
274 json-patch,
275 jackson-coreutils,
276 btf,
277 msg-simple,
278 snakeyaml
279 </Embed-Dependency>
Jian Lic84e3f12018-02-13 15:12:18 +0900280 </instructions>
281 </configuration>
282 </plugin>
283 </plugins>
284 </build>
Jian Li51b844c2018-05-31 10:59:03 +0900285</project>