blob: 1bbe91864883673a298c93415cbe0080f0226a28 [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>
alshabib10a2b632016-08-03 14:06:00 -070023 <version>1.1-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>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080057 <groupId>org.onosproject</groupId>
58 <artifactId>onos-rest</artifactId>
alshabib36a4d732016-06-01 16:03:59 -070059 <version>${onos.version}</version>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080060 </dependency>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080061 </dependencies>
62
63 <build>
64 <plugins>
65 <plugin>
alshabib36a4d732016-06-01 16:03:59 -070066 <groupId>org.onosproject</groupId>
67 <artifactId>onos-maven-plugin</artifactId>
68 </plugin>
69 <plugin>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080070 <groupId>org.apache.felix</groupId>
71 <artifactId>maven-bundle-plugin</artifactId>
72 <extensions>true</extensions>
73 <configuration>
74 <instructions>
75 <_wab>src/main/webapp/</_wab>
76 <Include-Resource>
77 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
78 {maven-resources}
79 </Include-Resource>
80 <Bundle-SymbolicName>
81 ${project.groupId}.${project.artifactId}
82 </Bundle-SymbolicName>
83 <Import-Package>
Brian O'Connor864bdf02016-04-04 14:00:37 -070084 *,org.glassfish.jersey.servlet
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -080085 </Import-Package>
86 <Web-ContextPath>${web.context}</Web-ContextPath>
87 </instructions>
88 </configuration>
89 </plugin>
Jonathan Hart98ec6692016-07-06 10:40:21 -070090 <plugin>
91 <groupId>org.apache.felix</groupId>
92 <artifactId>maven-scr-plugin</artifactId>
93 <version>1.21.0</version>
94 <executions>
95 <execution>
96 <id>generate-scr-srcdescriptor</id>
97 <goals>
98 <goal>scr</goal>
99 </goals>
100 </execution>
101 </executions>
102 <configuration>
103 <supportedProjectTypes>
104 <supportedProjectType>bundle</supportedProjectType>
105 <supportedProjectType>war</supportedProjectType>
106 </supportedProjectTypes>
107 </configuration>
108 </plugin>
Srikanth Vavilapalli2e684912016-01-16 19:21:59 -0800109 </plugins>
110 </build>
111</project>