Jian Li | 156c96f | 2018-02-28 11:53:14 +0900 | [diff] [blame] | 1 | <?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> |
ONOS Jenkins User | 1733ccf | 2018-04-20 00:49:12 +0000 | [diff] [blame] | 25 | <version>1.13.0-SNAPSHOT</version> |
Jian Li | 156c96f | 2018-02-28 11:53:14 +0900 | [diff] [blame] | 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> |
Jian Li | c5cd662 | 2018-03-08 12:08:56 +0900 | [diff] [blame] | 216 | |
| 217 | <dependency> |
| 218 | <groupId>org.glassfish.jersey.core</groupId> |
| 219 | <artifactId>jersey-common</artifactId> |
| 220 | <scope>test</scope> |
| 221 | </dependency> |
| 222 | <dependency> |
| 223 | <groupId>org.glassfish.jersey.inject</groupId> |
| 224 | <artifactId>jersey-hk2</artifactId> |
| 225 | <scope>test</scope> |
| 226 | </dependency> |
Jian Li | 156c96f | 2018-02-28 11:53:14 +0900 | [diff] [blame] | 227 | </dependencies> |
| 228 | |
| 229 | <build> |
| 230 | <plugins> |
| 231 | <plugin> |
| 232 | <groupId>org.onosproject</groupId> |
| 233 | <artifactId>onos-maven-plugin</artifactId> |
| 234 | </plugin> |
| 235 | <plugin> |
| 236 | <groupId>org.apache.felix</groupId> |
| 237 | <artifactId>maven-scr-plugin</artifactId> |
| 238 | <executions> |
| 239 | <execution> |
| 240 | <id>generate-scr-srcdescriptor</id> |
| 241 | <goals> |
| 242 | <goal>scr</goal> |
| 243 | </goals> |
| 244 | </execution> |
| 245 | </executions> |
| 246 | <configuration> |
| 247 | <supportedProjectTypes> |
| 248 | <supportedProjectType>bundle</supportedProjectType> |
| 249 | <supportedProjectType>war</supportedProjectType> |
| 250 | </supportedProjectTypes> |
| 251 | </configuration> |
| 252 | </plugin> |
| 253 | <plugin> |
| 254 | <groupId>org.apache.felix</groupId> |
| 255 | <artifactId>maven-bundle-plugin</artifactId> |
| 256 | <extensions>true</extensions> |
| 257 | <configuration> |
| 258 | <instructions> |
| 259 | <_wab>src/main/webapp/</_wab> |
| 260 | <Include-Resource> |
| 261 | WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 262 | {maven-resources} |
| 263 | </Include-Resource> |
| 264 | <Bundle-SymbolicName> |
| 265 | ${project.groupId}.${project.artifactId} |
| 266 | </Bundle-SymbolicName> |
| 267 | <Web-ContextPath>${web.context}</Web-ContextPath> |
| 268 | <Import-Package> |
| 269 | !org.apache.http.*, |
| 270 | !com.fasterxml.jackson.dataformat.*, |
| 271 | !javax.annotation, |
| 272 | *,org.glassfish.jersey.servlet |
| 273 | </Import-Package> |
| 274 | <Embed-Dependency> |
| 275 | openstack4j-core, |
| 276 | openstack4j-http-connector, |
| 277 | openstack4j-httpclient, |
| 278 | json-patch, |
| 279 | jackson-coreutils, |
| 280 | btf, |
| 281 | msg-simple, |
| 282 | snakeyaml |
| 283 | </Embed-Dependency> |
| 284 | </instructions> |
| 285 | </configuration> |
| 286 | </plugin> |
| 287 | </plugins> |
| 288 | </build> |
| 289 | |
| 290 | </project> |