blob: 16c1cb06b79d2fe58bcece6fcdd8d127c481709f [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>
Jenkins4c1b6542020-02-20 09:10:40 +000023 <version>3.1.0</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080024 <relativePath>../pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27
alshabib36a4d732016-06-01 16:03:59 -070028 <artifactId>olt-app</artifactId>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080029
30 <packaging>bundle</packaging>
31 <description>OLT application for CORD</description>
32
33 <properties>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080034 <web.context>/onos/olt</web.context>
35 <api.version>1.0.0</api.version>
36 <api.title>ONOS OLT REST API</api.title>
37 <api.description>
38 APIs for interacting with the CORD OLT application.
39 </api.description>
Jonathan Hart1d34c8b2018-05-05 15:37:28 -070040 <onos.app.name>org.opencord.olt</onos.app.name>
41 <onos.app.title>OLT Access Management</onos.app.title>
42 <onos.app.origin>OpenCord</onos.app.origin>
43 <onos.app.category>default</onos.app.category>
44 <onos.app.url>http://opencord.org</onos.app.url>
45 <onos.app.readme>CORD OLT Access management application</onos.app.readme>
Jonathan Hartd7ab2aa2018-06-06 16:07:38 -070046 <api.package>org.opencord.olt.rest</api.package>
47 <olt.api.version>${project.version}</olt.api.version>
Andrea Campanella9b0db5f2020-02-20 09:45:55 +010048 <sadis.api.version>3.1.1</sadis.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>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080056 </dependency>
57
58 <dependency>
Jonathan Hart1d34c8b2018-05-05 15:37:28 -070059 <groupId>org.opencord</groupId>
Amit Ghosh1ed9aef2018-07-17 17:08:16 +010060 <artifactId>sadis-api</artifactId>
61 <version>${sadis.api.version}</version>
62 </dependency>
63
64 <dependency>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080065 <groupId>org.onosproject</groupId>
66 <artifactId>onos-cli</artifactId>
alshabib36a4d732016-06-01 16:03:59 -070067 <version>${onos.version}</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080068 </dependency>
69
70 <dependency>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080071 <groupId>org.onosproject</groupId>
72 <artifactId>onos-rest</artifactId>
alshabib36a4d732016-06-01 16:03:59 -070073 <version>${onos.version}</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080074 </dependency>
Jonathan Hartda66a012018-05-02 17:30:05 -070075
76 <dependency>
77 <groupId>org.apache.karaf.shell</groupId>
78 <artifactId>org.apache.karaf.shell.console</artifactId>
79 </dependency>
Matteo Scandolo962a6ad2018-12-11 15:39:42 -080080
81 <dependency>
82 <groupId>junit</groupId>
83 <artifactId>junit</artifactId>
84 <scope>test</scope>
85 </dependency>
86
87 <dependency>
88 <groupId>org.onosproject</groupId>
89 <artifactId>onlab-junit</artifactId>
90 <version>${onos.version}</version>
91 <scope>test</scope>
92 </dependency>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080093 </dependencies>
94
95 <build>
96 <plugins>
97 <plugin>
alshabib36a4d732016-06-01 16:03:59 -070098 <groupId>org.onosproject</groupId>
99 <artifactId>onos-maven-plugin</artifactId>
100 </plugin>
101 <plugin>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800102 <groupId>org.apache.felix</groupId>
103 <artifactId>maven-bundle-plugin</artifactId>
104 <extensions>true</extensions>
105 <configuration>
106 <instructions>
107 <_wab>src/main/webapp/</_wab>
108 <Include-Resource>
109 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
110 {maven-resources}
111 </Include-Resource>
112 <Bundle-SymbolicName>
113 ${project.groupId}.${project.artifactId}
114 </Bundle-SymbolicName>
115 <Import-Package>
Brian O'Connor864bdf02016-04-04 14:00:37 -0700116 *,org.glassfish.jersey.servlet
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800117 </Import-Package>
118 <Web-ContextPath>${web.context}</Web-ContextPath>
119 </instructions>
120 </configuration>
121 </plugin>
Jonathan Hart98ec6692016-07-06 10:40:21 -0700122 <plugin>
123 <groupId>org.apache.felix</groupId>
124 <artifactId>maven-scr-plugin</artifactId>
125 <version>1.21.0</version>
126 <executions>
127 <execution>
128 <id>generate-scr-srcdescriptor</id>
129 <goals>
130 <goal>scr</goal>
131 </goals>
132 </execution>
133 </executions>
134 <configuration>
135 <supportedProjectTypes>
136 <supportedProjectType>bundle</supportedProjectType>
137 <supportedProjectType>war</supportedProjectType>
138 </supportedProjectTypes>
139 </configuration>
140 </plugin>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800141 </plugins>
142 </build>
143</project>