blob: 4b4afc5c5092eb2f47180dc062a8e8fa612870ce [file] [log] [blame]
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connord4fbd352016-04-09 01:19:45 -07003 ~ Copyright 2016-present Open Networking Laboratory
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>
23 <version>1.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>
40 <api.package>org.onosproject.olt.rest</api.package>
41 </properties>
42
43 <dependencies>
44 <dependency>
alshabib36a4d732016-06-01 16:03:59 -070045 <groupId>org.opencord</groupId>
46 <artifactId>olt-api</artifactId>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080047 <version>${project.version}</version>
48 </dependency>
49
50 <dependency>
51 <groupId>org.onosproject</groupId>
52 <artifactId>onos-cli</artifactId>
alshabib36a4d732016-06-01 16:03:59 -070053 <version>${onos.version}</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080054 </dependency>
55
56 <dependency>
57 <groupId>org.apache.karaf.shell</groupId>
58 <artifactId>org.apache.karaf.shell.console</artifactId>
59 </dependency>
60 <dependency>
61 <groupId>org.onosproject</groupId>
62 <artifactId>onos-rest</artifactId>
alshabib36a4d732016-06-01 16:03:59 -070063 <version>${onos.version}</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080064 </dependency>
65 <dependency>
66 <groupId>javax.ws.rs</groupId>
Jian Li6c739a22016-03-09 10:52:49 -080067 <artifactId>javax.ws.rs-api</artifactId>
68 <version>2.0.1</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080069 </dependency>
70 <dependency>
Jian Li6c739a22016-03-09 10:52:49 -080071 <groupId>org.glassfish.jersey.containers</groupId>
72 <artifactId>jersey-container-servlet</artifactId>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080073 </dependency>
74 <dependency>
75 <groupId>com.fasterxml.jackson.core</groupId>
76 <artifactId>jackson-databind</artifactId>
77 </dependency>
78
79 <dependency>
80 <groupId>com.fasterxml.jackson.core</groupId>
81 <artifactId>jackson-annotations</artifactId>
82 </dependency>
83
84 <dependency>
85 <groupId>org.osgi</groupId>
86 <artifactId>org.osgi.compendium</artifactId>
87 </dependency>
88 <dependency>
89 <groupId>org.osgi</groupId>
90 <artifactId>org.osgi.core</artifactId>
91 </dependency>
alshabib36a4d732016-06-01 16:03:59 -070092 <dependency>
93 <groupId>org.apache.felix</groupId>
94 <artifactId>org.apache.felix.scr.annotations</artifactId>
95 </dependency>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080096 </dependencies>
97
98 <build>
99 <plugins>
100 <plugin>
alshabib36a4d732016-06-01 16:03:59 -0700101 <groupId>org.onosproject</groupId>
102 <artifactId>onos-maven-plugin</artifactId>
103 </plugin>
104 <plugin>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800105 <groupId>org.apache.felix</groupId>
106 <artifactId>maven-bundle-plugin</artifactId>
107 <extensions>true</extensions>
108 <configuration>
109 <instructions>
110 <_wab>src/main/webapp/</_wab>
111 <Include-Resource>
112 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
113 {maven-resources}
114 </Include-Resource>
115 <Bundle-SymbolicName>
116 ${project.groupId}.${project.artifactId}
117 </Bundle-SymbolicName>
118 <Import-Package>
Brian O'Connor864bdf02016-04-04 14:00:37 -0700119 *,org.glassfish.jersey.servlet
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800120 </Import-Package>
121 <Web-ContextPath>${web.context}</Web-ContextPath>
122 </instructions>
123 </configuration>
124 </plugin>
125 </plugins>
126 </build>
127</project>