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> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 23 | <version>4.0.0-SNAPSHOT</version> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 24 | <relativePath>../pom.xml</relativePath> |
| 25 | </parent> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 26 | |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
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 | <packaging>bundle</packaging> |
| 30 | <description>OLT application for CORD</description> |
| 31 | |
| 32 | <properties> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 33 | <web.context>/onos/olt</web.context> |
| 34 | <api.version>1.0.0</api.version> |
| 35 | <api.title>ONOS OLT REST API</api.title> |
| 36 | <api.description> |
| 37 | APIs for interacting with the CORD OLT application. |
| 38 | </api.description> |
Jonathan Hart | 1d34c8b | 2018-05-05 15:37:28 -0700 | [diff] [blame] | 39 | <onos.app.name>org.opencord.olt</onos.app.name> |
| 40 | <onos.app.title>OLT Access Management</onos.app.title> |
| 41 | <onos.app.origin>OpenCord</onos.app.origin> |
| 42 | <onos.app.category>default</onos.app.category> |
| 43 | <onos.app.url>http://opencord.org</onos.app.url> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 44 | <onos.app.readme> |
| 45 | CORD OLT Access management application |
| 46 | </onos.app.readme> |
Jonathan Hart | d7ab2aa | 2018-06-06 16:07:38 -0700 | [diff] [blame] | 47 | <api.package>org.opencord.olt.rest</api.package> |
| 48 | <olt.api.version>${project.version}</olt.api.version> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 49 | </properties> |
| 50 | |
| 51 | <dependencies> |
| 52 | <dependency> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 53 | <groupId>org.opencord</groupId> |
| 54 | <artifactId>olt-api</artifactId> |
David K. Bainbridge | 12e0a2c | 2017-08-10 09:12:56 -0700 | [diff] [blame] | 55 | <version>${olt.api.version}</version> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 56 | <scope>compile</scope> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 57 | </dependency> |
| 58 | |
| 59 | <dependency> |
Jonathan Hart | 1d34c8b | 2018-05-05 15:37:28 -0700 | [diff] [blame] | 60 | <groupId>org.opencord</groupId> |
Amit Ghosh | 1ed9aef | 2018-07-17 17:08:16 +0100 | [diff] [blame] | 61 | <artifactId>sadis-api</artifactId> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 62 | <version>${sadis.api.version}</version> |
| 63 | <scope>provided</scope> |
Amit Ghosh | 1ed9aef | 2018-07-17 17:08:16 +0100 | [diff] [blame] | 64 | </dependency> |
| 65 | |
| 66 | <dependency> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 67 | <groupId>org.onosproject</groupId> |
| 68 | <artifactId>onos-cli</artifactId> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 69 | <version>${onos.version}</version> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 70 | <scope>provided</scope> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 71 | </dependency> |
| 72 | |
| 73 | <dependency> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 74 | <groupId>org.onosproject</groupId> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 75 | <artifactId>onos-core-serializers</artifactId> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 76 | <version>${onos.version}</version> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 77 | <scope>provided</scope> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 78 | </dependency> |
Jonathan Hart | da66a01 | 2018-05-02 17:30:05 -0700 | [diff] [blame] | 79 | |
| 80 | <dependency> |
| 81 | <groupId>org.apache.karaf.shell</groupId> |
| 82 | <artifactId>org.apache.karaf.shell.console</artifactId> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 83 | <version>${karaf.version}</version> |
| 84 | <scope>provided</scope> |
| 85 | </dependency> |
| 86 | |
| 87 | <dependency> |
| 88 | <groupId>org.apache.karaf.shell</groupId> |
| 89 | <artifactId>org.apache.karaf.shell.core</artifactId> |
| 90 | <version>${karaf.version}</version> |
| 91 | <scope>provided</scope> |
| 92 | </dependency> |
| 93 | |
| 94 | <dependency> |
| 95 | <groupId>org.osgi</groupId> |
| 96 | <artifactId>org.osgi.service.component.annotations</artifactId> |
| 97 | <version>1.4.0</version> |
| 98 | <scope>provided</scope> |
| 99 | </dependency> |
| 100 | |
| 101 | <dependency> |
| 102 | <groupId>org.osgi</groupId> |
| 103 | <artifactId>org.osgi.compendium</artifactId> |
| 104 | <version>5.0.0</version> |
| 105 | <scope>provided</scope> |
Jonathan Hart | da66a01 | 2018-05-02 17:30:05 -0700 | [diff] [blame] | 106 | </dependency> |
Matteo Scandolo | 962a6ad | 2018-12-11 15:39:42 -0800 | [diff] [blame] | 107 | |
| 108 | <dependency> |
| 109 | <groupId>junit</groupId> |
| 110 | <artifactId>junit</artifactId> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 111 | <version>4.12</version> |
Matteo Scandolo | 962a6ad | 2018-12-11 15:39:42 -0800 | [diff] [blame] | 112 | <scope>test</scope> |
| 113 | </dependency> |
| 114 | |
| 115 | <dependency> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 116 | <groupId>javax.ws.rs</groupId> |
| 117 | <artifactId>javax.ws.rs-api</artifactId> |
| 118 | <version>2.1</version> |
| 119 | <scope>provided</scope> |
| 120 | </dependency> |
| 121 | |
| 122 | <dependency> |
| 123 | <groupId>org.slf4j</groupId> |
| 124 | <artifactId>slf4j-api</artifactId> |
| 125 | <version>1.7.25</version> |
| 126 | <scope>provided</scope> |
Matteo Scandolo | 962a6ad | 2018-12-11 15:39:42 -0800 | [diff] [blame] | 127 | </dependency> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 128 | </dependencies> |
| 129 | |
| 130 | <build> |
| 131 | <plugins> |
| 132 | <plugin> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 133 | <groupId>org.onosproject</groupId> |
| 134 | <artifactId>onos-maven-plugin</artifactId> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 135 | <version>2.2</version> |
| 136 | <executions> |
| 137 | <execution> |
| 138 | <id>cfg</id> |
| 139 | <phase>generate-resources</phase> |
| 140 | <goals> |
| 141 | <goal>cfg</goal> |
| 142 | </goals> |
| 143 | </execution> |
| 144 | <execution> |
| 145 | <id>swagger</id> |
| 146 | <phase>generate-sources</phase> |
| 147 | <goals> |
| 148 | <goal>swagger</goal> |
| 149 | </goals> |
| 150 | </execution> |
| 151 | <execution> |
| 152 | <id>app</id> |
| 153 | <phase>package</phase> |
| 154 | <goals> |
| 155 | <goal>app</goal> |
| 156 | </goals> |
| 157 | </execution> |
| 158 | </executions> |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 159 | </plugin> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 160 | |
alshabib | 36a4d73 | 2016-06-01 16:03:59 -0700 | [diff] [blame] | 161 | <plugin> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 162 | <groupId>org.apache.felix</groupId> |
| 163 | <artifactId>maven-bundle-plugin</artifactId> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 164 | <configuration> |
| 165 | <instructions> |
| 166 | <_wab>src/main/webapp/</_wab> |
| 167 | <Include-Resource> |
| 168 | WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 169 | {maven-resources} |
| 170 | </Include-Resource> |
| 171 | <Bundle-SymbolicName> |
| 172 | ${project.groupId}.${project.artifactId} |
| 173 | </Bundle-SymbolicName> |
| 174 | <Import-Package> |
Brian O'Connor | 864bdf0 | 2016-04-04 14:00:37 -0700 | [diff] [blame] | 175 | *,org.glassfish.jersey.servlet |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 176 | </Import-Package> |
| 177 | <Web-ContextPath>${web.context}</Web-ContextPath> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 178 | <Karaf-Commands>org.opencord.olt.cli</Karaf-Commands> |
| 179 | <_dsannotations-options>inherit</_dsannotations-options> |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 180 | </instructions> |
| 181 | </configuration> |
| 182 | </plugin> |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame^] | 183 | |
Srikanth Vavilapalli | 2e68491 | 2016-01-16 19:21:59 -0800 | [diff] [blame] | 184 | </plugins> |
| 185 | </build> |
| 186 | </project> |