Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Brian O'Connor | 180c109 | 2017-08-03 22:46:14 -0700 | [diff] [blame] | 3 | ~ Copyright 2017-present Open Networking Foundation |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +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> |
| 21 | <groupId>org.opencord</groupId> |
| 22 | <artifactId>sadis</artifactId> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 23 | <version>4.0.0-SNAPSHOT</version> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 24 | <relativePath>../pom.xml</relativePath> |
| 25 | </parent> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 26 | |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | |
| 29 | <artifactId>sadis-app</artifactId> |
| 30 | |
| 31 | <packaging>bundle</packaging> |
| 32 | <description>Subscriber and Device Information application for CORD</description> |
| 33 | |
| 34 | <properties> |
Gamze Abaka | 1e5ccf5 | 2018-07-02 11:59:03 +0000 | [diff] [blame] | 35 | <web.context>/onos</web.context> |
Jonathan Hart | c3f1465 | 2018-06-07 09:23:49 -0700 | [diff] [blame] | 36 | <api.version>2.0.0</api.version> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 37 | <api.title>Subscriber And Device Information REST API</api.title> |
| 38 | <api.description>Subscriber And Device Information REST API</api.description> |
| 39 | <api.package>org.onosproject.sadis.rest</api.package> |
| 40 | </properties> |
| 41 | |
| 42 | <dependencies> |
| 43 | <dependency> |
| 44 | <groupId>org.onosproject</groupId> |
| 45 | <artifactId>onos-api</artifactId> |
| 46 | <version>${onos.version}</version> |
| 47 | <scope>test</scope> |
| 48 | <classifier>tests</classifier> |
| 49 | </dependency> |
| 50 | |
| 51 | <dependency> |
| 52 | <groupId>org.opencord</groupId> |
| 53 | <artifactId>sadis-api</artifactId> |
| 54 | <version>${project.version}</version> |
| 55 | </dependency> |
| 56 | |
| 57 | <dependency> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 58 | <groupId>junit</groupId> |
| 59 | <artifactId>junit</artifactId> |
| 60 | <version>4.12</version> |
| 61 | <scope>test</scope> |
| 62 | </dependency> |
| 63 | |
| 64 | <dependency> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 65 | <groupId>org.onosproject</groupId> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 66 | <artifactId>onos-cli</artifactId> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 67 | <version>${onos.version}</version> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 68 | <scope>provided</scope> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 69 | </dependency> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 70 | |
| 71 | <dependency> |
| 72 | <groupId>org.onosproject</groupId> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 73 | <artifactId>onos-core-common</artifactId> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 74 | <version>${onos.version}</version> |
| 75 | <scope>provided</scope> |
| 76 | </dependency> |
| 77 | |
| 78 | <dependency> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 79 | <groupId>org.onosproject</groupId> |
| 80 | <artifactId>onlab-rest</artifactId> |
| 81 | <version>${onos.version}</version> |
| 82 | <scope>provided</scope> |
| 83 | </dependency> |
Jonathan Hart | 275ee25 | 2018-05-02 17:30:05 -0700 | [diff] [blame] | 84 | |
| 85 | <dependency> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 86 | <groupId>org.osgi</groupId> |
| 87 | <artifactId>org.osgi.service.component.annotations</artifactId> |
| 88 | <version>1.4.0</version> |
| 89 | <scope>provided</scope> |
| 90 | </dependency> |
| 91 | |
| 92 | <dependency> |
| 93 | <groupId>org.osgi</groupId> |
| 94 | <artifactId>org.osgi.compendium</artifactId> |
| 95 | <version>5.0.0</version> |
| 96 | <scope>provided</scope> |
| 97 | </dependency> |
| 98 | |
| 99 | <dependency> |
Jonathan Hart | 275ee25 | 2018-05-02 17:30:05 -0700 | [diff] [blame] | 100 | <groupId>org.apache.karaf.shell</groupId> |
| 101 | <artifactId>org.apache.karaf.shell.console</artifactId> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 102 | <version>${karaf.version}</version> |
| 103 | <scope>provided</scope> |
| 104 | </dependency> |
| 105 | |
| 106 | <dependency> |
| 107 | <groupId>org.apache.karaf.shell</groupId> |
| 108 | <artifactId>org.apache.karaf.shell.core</artifactId> |
| 109 | <version>${karaf.version}</version> |
| 110 | <scope>provided</scope> |
| 111 | </dependency> |
| 112 | |
| 113 | <dependency> |
| 114 | <groupId>com.fasterxml.jackson.core</groupId> |
| 115 | <artifactId>jackson-core</artifactId> |
| 116 | <version>2.9.5</version> |
| 117 | <scope>provided</scope> |
| 118 | </dependency> |
| 119 | |
| 120 | <dependency> |
| 121 | <groupId>javax.ws.rs</groupId> |
| 122 | <artifactId>javax.ws.rs-api</artifactId> |
| 123 | <version>2.1</version> |
| 124 | <scope>provided</scope> |
| 125 | </dependency> |
| 126 | |
| 127 | <dependency> |
| 128 | <groupId>com.google.guava</groupId> |
| 129 | <artifactId>guava</artifactId> |
| 130 | <version>22.0</version> |
| 131 | <scope>provided</scope> |
Jonathan Hart | 275ee25 | 2018-05-02 17:30:05 -0700 | [diff] [blame] | 132 | </dependency> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 133 | </dependencies> |
| 134 | |
| 135 | <build> |
| 136 | <plugins> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 137 | |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 138 | <plugin> |
| 139 | <groupId>org.onosproject</groupId> |
| 140 | <artifactId>onos-maven-plugin</artifactId> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 141 | <version>2.2</version> |
| 142 | <executions> |
| 143 | <execution> |
| 144 | <id>cfg</id> |
| 145 | <phase>generate-resources</phase> |
| 146 | <goals> |
| 147 | <goal>cfg</goal> |
| 148 | </goals> |
| 149 | </execution> |
| 150 | <execution> |
| 151 | <id>swagger</id> |
| 152 | <phase>generate-sources</phase> |
| 153 | <goals> |
| 154 | <goal>swagger</goal> |
| 155 | </goals> |
| 156 | </execution> |
| 157 | <execution> |
| 158 | <id>app</id> |
| 159 | <phase>package</phase> |
| 160 | <goals> |
| 161 | <goal>app</goal> |
| 162 | </goals> |
| 163 | </execution> |
| 164 | </executions> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 165 | </plugin> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 166 | |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 167 | <plugin> |
| 168 | <groupId>org.apache.felix</groupId> |
| 169 | <artifactId>maven-bundle-plugin</artifactId> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 170 | <configuration> |
| 171 | <instructions> |
| 172 | <_wab>src/main/webapp/</_wab> |
| 173 | <Include-Resource> |
| 174 | WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 175 | {maven-resources} |
| 176 | </Include-Resource> |
| 177 | <Bundle-SymbolicName> |
| 178 | ${project.groupId}.${project.artifactId} |
| 179 | </Bundle-SymbolicName> |
| 180 | <Import-Package> |
| 181 | *,org.glassfish.jersey.servlet |
| 182 | </Import-Package> |
| 183 | <Web-ContextPath>${web.context}</Web-ContextPath> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 184 | <Karaf-Commands>org.opencord.sadis.cli</Karaf-Commands> |
| 185 | <_dsannotations-options>inherit</_dsannotations-options> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 186 | </instructions> |
| 187 | </configuration> |
| 188 | </plugin> |
Carmelo Cascone | 3405985 | 2019-09-30 19:33:00 -0700 | [diff] [blame] | 189 | |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 190 | </plugins> |
| 191 | </build> |
| 192 | </project> |