blob: aa4c81444cbfe51e164da6c5a3b78dd9cb37db7c [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>
Andrea Campanella37f07e42021-02-16 11:24:39 +010040 </properties>
41
42 <dependencies>
43 <dependency>
44 <groupId>org.opencord</groupId>
45 <artifactId>olt-api</artifactId>
46 <version>${olt.api.version}</version>
47 <scope>compile</scope>
48 </dependency>
49
50 <dependency>
51 <groupId>org.opencord</groupId>
52 <artifactId>olt-impl</artifactId>
Ilayda Ozdemir90a93622021-02-25 09:40:58 +000053 <version>${project.version}</version>
Andrea Campanella37f07e42021-02-16 11:24:39 +010054 <scope>provided</scope>
55 </dependency>
56
57 <dependency>
58 <groupId>org.opencord</groupId>
59 <artifactId>sadis-api</artifactId>
60 <version>${sadis.api.version}</version>
61 <scope>provided</scope>
62 </dependency>
63
64 <dependency>
65 <groupId>org.onosproject</groupId>
66 <artifactId>onos-cli</artifactId>
67 <version>${onos.version}</version>
68 <scope>provided</scope>
69 </dependency>
70
71 <dependency>
72 <groupId>org.onosproject</groupId>
73 <artifactId>onos-api</artifactId>
74 <version>${onos.version}</version>
75 <classifier>tests</classifier>
76 <scope>test</scope>
77 </dependency>
78
79 <dependency>
80 <groupId>org.onosproject</groupId>
81 <artifactId>onos-core-serializers</artifactId>
82 <version>${onos.version}</version>
83 <scope>provided</scope>
84 </dependency>
85
86 <dependency>
87 <groupId>org.apache.karaf.shell</groupId>
88 <artifactId>org.apache.karaf.shell.console</artifactId>
89 <scope>provided</scope>
90 </dependency>
91
92 <dependency>
93 <groupId>org.apache.karaf.shell</groupId>
94 <artifactId>org.apache.karaf.shell.core</artifactId>
95 <scope>provided</scope>
96 </dependency>
97
98 <dependency>
99 <groupId>javax.ws.rs</groupId>
100 <artifactId>javax.ws.rs-api</artifactId>
101 <scope>provided</scope>
102 </dependency>
Andrea Campanella37f07e42021-02-16 11:24:39 +0100103 </dependencies>
104
105 <build>
106 <plugins>
107 <plugin>
108 <groupId>org.onosproject</groupId>
109 <artifactId>onos-maven-plugin</artifactId>
110 </plugin>
111
112 <plugin>
113 <groupId>org.apache.felix</groupId>
114 <artifactId>maven-bundle-plugin</artifactId>
115 <configuration>
116 <instructions>
117 <_wab>src/main/webapp/</_wab>
118 <Include-Resource>
119 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
120 {maven-resources}
121 </Include-Resource>
122 <Import-Package>
123 *,org.glassfish.jersey.servlet
124 </Import-Package>
125 <Web-ContextPath>${web.context}</Web-ContextPath>
126 <Karaf-Commands>org.opencord.olt.cli</Karaf-Commands>
127 </instructions>
128 </configuration>
129 </plugin>
130 </plugins>
131 </build>
132</project>