Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Brian O'Connor | d4fbd35 | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 3 | ~ Copyright 2016-present Open Networking Laboratory |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 4 | ~ |
| 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> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 21 | <groupId>org.opencord</groupId> |
| 22 | <artifactId>olt</artifactId> |
alshabib | 10a2b63 | 2016-08-03 14:06:00 -0700 | [diff] [blame] | 23 | <version>1.1-SNAPSHOT</version> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 24 | <relativePath>../pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 28 | <artifactId>olt-app</artifactId> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 29 | |
| 30 | <packaging>bundle</packaging> |
| 31 | <description>OLT application for CORD</description> |
| 32 | |
| 33 | <properties> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 34 | <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> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 45 | <groupId>org.opencord</groupId> |
| 46 | <artifactId>olt-api</artifactId> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 47 | <version>${project.version}</version> |
| 48 | </dependency> |
| 49 | |
| 50 | <dependency> |
| 51 | <groupId>org.onosproject</groupId> |
| 52 | <artifactId>onos-cli</artifactId> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 53 | <version>${onos.version}</version> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 54 | </dependency> |
| 55 | |
| 56 | <dependency> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 57 | <groupId>org.onosproject</groupId> |
| 58 | <artifactId>onos-rest</artifactId> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 59 | <version>${onos.version}</version> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 60 | </dependency> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 61 | </dependencies> |
| 62 | |
| 63 | <build> |
| 64 | <plugins> |
| 65 | <plugin> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 66 | <groupId>org.onosproject</groupId> |
| 67 | <artifactId>onos-maven-plugin</artifactId> |
| 68 | </plugin> |
| 69 | <plugin> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 70 | <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'Connor | 864bdf0 | 2016-04-04 14:00:37 -0700 | [diff] [blame] | 84 | *,org.glassfish.jersey.servlet |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 85 | </Import-Package> |
| 86 | <Web-ContextPath>${web.context}</Web-ContextPath> |
| 87 | </instructions> |
| 88 | </configuration> |
| 89 | </plugin> |
Jonathan Hart | 98ec669 | 2016-07-06 10:40:21 -0700 | [diff] [blame] | 90 | <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 Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 109 | </plugins> |
| 110 | </build> |
| 111 | </project> |