blob: 2b3a216c79b44c6402ea035a777dbee8229e803d [file] [log] [blame]
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connord6a135a2017-08-03 22:46:05 -07003 ~ Copyright 2016-present Open Networking Foundation
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -08004 ~
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>
alshabib36a4d732016-06-01 16:03:59 -070021 <groupId>org.opencord</groupId>
22 <artifactId>olt</artifactId>
Carmelo Casconeca931162019-07-15 18:22:24 -070023 <version>4.0.0-SNAPSHOT</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080024 <relativePath>../pom.xml</relativePath>
25 </parent>
Carmelo Casconeca931162019-07-15 18:22:24 -070026
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080027 <modelVersion>4.0.0</modelVersion>
alshabib36a4d732016-06-01 16:03:59 -070028 <artifactId>olt-app</artifactId>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080029 <packaging>bundle</packaging>
30 <description>OLT application for CORD</description>
31
32 <properties>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080033 <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>
Jonathan Hart1d34c8b2018-05-05 15:37:28 -070039 <onos.app.name>org.opencord.olt</onos.app.name>
40 <onos.app.title>OLT Access Management</onos.app.title>
41 <onos.app.origin>OpenCord</onos.app.origin>
42 <onos.app.category>default</onos.app.category>
43 <onos.app.url>http://opencord.org</onos.app.url>
Carmelo Casconeca931162019-07-15 18:22:24 -070044 <onos.app.readme>
45 CORD OLT Access management application
46 </onos.app.readme>
Jonathan Hartd7ab2aa2018-06-06 16:07:38 -070047 <api.package>org.opencord.olt.rest</api.package>
48 <olt.api.version>${project.version}</olt.api.version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080049 </properties>
50
51 <dependencies>
52 <dependency>
alshabib36a4d732016-06-01 16:03:59 -070053 <groupId>org.opencord</groupId>
54 <artifactId>olt-api</artifactId>
David K. Bainbridge12e0a2c2017-08-10 09:12:56 -070055 <version>${olt.api.version}</version>
Carmelo Casconeca931162019-07-15 18:22:24 -070056 <scope>compile</scope>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080057 </dependency>
58
59 <dependency>
Jonathan Hart1d34c8b2018-05-05 15:37:28 -070060 <groupId>org.opencord</groupId>
Amit Ghosh1ed9aef2018-07-17 17:08:16 +010061 <artifactId>sadis-api</artifactId>
Carmelo Casconeca931162019-07-15 18:22:24 -070062 <version>${sadis.api.version}</version>
63 <scope>provided</scope>
Amit Ghosh1ed9aef2018-07-17 17:08:16 +010064 </dependency>
65
66 <dependency>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080067 <groupId>org.onosproject</groupId>
68 <artifactId>onos-cli</artifactId>
alshabib36a4d732016-06-01 16:03:59 -070069 <version>${onos.version}</version>
Carmelo Casconeca931162019-07-15 18:22:24 -070070 <scope>provided</scope>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080071 </dependency>
72
73 <dependency>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080074 <groupId>org.onosproject</groupId>
Carmelo Casconeca931162019-07-15 18:22:24 -070075 <artifactId>onos-core-serializers</artifactId>
alshabib36a4d732016-06-01 16:03:59 -070076 <version>${onos.version}</version>
Carmelo Casconeca931162019-07-15 18:22:24 -070077 <scope>provided</scope>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080078 </dependency>
Jonathan Hartda66a012018-05-02 17:30:05 -070079
80 <dependency>
81 <groupId>org.apache.karaf.shell</groupId>
82 <artifactId>org.apache.karaf.shell.console</artifactId>
Carmelo Casconeca931162019-07-15 18:22:24 -070083 <version>${karaf.version}</version>
84 <scope>provided</scope>
85 </dependency>
86
87 <dependency>
88 <groupId>org.apache.karaf.shell</groupId>
89 <artifactId>org.apache.karaf.shell.core</artifactId>
90 <version>${karaf.version}</version>
91 <scope>provided</scope>
92 </dependency>
93
94 <dependency>
95 <groupId>org.osgi</groupId>
96 <artifactId>org.osgi.service.component.annotations</artifactId>
97 <version>1.4.0</version>
98 <scope>provided</scope>
99 </dependency>
100
101 <dependency>
102 <groupId>org.osgi</groupId>
103 <artifactId>org.osgi.compendium</artifactId>
104 <version>5.0.0</version>
105 <scope>provided</scope>
Jonathan Hartda66a012018-05-02 17:30:05 -0700106 </dependency>
Matteo Scandolo962a6ad2018-12-11 15:39:42 -0800107
108 <dependency>
109 <groupId>junit</groupId>
110 <artifactId>junit</artifactId>
Carmelo Casconeca931162019-07-15 18:22:24 -0700111 <version>4.12</version>
Matteo Scandolo962a6ad2018-12-11 15:39:42 -0800112 <scope>test</scope>
113 </dependency>
114
115 <dependency>
Carmelo Casconeca931162019-07-15 18:22:24 -0700116 <groupId>javax.ws.rs</groupId>
117 <artifactId>javax.ws.rs-api</artifactId>
118 <version>2.1</version>
119 <scope>provided</scope>
120 </dependency>
121
122 <dependency>
123 <groupId>org.slf4j</groupId>
124 <artifactId>slf4j-api</artifactId>
125 <version>1.7.25</version>
126 <scope>provided</scope>
Matteo Scandolo962a6ad2018-12-11 15:39:42 -0800127 </dependency>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800128 </dependencies>
129
130 <build>
131 <plugins>
132 <plugin>
alshabib36a4d732016-06-01 16:03:59 -0700133 <groupId>org.onosproject</groupId>
134 <artifactId>onos-maven-plugin</artifactId>
Carmelo Casconeca931162019-07-15 18:22:24 -0700135 <version>2.2</version>
136 <executions>
137 <execution>
138 <id>cfg</id>
139 <phase>generate-resources</phase>
140 <goals>
141 <goal>cfg</goal>
142 </goals>
143 </execution>
144 <execution>
145 <id>swagger</id>
146 <phase>generate-sources</phase>
147 <goals>
148 <goal>swagger</goal>
149 </goals>
150 </execution>
151 <execution>
152 <id>app</id>
153 <phase>package</phase>
154 <goals>
155 <goal>app</goal>
156 </goals>
157 </execution>
158 </executions>
alshabib36a4d732016-06-01 16:03:59 -0700159 </plugin>
Carmelo Casconeca931162019-07-15 18:22:24 -0700160
alshabib36a4d732016-06-01 16:03:59 -0700161 <plugin>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800162 <groupId>org.apache.felix</groupId>
163 <artifactId>maven-bundle-plugin</artifactId>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800164 <configuration>
165 <instructions>
166 <_wab>src/main/webapp/</_wab>
167 <Include-Resource>
168 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
169 {maven-resources}
170 </Include-Resource>
171 <Bundle-SymbolicName>
172 ${project.groupId}.${project.artifactId}
173 </Bundle-SymbolicName>
174 <Import-Package>
Brian O'Connor864bdf02016-04-04 14:00:37 -0700175 *,org.glassfish.jersey.servlet
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800176 </Import-Package>
177 <Web-ContextPath>${web.context}</Web-ContextPath>
Carmelo Casconeca931162019-07-15 18:22:24 -0700178 <Karaf-Commands>org.opencord.olt.cli</Karaf-Commands>
179 <_dsannotations-options>inherit</_dsannotations-options>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800180 </instructions>
181 </configuration>
182 </plugin>
Carmelo Casconeca931162019-07-15 18:22:24 -0700183
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800184 </plugins>
185 </build>
186</project>