blob: b42018651436d6de27870c7dab7e3d340ddf58fe [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'Connore8bcb702015-09-04 23:55:47 -070025 <version>1.3.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,
93 com.sun.jersey.api,
94 com.sun.jersey.spi.container.servlet,
95 com.sun.jersey.server.impl.container.servlet,
96 com.fasterxml.jackson.databind,
97 com.fasterxml.jackson.databind.node,
98 com.google.common.base.*,
99 com.google.common.collect.*,
100 com.google.common.io.*,
101 org.onlab.util.*,
102 org.onlab.osgi.*,
103 org.onlab.packet.*,
104 org.onlab.rest.*,
105 org.onosproject.*
106 </Import-Package>
107 <Web-ContextPath>${web.context}</Web-ContextPath>
108 </instructions>
109 </configuration>
110 </plugin>
Sahil Lele372d1f32015-07-31 15:01:41 -0700111 </plugins>
112 </build>
113
tom0eb04ca2014-08-25 14:34:51 -0700114</project>