blob: 5df3310db1479f4424a9d18b89d3a5b51255f049 [file] [log] [blame]
amit.ghosh6104cf52021-01-07 16:53:28 +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:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xmlns="http://maven.apache.org/POM/4.0.0"
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>olttopology</artifactId>
Jenkinse616bdc2021-07-09 21:56:31 +000023 <version>1.1.0</version>
amit.ghosh6104cf52021-01-07 16:53:28 +010024 <relativePath>../pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27
28 <artifactId>olttopology-app</artifactId>
29
30 <packaging>bundle</packaging>
31 <description>OLT application for CORD</description>
32
33 <properties>
34 <web.context>/onos/olttopology</web.context>
35 <api.version>1.0.0</api.version>
36 <api.title>ONOS OLT TOPOLOGY REST API</api.title>
37 <api.description>
38 APIs for interacting with the CORD OLT application.
39 </api.description>
40 <api.package>org.opencord.olttopology.rest</api.package>
Jenkinse616bdc2021-07-09 21:56:31 +000041 <olttopology.api.version>1.1.0</olttopology.api.version>
Andrea Campanelladabdb1b2021-03-30 11:47:10 +020042 <sadis.api.version>5.3.0</sadis.api.version>
amit.ghosh6104cf52021-01-07 16:53:28 +010043 </properties>
44
45 <dependencies>
46 <dependency>
47 <groupId>org.opencord</groupId>
48 <artifactId>olttopology-api</artifactId>
49 <version>${olttopology.api.version}</version>
50 </dependency>
51
52
53 <dependency>
54 <groupId>org.opencord</groupId>
55 <artifactId>sadis-api</artifactId>
56 <version>${sadis.api.version}</version>
57 </dependency>
58
59 <dependency>
60 <groupId>org.onosproject</groupId>
61 <artifactId>onos-cli</artifactId>
62 <version>${onos.version}</version>
63 </dependency>
64
65 <dependency>
66 <groupId>org.onosproject</groupId>
67 <artifactId>onos-core-serializers</artifactId>
68 <version>${onos.version}</version>
69 <scope>provided</scope>
70 </dependency>
71
72 <dependency>
73 <groupId>org.apache.karaf.shell</groupId>
74 <artifactId>org.apache.karaf.shell.console</artifactId>
75 <scope>provided</scope>
76 </dependency>
77
78 <dependency>
79 <groupId>org.apache.karaf.shell</groupId>
80 <artifactId>org.apache.karaf.shell.core</artifactId>
81 <scope>provided</scope>
82 </dependency>
83
84 <dependency>
85 <groupId>javax.ws.rs</groupId>
86 <artifactId>javax.ws.rs-api</artifactId>
87 <scope>provided</scope>
88 </dependency>
89 </dependencies>
90
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.onosproject</groupId>
95 <artifactId>onos-maven-plugin</artifactId>
96 </plugin>
97 <plugin>
98 <groupId>org.apache.felix</groupId>
99 <artifactId>maven-bundle-plugin</artifactId>
100 <extensions>true</extensions>
101 <configuration>
102 <instructions>
103 <_wab>src/main/webapp/</_wab>
104 <Include-Resource>
105 WEB-INF/classes/apidoc/swagger.json=target/swagger.json
106 </Include-Resource>
107 <Bundle-SymbolicName>
108 ${project.groupId}.${project.artifactId}
109 </Bundle-SymbolicName>
110 <Import-Package>
111 *,org.glassfish.jersey.servlet
112 </Import-Package>
113 <Web-ContextPath>${web.context}</Web-ContextPath>
114 <Karaf-Commands>org.opencord.olttopology.cli</Karaf-Commands>
115 </instructions>
116 </configuration>
117 </plugin>
118
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-surefire-plugin</artifactId>
122 </plugin>
123 </plugins>
124 </build>
125</project>