blob: c9d29ac57a9f418e8b946178d62b75130bcb0328 [file] [log] [blame]
Amit Ghoshc29c7a92017-08-01 09:59:13 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2017-present Open Networking Laboratory
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>
23 <version>1.0.0</version>
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>
35 <api.version>1.0.0</api.version>
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>
77 <groupId>org.apache.felix</groupId>
78 <artifactId>org.apache.felix.scr.annotations</artifactId>
79 <version>1.9.12</version>
80 <scope>provided</scope>
81 </dependency>
82
83 <dependency>
84 <groupId>javax.ws.rs</groupId>
85 <artifactId>javax.ws.rs-api</artifactId>
86 <version>2.0.1</version>
87 <scope>provided</scope>
88 </dependency>
89
90 <dependency>
91 <groupId>com.fasterxml.jackson.core</groupId>
92 <artifactId>jackson-annotations</artifactId>
93 <version>2.8.6</version>
94 <scope>provided</scope>
95 </dependency>
96
97 <dependency>
98 <groupId>com.fasterxml.jackson.core</groupId>
99 <artifactId>jackson-databind</artifactId>
100 <version>2.8.6</version>
101 <scope>provided</scope>
102 </dependency>
103
104 <dependency>
105 <groupId>org.osgi</groupId>
106 <artifactId>org.osgi.core</artifactId>
107 <version>5.0.0</version>
108 <scope>provided</scope>
109 </dependency>
110
111 <dependency>
112 <groupId>org.onosproject</groupId>
113 <artifactId>onos-rest</artifactId>
114 <version>${onos.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>org.apache.karaf.shell</groupId>
118 <artifactId>org.apache.karaf.shell.console</artifactId>
119 <version>3.0.8</version>
120 <scope>provided</scope>
121 </dependency>
122
123 <dependency>
124 <groupId>org.onosproject</groupId>
125 <artifactId>onos-cli</artifactId>
126 <version>${onos.version}</version>
127 <scope>provided</scope>
128 </dependency>
129
130 <dependency>
131 <groupId>org.glassfish.jersey.containers</groupId>
132 <artifactId>jersey-container-servlet</artifactId>
133 <version>2.25.1</version>
134 <scope>provided</scope>
135 </dependency>
136
137 <dependency>
138 <groupId>org.onosproject</groupId>
139 <artifactId>onlab-rest</artifactId>
140 <version>${onos.version}</version>
141 <scope>provided</scope>
142 </dependency>
143 </dependencies>
144
145 <build>
146 <plugins>
147 <plugin>
148 <groupId>org.onosproject</groupId>
149 <artifactId>onos-maven-plugin</artifactId>
150 </plugin>
151 <plugin>
152 <groupId>org.apache.felix</groupId>
153 <artifactId>maven-bundle-plugin</artifactId>
154 <extensions>true</extensions>
155 <configuration>
156 <instructions>
157 <_wab>src/main/webapp/</_wab>
158 <Include-Resource>
159 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
160 {maven-resources}
161 </Include-Resource>
162 <Bundle-SymbolicName>
163 ${project.groupId}.${project.artifactId}
164 </Bundle-SymbolicName>
165 <Import-Package>
166 *,org.glassfish.jersey.servlet
167 </Import-Package>
168 <Web-ContextPath>${web.context}</Web-ContextPath>
169 </instructions>
170 </configuration>
171 </plugin>
172 <plugin>
173 <groupId>org.apache.felix</groupId>
174 <artifactId>maven-scr-plugin</artifactId>
175 <version>1.21.0</version>
176 <executions>
177 <execution>
178 <id>generate-scr-srcdescriptor</id>
179 <goals>
180 <goal>scr</goal>
181 </goals>
182 </execution>
183 </executions>
184 <configuration>
185 <supportedProjectTypes>
186 <supportedProjectType>bundle</supportedProjectType>
187 <supportedProjectType>war</supportedProjectType>
188 </supportedProjectTypes>
189 </configuration>
190 </plugin>
191 </plugins>
192 </build>
193</project>