blob: b21eea41313ef7a927522645bb65b28a6dcc157b [file] [log] [blame]
Amit Ghoshc29c7a92017-08-01 09:59:13 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connor180c1092017-08-03 22:46:14 -07003 ~ Copyright 2017-present Open Networking Foundation
Amit Ghoshc29c7a92017-08-01 09:59:13 +01004 ~
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 Cascone34059852019-09-30 19:33:00 -070023 <version>4.0.0-SNAPSHOT</version>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010024 <relativePath>../pom.xml</relativePath>
25 </parent>
Carmelo Cascone34059852019-09-30 19:33:00 -070026
Amit Ghoshc29c7a92017-08-01 09:59:13 +010027 <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 Abaka1e5ccf52018-07-02 11:59:03 +000035 <web.context>/onos</web.context>
Jonathan Hartc3f14652018-06-07 09:23:49 -070036 <api.version>2.0.0</api.version>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010037 <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 Ghoshc29c7a92017-08-01 09:59:13 +010058 <groupId>junit</groupId>
59 <artifactId>junit</artifactId>
60 <version>4.12</version>
61 <scope>test</scope>
62 </dependency>
63
64 <dependency>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010065 <groupId>org.onosproject</groupId>
Carmelo Cascone34059852019-09-30 19:33:00 -070066 <artifactId>onos-cli</artifactId>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010067 <version>${onos.version}</version>
Carmelo Cascone34059852019-09-30 19:33:00 -070068 <scope>provided</scope>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010069 </dependency>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010070
71 <dependency>
72 <groupId>org.onosproject</groupId>
Carmelo Cascone34059852019-09-30 19:33:00 -070073 <artifactId>onos-core-common</artifactId>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010074 <version>${onos.version}</version>
75 <scope>provided</scope>
76 </dependency>
77
78 <dependency>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010079 <groupId>org.onosproject</groupId>
80 <artifactId>onlab-rest</artifactId>
81 <version>${onos.version}</version>
82 <scope>provided</scope>
83 </dependency>
Jonathan Hart275ee252018-05-02 17:30:05 -070084
85 <dependency>
Carmelo Cascone34059852019-09-30 19:33:00 -070086 <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 Hart275ee252018-05-02 17:30:05 -0700100 <groupId>org.apache.karaf.shell</groupId>
101 <artifactId>org.apache.karaf.shell.console</artifactId>
Carmelo Cascone34059852019-09-30 19:33:00 -0700102 <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 Hart275ee252018-05-02 17:30:05 -0700132 </dependency>
Amit Ghoshc29c7a92017-08-01 09:59:13 +0100133 </dependencies>
134
135 <build>
136 <plugins>
Carmelo Cascone34059852019-09-30 19:33:00 -0700137
Amit Ghoshc29c7a92017-08-01 09:59:13 +0100138 <plugin>
139 <groupId>org.onosproject</groupId>
140 <artifactId>onos-maven-plugin</artifactId>
Carmelo Cascone34059852019-09-30 19:33:00 -0700141 <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 Ghoshc29c7a92017-08-01 09:59:13 +0100165 </plugin>
Carmelo Cascone34059852019-09-30 19:33:00 -0700166
Amit Ghoshc29c7a92017-08-01 09:59:13 +0100167 <plugin>
168 <groupId>org.apache.felix</groupId>
169 <artifactId>maven-bundle-plugin</artifactId>
Amit Ghoshc29c7a92017-08-01 09:59:13 +0100170 <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 Cascone34059852019-09-30 19:33:00 -0700184 <Karaf-Commands>org.opencord.sadis.cli</Karaf-Commands>
185 <_dsannotations-options>inherit</_dsannotations-options>
Amit Ghoshc29c7a92017-08-01 09:59:13 +0100186 </instructions>
187 </configuration>
188 </plugin>
Carmelo Cascone34059852019-09-30 19:33:00 -0700189
Amit Ghoshc29c7a92017-08-01 09:59:13 +0100190 </plugins>
191 </build>
192</project>