blob: 0858ff1f840aed161db38d3c8c5e6f7e53caca36 [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>
Thomas Vachuska7bd8aaa2016-06-02 16:50:40 -070025 <version>1.6.0-SNAPSHOT</version>
tom0eb04ca2014-08-25 14:34:51 -070026 <relativePath>../pom.xml</relativePath>
27 </parent>
28
29 <artifactId>onos-rest</artifactId>
30 <packaging>bundle</packaging>
31
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070032 <description>ONOS Core REST API</description>
tom0eb04ca2014-08-25 14:34:51 -070033
34 <dependencies>
35 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -080036 <groupId>org.onosproject</groupId>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -070037 <artifactId>onos-core-common</artifactId>
38 </dependency>
39 <dependency>
40 <groupId>org.onosproject</groupId>
41 <artifactId>onos-core-common</artifactId>
42 <classifier>tests</classifier>
tom0eb04ca2014-08-25 14:34:51 -070043 <scope>test</scope>
44 </dependency>
Ray Milkey1f95bd32014-12-10 11:11:00 -080045 <dependency>
46 <groupId>org.easymock</groupId>
47 <artifactId>easymock</artifactId>
Ray Milkey4f5de002014-12-17 19:26:11 -080048 <scope>test</scope>
Ray Milkey1f95bd32014-12-10 11:11:00 -080049 </dependency>
Ray Milkeydb358082015-01-13 16:34:38 -080050 <dependency>
51 <groupId>org.onosproject</groupId>
52 <artifactId>onos-api</artifactId>
Ray Milkeydb358082015-01-13 16:34:38 -080053 <scope>test</scope>
54 <classifier>tests</classifier>
55 </dependency>
Jian Li4fb71772016-04-20 09:41:56 -070056 <dependency>
57 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
58 <artifactId>jersey-test-framework-provider-jetty</artifactId>
59 <scope>test</scope>
60 </dependency>
tom0eb04ca2014-08-25 14:34:51 -070061 </dependencies>
62
63 <properties>
64 <web.context>/onos/v1</web.context>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070065 <api.version>1.0.0</api.version>
66 <api.title>${project.description}</api.title>
67 <api.description>
68 Core APIs for external interactions with various ONOS subsystems.
69 </api.description>
70 <api.package>org.onosproject.rest.impl</api.package>
tom0eb04ca2014-08-25 14:34:51 -070071 </properties>
72
Sahil Lele372d1f32015-07-31 15:01:41 -070073 <build>
74 <plugins>
75 <plugin>
76 <groupId>org.onosproject</groupId>
77 <artifactId>onos-maven-plugin</artifactId>
78 </plugin>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070079
80 <plugin>
81 <groupId>org.apache.felix</groupId>
82 <artifactId>maven-bundle-plugin</artifactId>
83 <extensions>true</extensions>
84 <configuration>
85 <instructions>
86 <_wab>src/main/webapp/</_wab>
87 <Include-Resource>
88 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
89 {maven-resources}
90 </Include-Resource>
91 <Bundle-SymbolicName>
92 ${project.groupId}.${project.artifactId}
93 </Bundle-SymbolicName>
94 <Import-Package>
Brian O'Connora450bd02016-04-04 14:00:37 -070095 *,org.glassfish.jersey.servlet
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070096 </Import-Package>
97 <Web-ContextPath>${web.context}</Web-ContextPath>
98 </instructions>
99 </configuration>
100 </plugin>
Sahil Lele372d1f32015-07-31 15:01:41 -0700101 </plugins>
102 </build>
103
tom0eb04ca2014-08-25 14:34:51 -0700104</project>