blob: 7c99f45d5dd04d3f4e3c19572662edde6d512b81 [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>
David K. Bainbridgec991d582017-09-08 12:03:43 -070023 <version>1.4.0-SNAPSHOT</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>
David K. Bainbridge12e0a2c2017-08-10 09:12:56 -070040 <api.package>org.onosproject.olt.rest</api.package>
David K. Bainbridgec991d582017-09-08 12:03:43 -070041 <olt.api.version>1.4.0-SNAPSHOT</olt.api.version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080042 </properties>
43
44 <dependencies>
45 <dependency>
alshabib36a4d732016-06-01 16:03:59 -070046 <groupId>org.opencord</groupId>
47 <artifactId>olt-api</artifactId>
David K. Bainbridge12e0a2c2017-08-10 09:12:56 -070048 <version>${olt.api.version}</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080049 </dependency>
50
51 <dependency>
52 <groupId>org.onosproject</groupId>
53 <artifactId>onos-cli</artifactId>
alshabib36a4d732016-06-01 16:03:59 -070054 <version>${onos.version}</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080055 </dependency>
56
57 <dependency>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080058 <groupId>org.onosproject</groupId>
59 <artifactId>onos-rest</artifactId>
alshabib36a4d732016-06-01 16:03:59 -070060 <version>${onos.version}</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080061 </dependency>
Jonathan Hartda66a012018-05-02 17:30:05 -070062
63 <dependency>
64 <groupId>org.apache.karaf.shell</groupId>
65 <artifactId>org.apache.karaf.shell.console</artifactId>
66 </dependency>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080067 </dependencies>
68
69 <build>
70 <plugins>
71 <plugin>
alshabib36a4d732016-06-01 16:03:59 -070072 <groupId>org.onosproject</groupId>
73 <artifactId>onos-maven-plugin</artifactId>
Jonathan Hartda66a012018-05-02 17:30:05 -070074 <version>1.11</version>
alshabib36a4d732016-06-01 16:03:59 -070075 </plugin>
76 <plugin>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080077 <groupId>org.apache.felix</groupId>
78 <artifactId>maven-bundle-plugin</artifactId>
79 <extensions>true</extensions>
80 <configuration>
81 <instructions>
82 <_wab>src/main/webapp/</_wab>
83 <Include-Resource>
84 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
85 {maven-resources}
86 </Include-Resource>
87 <Bundle-SymbolicName>
88 ${project.groupId}.${project.artifactId}
89 </Bundle-SymbolicName>
90 <Import-Package>
Brian O'Connor864bdf02016-04-04 14:00:37 -070091 *,org.glassfish.jersey.servlet
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080092 </Import-Package>
93 <Web-ContextPath>${web.context}</Web-ContextPath>
94 </instructions>
95 </configuration>
96 </plugin>
Jonathan Hart98ec6692016-07-06 10:40:21 -070097 <plugin>
98 <groupId>org.apache.felix</groupId>
99 <artifactId>maven-scr-plugin</artifactId>
100 <version>1.21.0</version>
101 <executions>
102 <execution>
103 <id>generate-scr-srcdescriptor</id>
104 <goals>
105 <goal>scr</goal>
106 </goals>
107 </execution>
108 </executions>
109 <configuration>
110 <supportedProjectTypes>
111 <supportedProjectType>bundle</supportedProjectType>
112 <supportedProjectType>war</supportedProjectType>
113 </supportedProjectTypes>
114 </configuration>
115 </plugin>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800116 </plugins>
117 </build>
118</project>