Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Matteo Scandolo | aa2adde | 2021-09-13 12:45:32 -0700 | [diff] [blame] | 3 | ~ Copyright 2021 Open Networking Foundation |
Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [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> |
Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [diff] [blame] | 21 | <artifactId>olt</artifactId> |
Matteo Scandolo | aa2adde | 2021-09-13 12:45:32 -0700 | [diff] [blame] | 22 | <groupId>org.opencord</groupId> |
Jenkins | a0a3e93 | 2022-01-10 11:10:39 +0000 | [diff] [blame^] | 23 | <version>5.0.1</version> |
Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [diff] [blame] | 24 | </parent> |
Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [diff] [blame] | 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | <artifactId>olt-web</artifactId> |
| 27 | <packaging>bundle</packaging> |
| 28 | <description>REST API for OLT application for CORD</description> |
| 29 | |
| 30 | <properties> |
| 31 | <web.context>/onos/olt</web.context> |
| 32 | <api.version>1.0.0</api.version> |
| 33 | <api.title>ONOS OLT REST API</api.title> |
| 34 | <api.description> |
| 35 | APIs for interacting with the CORD OLT application. |
| 36 | </api.description> |
| 37 | <api.package>org.opencord.olt.rest</api.package> |
Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [diff] [blame] | 38 | </properties> |
Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [diff] [blame] | 39 | <dependencies> |
| 40 | <dependency> |
Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [diff] [blame] | 41 | <groupId>javax.ws.rs</groupId> |
| 42 | <artifactId>javax.ws.rs-api</artifactId> |
| 43 | <scope>provided</scope> |
| 44 | </dependency> |
Matteo Scandolo | aa2adde | 2021-09-13 12:45:32 -0700 | [diff] [blame] | 45 | <dependency> |
| 46 | <groupId>org.opencord</groupId> |
| 47 | <artifactId>olt-api</artifactId> |
Andrea Campanella | 3ec01a5 | 2021-12-27 17:20:51 +0100 | [diff] [blame] | 48 | <version>${olt.api.version}</version> |
Matteo Scandolo | aa2adde | 2021-09-13 12:45:32 -0700 | [diff] [blame] | 49 | <scope>compile</scope> |
| 50 | </dependency> |
Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [diff] [blame] | 51 | </dependencies> |
Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [diff] [blame] | 52 | <build> |
| 53 | <plugins> |
| 54 | <plugin> |
| 55 | <groupId>org.onosproject</groupId> |
| 56 | <artifactId>onos-maven-plugin</artifactId> |
| 57 | </plugin> |
| 58 | |
| 59 | <plugin> |
| 60 | <groupId>org.apache.felix</groupId> |
| 61 | <artifactId>maven-bundle-plugin</artifactId> |
| 62 | <configuration> |
| 63 | <instructions> |
| 64 | <_wab>src/main/webapp/</_wab> |
| 65 | <Include-Resource> |
| 66 | WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 67 | {maven-resources} |
| 68 | </Include-Resource> |
| 69 | <Import-Package> |
| 70 | *,org.glassfish.jersey.servlet |
| 71 | </Import-Package> |
| 72 | <Web-ContextPath>${web.context}</Web-ContextPath> |
Andrea Campanella | 37f07e4 | 2021-02-16 11:24:39 +0100 | [diff] [blame] | 73 | </instructions> |
| 74 | </configuration> |
| 75 | </plugin> |
| 76 | </plugins> |
| 77 | </build> |
Matteo Scandolo | aa2adde | 2021-09-13 12:45:32 -0700 | [diff] [blame] | 78 | </project> |