blob: fdbb820860cbfe09023478117a112048b87a4393 [file] [log] [blame]
Andrea Campanella37f07e42021-02-16 11:24:39 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2016-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/xsd/maven-4.0.0.xsd">
20 <parent>
21 <groupId>org.opencord</groupId>
22 <artifactId>olt</artifactId>
23 <version>4.4.0-SNAPSHOT</version>
24 <relativePath>../pom.xml</relativePath>
25 </parent>
26
27 <modelVersion>4.0.0</modelVersion>
28 <artifactId>olt-web</artifactId>
29 <packaging>bundle</packaging>
30 <description>REST API for OLT application for CORD</description>
31
32 <properties>
33 <web.context>/onos/olt</web.context>
34 <api.version>1.0.0</api.version>
35 <api.title>ONOS OLT REST API</api.title>
36 <api.description>
37 APIs for interacting with the CORD OLT application.
38 </api.description>
39 <api.package>org.opencord.olt.rest</api.package>
40 <olt.api.version>${project.version}</olt.api.version>
41 </properties>
42
43 <dependencies>
44 <dependency>
45 <groupId>org.opencord</groupId>
46 <artifactId>olt-api</artifactId>
47 <version>${olt.api.version}</version>
48 <scope>compile</scope>
49 </dependency>
50
51 <dependency>
52 <groupId>org.opencord</groupId>
53 <artifactId>olt-impl</artifactId>
54 <version>${olt.api.version}</version>
55 <scope>provided</scope>
56 </dependency>
57
58 <dependency>
59 <groupId>org.opencord</groupId>
60 <artifactId>sadis-api</artifactId>
61 <version>${sadis.api.version}</version>
62 <scope>provided</scope>
63 </dependency>
64
65 <dependency>
66 <groupId>org.onosproject</groupId>
67 <artifactId>onos-cli</artifactId>
68 <version>${onos.version}</version>
69 <scope>provided</scope>
70 </dependency>
71
72 <dependency>
73 <groupId>org.onosproject</groupId>
74 <artifactId>onos-api</artifactId>
75 <version>${onos.version}</version>
76 <classifier>tests</classifier>
77 <scope>test</scope>
78 </dependency>
79
80 <dependency>
81 <groupId>org.onosproject</groupId>
82 <artifactId>onos-core-serializers</artifactId>
83 <version>${onos.version}</version>
84 <scope>provided</scope>
85 </dependency>
86
87 <dependency>
88 <groupId>org.apache.karaf.shell</groupId>
89 <artifactId>org.apache.karaf.shell.console</artifactId>
90 <scope>provided</scope>
91 </dependency>
92
93 <dependency>
94 <groupId>org.apache.karaf.shell</groupId>
95 <artifactId>org.apache.karaf.shell.core</artifactId>
96 <scope>provided</scope>
97 </dependency>
98
99 <dependency>
100 <groupId>javax.ws.rs</groupId>
101 <artifactId>javax.ws.rs-api</artifactId>
102 <scope>provided</scope>
103 </dependency>
104
105 </dependencies>
106
107 <build>
108 <plugins>
109 <plugin>
110 <groupId>org.onosproject</groupId>
111 <artifactId>onos-maven-plugin</artifactId>
112 </plugin>
113
114 <plugin>
115 <groupId>org.apache.felix</groupId>
116 <artifactId>maven-bundle-plugin</artifactId>
117 <configuration>
118 <instructions>
119 <_wab>src/main/webapp/</_wab>
120 <Include-Resource>
121 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
122 {maven-resources}
123 </Include-Resource>
124 <Import-Package>
125 *,org.glassfish.jersey.servlet
126 </Import-Package>
127 <Web-ContextPath>${web.context}</Web-ContextPath>
128 <Karaf-Commands>org.opencord.olt.cli</Karaf-Commands>
129 </instructions>
130 </configuration>
131 </plugin>
132 </plugins>
133 </build>
134</project>