blob: 78e9f7f5e9b50dae9b7c35a42f58d4e273c2fee8 [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>
Jenkinse9634f02022-10-06 15:23:01 +000023 <version>5.2.3-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>
Gustavo Silva29fb20e2022-05-26 09:59:54 -030047 <artifactId>sadis-api</artifactId>
48 <version>${sadis.api.version}</version>
49 <scope>provided</scope>
50 </dependency>
51 <dependency>
52 <groupId>org.opencord</groupId>
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070053 <artifactId>olt-api</artifactId>
Andrea Campanella3ec01a52021-12-27 17:20:51 +010054 <version>${olt.api.version}</version>
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070055 <scope>compile</scope>
56 </dependency>
Andrea Campanella37f07e42021-02-16 11:24:39 +010057 </dependencies>
Andrea Campanella37f07e42021-02-16 11:24:39 +010058 <build>
59 <plugins>
60 <plugin>
61 <groupId>org.onosproject</groupId>
62 <artifactId>onos-maven-plugin</artifactId>
63 </plugin>
64
65 <plugin>
66 <groupId>org.apache.felix</groupId>
67 <artifactId>maven-bundle-plugin</artifactId>
68 <configuration>
69 <instructions>
70 <_wab>src/main/webapp/</_wab>
71 <Include-Resource>
72 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
73 {maven-resources}
74 </Include-Resource>
75 <Import-Package>
76 *,org.glassfish.jersey.servlet
77 </Import-Package>
78 <Web-ContextPath>${web.context}</Web-ContextPath>
Andrea Campanella37f07e42021-02-16 11:24:39 +010079 </instructions>
80 </configuration>
81 </plugin>
82 </plugins>
83 </build>
Gustavo Silva4c305b32022-09-19 13:33:03 -030084</project>