blob: bf4959ed7e0d9bc7198a5b3814ce298c7b3fead0 [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<!--
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07003 ~ Copyright 2014 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>
Brian O'Connor955c3162016-03-10 15:27:19 -080025 <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>
tom0eb04ca2014-08-25 14:34:51 -070056 </dependencies>
57
58 <properties>
59 <web.context>/onos/v1</web.context>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070060 <api.version>1.0.0</api.version>
61 <api.title>${project.description}</api.title>
62 <api.description>
63 Core APIs for external interactions with various ONOS subsystems.
64 </api.description>
65 <api.package>org.onosproject.rest.impl</api.package>
tom0eb04ca2014-08-25 14:34:51 -070066 </properties>
67
Sahil Lele372d1f32015-07-31 15:01:41 -070068 <build>
69 <plugins>
70 <plugin>
71 <groupId>org.onosproject</groupId>
72 <artifactId>onos-maven-plugin</artifactId>
73 </plugin>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070074
75 <plugin>
76 <groupId>org.apache.felix</groupId>
77 <artifactId>maven-bundle-plugin</artifactId>
78 <extensions>true</extensions>
79 <configuration>
80 <instructions>
81 <_wab>src/main/webapp/</_wab>
82 <Include-Resource>
83 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
84 {maven-resources}
85 </Include-Resource>
86 <Bundle-SymbolicName>
87 ${project.groupId}.${project.artifactId}
88 </Bundle-SymbolicName>
89 <Import-Package>
90 org.slf4j,
91 org.osgi.framework,
92 javax.ws.rs,javax.ws.rs.core,javax.ws.rs.ext,
Jian Li9d616492016-03-09 10:52:49 -080093 org.glassfish.jersey,
94 org.glassfish.jersey.servlet,
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070095 com.fasterxml.jackson.databind,
96 com.fasterxml.jackson.databind.node,
97 com.google.common.base.*,
98 com.google.common.collect.*,
99 com.google.common.io.*,
100 org.onlab.util.*,
101 org.onlab.osgi.*,
102 org.onlab.packet.*,
103 org.onlab.rest.*,
Jian Li72315152015-12-10 17:20:43 -0800104 org.onosproject.*,
105 org.onlab.metrics.*,
106 com.codahale.metrics.*
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700107 </Import-Package>
108 <Web-ContextPath>${web.context}</Web-ContextPath>
109 </instructions>
110 </configuration>
111 </plugin>
Sahil Lele372d1f32015-07-31 15:01:41 -0700112 </plugins>
113 </build>
114
tom0eb04ca2014-08-25 14:34:51 -0700115</project>