blob: ebec799263974bae526fe4c48a39f42db4197c33 [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001<?xml version="1.0" encoding="UTF-8"?>
Thomas Vachuska781d18b2014-10-27 10:31:25 -07002<!--
Brian O'Connor5ab426f2016-04-09 01:19:45 -07003 ~ Copyright 2014-present Open Networking Laboratory
Thomas Vachuska781d18b2014-10-27 10:31:25 -07004 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07005 ~ 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
Thomas Vachuska781d18b2014-10-27 10:31:25 -07008 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07009 ~ 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.
Thomas Vachuska781d18b2014-10-27 10:31:25 -070016 -->
tom0eb04ca2014-08-25 14:34:51 -070017<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>
Brian O'Connorabafb502014-12-02 22:26:20 -080023 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -070024 <artifactId>onos-web</artifactId>
Ray Milkey4a58d772017-01-13 13:24:34 -080025 <version>1.8.2</version>
tom0eb04ca2014-08-25 14:34:51 -070026 </parent>
27
28 <artifactId>onos-rest</artifactId>
29 <packaging>bundle</packaging>
30
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070031 <description>ONOS Core REST API</description>
tom0eb04ca2014-08-25 14:34:51 -070032
33 <dependencies>
34 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -080035 <groupId>org.onosproject</groupId>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -070036 <artifactId>onos-core-common</artifactId>
37 </dependency>
38 <dependency>
39 <groupId>org.onosproject</groupId>
40 <artifactId>onos-core-common</artifactId>
41 <classifier>tests</classifier>
tom0eb04ca2014-08-25 14:34:51 -070042 <scope>test</scope>
43 </dependency>
Ray Milkey1f95bd32014-12-10 11:11:00 -080044 <dependency>
45 <groupId>org.easymock</groupId>
46 <artifactId>easymock</artifactId>
Ray Milkey4f5de002014-12-17 19:26:11 -080047 <scope>test</scope>
Ray Milkey1f95bd32014-12-10 11:11:00 -080048 </dependency>
Ray Milkeydb358082015-01-13 16:34:38 -080049 <dependency>
50 <groupId>org.onosproject</groupId>
51 <artifactId>onos-api</artifactId>
Ray Milkeydb358082015-01-13 16:34:38 -080052 <scope>test</scope>
53 <classifier>tests</classifier>
54 </dependency>
Jian Li4fb71772016-04-20 09:41:56 -070055 <dependency>
56 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
57 <artifactId>jersey-test-framework-provider-jetty</artifactId>
58 <scope>test</scope>
59 </dependency>
tom0eb04ca2014-08-25 14:34:51 -070060 </dependencies>
61
62 <properties>
63 <web.context>/onos/v1</web.context>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070064 <api.version>1.0.0</api.version>
65 <api.title>${project.description}</api.title>
66 <api.description>
67 Core APIs for external interactions with various ONOS subsystems.
68 </api.description>
69 <api.package>org.onosproject.rest.impl</api.package>
tom0eb04ca2014-08-25 14:34:51 -070070 </properties>
71
Sahil Lele372d1f32015-07-31 15:01:41 -070072 <build>
73 <plugins>
74 <plugin>
75 <groupId>org.onosproject</groupId>
76 <artifactId>onos-maven-plugin</artifactId>
77 </plugin>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070078
79 <plugin>
80 <groupId>org.apache.felix</groupId>
81 <artifactId>maven-bundle-plugin</artifactId>
82 <extensions>true</extensions>
83 <configuration>
84 <instructions>
85 <_wab>src/main/webapp/</_wab>
86 <Include-Resource>
87 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
88 {maven-resources}
89 </Include-Resource>
90 <Bundle-SymbolicName>
91 ${project.groupId}.${project.artifactId}
92 </Bundle-SymbolicName>
93 <Import-Package>
Brian O'Connora450bd02016-04-04 14:00:37 -070094 *,org.glassfish.jersey.servlet
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070095 </Import-Package>
96 <Web-ContextPath>${web.context}</Web-ContextPath>
97 </instructions>
98 </configuration>
99 </plugin>
Sahil Lele372d1f32015-07-31 15:01:41 -0700100 </plugins>
101 </build>
102
tom0eb04ca2014-08-25 14:34:51 -0700103</project>