Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Brian O'Connor | d6a135a | 2017-08-03 22:46:05 -0700 | [diff] [blame] | 3 | ~ Copyright 2016-present Open Networking Foundation |
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> |
David K. Bainbridge | 12e0a2c | 2017-08-10 09:12:56 -0700 | [diff] [blame] | 23 | <version>1.2.0-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> |
David K. Bainbridge | 12e0a2c | 2017-08-10 09:12:56 -0700 | [diff] [blame] | 40 | <api.package>org.onosproject.olt.rest</api.package> |
| 41 | <olt.api.version>1.2.0-SNAPSHOT</olt.api.version> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 42 | </properties> |
| 43 | |
| 44 | <dependencies> |
| 45 | <dependency> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 46 | <groupId>org.opencord</groupId> |
| 47 | <artifactId>olt-api</artifactId> |
David K. Bainbridge | 12e0a2c | 2017-08-10 09:12:56 -0700 | [diff] [blame] | 48 | <version>${olt.api.version}</version> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 49 | </dependency> |
| 50 | |
| 51 | <dependency> |
| 52 | <groupId>org.onosproject</groupId> |
| 53 | <artifactId>onos-cli</artifactId> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 54 | <version>${onos.version}</version> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 55 | </dependency> |
| 56 | |
| 57 | <dependency> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 58 | <groupId>org.onosproject</groupId> |
| 59 | <artifactId>onos-rest</artifactId> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 60 | <version>${onos.version}</version> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 61 | </dependency> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 62 | </dependencies> |
| 63 | |
| 64 | <build> |
| 65 | <plugins> |
| 66 | <plugin> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 67 | <groupId>org.onosproject</groupId> |
| 68 | <artifactId>onos-maven-plugin</artifactId> |
| 69 | </plugin> |
| 70 | <plugin> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 71 | <groupId>org.apache.felix</groupId> |
| 72 | <artifactId>maven-bundle-plugin</artifactId> |
| 73 | <extensions>true</extensions> |
| 74 | <configuration> |
| 75 | <instructions> |
| 76 | <_wab>src/main/webapp/</_wab> |
| 77 | <Include-Resource> |
| 78 | WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 79 | {maven-resources} |
| 80 | </Include-Resource> |
| 81 | <Bundle-SymbolicName> |
| 82 | ${project.groupId}.${project.artifactId} |
| 83 | </Bundle-SymbolicName> |
| 84 | <Import-Package> |
Brian O'Connor | 864bdf0 | 2016-04-04 14:00:37 -0700 | [diff] [blame] | 85 | *,org.glassfish.jersey.servlet |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 86 | </Import-Package> |
| 87 | <Web-ContextPath>${web.context}</Web-ContextPath> |
| 88 | </instructions> |
| 89 | </configuration> |
| 90 | </plugin> |
Jonathan Hart | 98ec669 | 2016-07-06 10:40:21 -0700 | [diff] [blame] | 91 | <plugin> |
| 92 | <groupId>org.apache.felix</groupId> |
| 93 | <artifactId>maven-scr-plugin</artifactId> |
| 94 | <version>1.21.0</version> |
| 95 | <executions> |
| 96 | <execution> |
| 97 | <id>generate-scr-srcdescriptor</id> |
| 98 | <goals> |
| 99 | <goal>scr</goal> |
| 100 | </goals> |
| 101 | </execution> |
| 102 | </executions> |
| 103 | <configuration> |
| 104 | <supportedProjectTypes> |
| 105 | <supportedProjectType>bundle</supportedProjectType> |
| 106 | <supportedProjectType>war</supportedProjectType> |
| 107 | </supportedProjectTypes> |
| 108 | </configuration> |
| 109 | </plugin> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 110 | </plugins> |
| 111 | </build> |
| 112 | </project> |