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> |
Jenkins | 29aef64 | 2018-01-12 10:04:46 -0800 | [diff] [blame] | 23 | <version>2.1.0-SNAPSHOT</version> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 24 | <relativePath>../pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | |
| 28 | <artifactId>sadis-app</artifactId> |
| 29 | |
| 30 | <packaging>bundle</packaging> |
| 31 | <description>Subscriber and Device Information application for CORD</description> |
| 32 | |
| 33 | <properties> |
| 34 | <web.context>/onos/sadis</web.context> |
Amit Ghosh | d5d60cf | 2017-11-09 11:00:09 +0000 | [diff] [blame] | 35 | <api.version>2.0.0-SNAPSHOT</api.version> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 36 | <api.title>Subscriber And Device Information REST API</api.title> |
| 37 | <api.description>Subscriber And Device Information REST API</api.description> |
| 38 | <api.package>org.onosproject.sadis.rest</api.package> |
| 39 | </properties> |
| 40 | |
| 41 | <dependencies> |
| 42 | <dependency> |
| 43 | <groupId>org.onosproject</groupId> |
| 44 | <artifactId>onos-api</artifactId> |
| 45 | <version>${onos.version}</version> |
| 46 | <scope>test</scope> |
| 47 | <classifier>tests</classifier> |
| 48 | </dependency> |
| 49 | |
| 50 | <dependency> |
| 51 | <groupId>org.opencord</groupId> |
| 52 | <artifactId>sadis-api</artifactId> |
| 53 | <version>${project.version}</version> |
| 54 | </dependency> |
| 55 | |
| 56 | <dependency> |
| 57 | <groupId>org.onosproject</groupId> |
| 58 | <artifactId>onlab-osgi</artifactId> |
| 59 | <version>${onos.version}</version> |
| 60 | </dependency> |
| 61 | |
| 62 | <dependency> |
| 63 | <groupId>org.onosproject</groupId> |
| 64 | <artifactId>onlab-junit</artifactId> |
| 65 | <version>${onos.version}</version> |
| 66 | <scope>test</scope> |
| 67 | </dependency> |
| 68 | |
| 69 | <dependency> |
| 70 | <groupId>junit</groupId> |
| 71 | <artifactId>junit</artifactId> |
| 72 | <version>4.12</version> |
| 73 | <scope>test</scope> |
| 74 | </dependency> |
| 75 | |
| 76 | <dependency> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 77 | <groupId>org.onosproject</groupId> |
| 78 | <artifactId>onos-rest</artifactId> |
| 79 | <version>${onos.version}</version> |
| 80 | </dependency> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 81 | |
| 82 | <dependency> |
| 83 | <groupId>org.onosproject</groupId> |
| 84 | <artifactId>onos-cli</artifactId> |
| 85 | <version>${onos.version}</version> |
| 86 | <scope>provided</scope> |
| 87 | </dependency> |
| 88 | |
| 89 | <dependency> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 90 | <groupId>org.onosproject</groupId> |
| 91 | <artifactId>onlab-rest</artifactId> |
| 92 | <version>${onos.version}</version> |
| 93 | <scope>provided</scope> |
| 94 | </dependency> |
Jonathan Hart | 275ee25 | 2018-05-02 17:30:05 -0700 | [diff] [blame] | 95 | |
| 96 | <dependency> |
| 97 | <groupId>org.apache.karaf.shell</groupId> |
| 98 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 99 | </dependency> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 100 | </dependencies> |
| 101 | |
| 102 | <build> |
| 103 | <plugins> |
| 104 | <plugin> |
| 105 | <groupId>org.onosproject</groupId> |
| 106 | <artifactId>onos-maven-plugin</artifactId> |
Jonathan Hart | 275ee25 | 2018-05-02 17:30:05 -0700 | [diff] [blame] | 107 | <version>1.11</version> |
Amit Ghosh | c29c7a9 | 2017-08-01 09:59:13 +0100 | [diff] [blame] | 108 | </plugin> |
| 109 | <plugin> |
| 110 | <groupId>org.apache.felix</groupId> |
| 111 | <artifactId>maven-bundle-plugin</artifactId> |
| 112 | <extensions>true</extensions> |
| 113 | <configuration> |
| 114 | <instructions> |
| 115 | <_wab>src/main/webapp/</_wab> |
| 116 | <Include-Resource> |
| 117 | WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 118 | {maven-resources} |
| 119 | </Include-Resource> |
| 120 | <Bundle-SymbolicName> |
| 121 | ${project.groupId}.${project.artifactId} |
| 122 | </Bundle-SymbolicName> |
| 123 | <Import-Package> |
| 124 | *,org.glassfish.jersey.servlet |
| 125 | </Import-Package> |
| 126 | <Web-ContextPath>${web.context}</Web-ContextPath> |
| 127 | </instructions> |
| 128 | </configuration> |
| 129 | </plugin> |
| 130 | <plugin> |
| 131 | <groupId>org.apache.felix</groupId> |
| 132 | <artifactId>maven-scr-plugin</artifactId> |
| 133 | <version>1.21.0</version> |
| 134 | <executions> |
| 135 | <execution> |
| 136 | <id>generate-scr-srcdescriptor</id> |
| 137 | <goals> |
| 138 | <goal>scr</goal> |
| 139 | </goals> |
| 140 | </execution> |
| 141 | </executions> |
| 142 | <configuration> |
| 143 | <supportedProjectTypes> |
| 144 | <supportedProjectType>bundle</supportedProjectType> |
| 145 | <supportedProjectType>war</supportedProjectType> |
| 146 | </supportedProjectTypes> |
| 147 | </configuration> |
| 148 | </plugin> |
| 149 | </plugins> |
| 150 | </build> |
| 151 | </project> |