blob: bdf0c964d917ddbb755447720bdffa56cdba2c35 [file] [log] [blame]
Andrea Campanella37f07e42021-02-16 11:24:39 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Matteo Scandoloaa2adde2021-09-13 12:45:32 -07003 ~ Copyright 2021 Open Networking Foundation
Andrea Campanella37f07e42021-02-16 11:24:39 +01004 ~
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>
Andrea Campanella37f07e42021-02-16 11:24:39 +010021 <artifactId>olt</artifactId>
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070022 <groupId>org.opencord</groupId>
Andrea Campanella0043f632021-12-30 15:58:54 +010023 <version>5.0.1-SNAPSHOT</version>
Andrea Campanella37f07e42021-02-16 11:24:39 +010024 </parent>
Andrea Campanella37f07e42021-02-16 11:24:39 +010025 <modelVersion>4.0.0</modelVersion>
26 <artifactId>olt-web</artifactId>
27 <packaging>bundle</packaging>
28 <description>REST API for OLT application for CORD</description>
29
30 <properties>
31 <web.context>/onos/olt</web.context>
32 <api.version>1.0.0</api.version>
33 <api.title>ONOS OLT REST API</api.title>
34 <api.description>
35 APIs for interacting with the CORD OLT application.
36 </api.description>
37 <api.package>org.opencord.olt.rest</api.package>
Andrea Campanella37f07e42021-02-16 11:24:39 +010038 </properties>
Andrea Campanella37f07e42021-02-16 11:24:39 +010039 <dependencies>
40 <dependency>
Andrea Campanella37f07e42021-02-16 11:24:39 +010041 <groupId>javax.ws.rs</groupId>
42 <artifactId>javax.ws.rs-api</artifactId>
43 <scope>provided</scope>
44 </dependency>
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070045 <dependency>
46 <groupId>org.opencord</groupId>
47 <artifactId>olt-api</artifactId>
Andrea Campanella3ec01a52021-12-27 17:20:51 +010048 <version>${olt.api.version}</version>
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070049 <scope>compile</scope>
50 </dependency>
Andrea Campanella37f07e42021-02-16 11:24:39 +010051 </dependencies>
Andrea Campanella37f07e42021-02-16 11:24:39 +010052 <build>
53 <plugins>
54 <plugin>
55 <groupId>org.onosproject</groupId>
56 <artifactId>onos-maven-plugin</artifactId>
57 </plugin>
58
59 <plugin>
60 <groupId>org.apache.felix</groupId>
61 <artifactId>maven-bundle-plugin</artifactId>
62 <configuration>
63 <instructions>
64 <_wab>src/main/webapp/</_wab>
65 <Include-Resource>
66 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
67 {maven-resources}
68 </Include-Resource>
69 <Import-Package>
70 *,org.glassfish.jersey.servlet
71 </Import-Package>
72 <Web-ContextPath>${web.context}</Web-ContextPath>
Andrea Campanella37f07e42021-02-16 11:24:39 +010073 </instructions>
74 </configuration>
75 </plugin>
76 </plugins>
77 </build>
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070078</project>