blob: 64d312372754795162dc6781790780317cd3a5b4 [file] [log] [blame]
David K. Bainbridgeeda2b052017-07-12 09:41:04 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2017 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 --><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
17 <modelVersion>4.0.0</modelVersion>
18
19 <parent>
20 <groupId>org.onosproject</groupId>
21 <artifactId>onos-dependencies</artifactId>
22 <version>1.10.0</version>
23 <relativePath></relativePath>
24 </parent>
25
26 <groupId>org.opencord.sadis</groupId>
27 <artifactId>sadis</artifactId>
28 <version>1.0.0</version>
29 <packaging>bundle</packaging>
30
31 <description>ONOS OSGi bundle archetype</description>
32 <url>http://onosproject.org</url>
33
34 <properties>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36 <onos.version>1.10.0</onos.version>
37
38 <onos.app.name>org.opencord.sadis</onos.app.name>
39 <onos.app.category>Utility</onos.app.category>
40 <onos.app.title>Subscriber and Access Device Information Service</onos.app.title>
41 <onos.app.origin>Open Networking Laboratory</onos.app.origin>
42 <onos.app.url>http://opencord.org</onos.app.url>
43 <onos.app.readme>https://gerrit.opencord.org/gitweb?p=igmp.git;f=README.md;hb=HEAD</onos.app.readme>
44 <onos.app.requires>org.opencord.config</onos.app.requires>
45
46 <api.title>Subscriber And Device Information REST API</api.title>
47 <api.version>1.0.0</api.version>
48 <api.description>Subscriber And Device Information REST API</api.description>
49 <api.package>org.opencord.sadis</api.package>
50 <web.context>/onos/sadis</web.context>
51 </properties>
52
53 <dependencies>
54 <dependency>
55 <groupId>org.onosproject</groupId>
56 <artifactId>onos-api</artifactId>
57 <version>${onos.version}</version>
58 </dependency>
59
60 <dependency>
61 <groupId>org.onosproject</groupId>
62 <artifactId>onlab-osgi</artifactId>
63 <version>${onos.version}</version>
64 </dependency>
65
66 <dependency>
67 <groupId>org.onosproject</groupId>
68 <artifactId>onlab-junit</artifactId>
69 <version>${onos.version}</version>
70 <scope>test</scope>
71 </dependency>
72
73 <dependency>
74 <groupId>junit</groupId>
75 <artifactId>junit</artifactId>
76 <version>4.12</version>
77 <scope>test</scope>
78 </dependency>
79
80 <dependency>
81 <groupId>org.onosproject</groupId>
82 <artifactId>onos-api</artifactId>
83 <version>${onos.version}</version>
84 <scope>test</scope>
85 <classifier>tests</classifier>
86 </dependency>
87
88 <dependency>
89 <groupId>org.apache.felix</groupId>
90 <artifactId>org.apache.felix.scr.annotations</artifactId>
91 <version>1.9.12</version>
92 <scope>provided</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>javax.ws.rs</groupId>
97 <artifactId>javax.ws.rs-api</artifactId>
98 <version>2.0.1</version>
99 <scope>provided</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>com.fasterxml.jackson.core</groupId>
104 <artifactId>jackson-databind</artifactId>
105 <version>2.8.6</version>
106 <scope>provided</scope>
107 </dependency>
108
109 <dependency>
110 <groupId>org.onosproject</groupId>
111 <artifactId>onos-rest</artifactId>
112 <version>${onos.version}</version>
113 <scope>provided</scope>
114 </dependency>
115
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>com.fasterxml.jackson.core</groupId>
125 <artifactId>jackson-annotations</artifactId>
126 <version>2.8.6</version>
127 <scope>provided</scope>
128 </dependency>
129
130 <dependency>
131 <groupId>org.onosproject</groupId>
132 <artifactId>onos-cli</artifactId>
133 <version>${onos.version}</version>
134 <scope>provided</scope>
135 </dependency>
136
137 <dependency>
138 <groupId>org.glassfish.jersey.containers</groupId>
139 <artifactId>jersey-container-servlet</artifactId>
140 <version>2.25.1</version>
141 <scope>provided</scope>
142 </dependency>
143
144 <dependency>
145 <groupId>org.osgi</groupId>
146 <artifactId>org.osgi.core</artifactId>
147 <version>5.0.0</version>
148 <scope>provided</scope>
149 </dependency>
150
151 <dependency>
152 <groupId>org.onosproject</groupId>
153 <artifactId>onlab-rest</artifactId>
154 <version>${onos.version}</version>
155 <scope>provided</scope>
156 </dependency>
157 </dependencies>
158
159 <build>
160 <plugins>
161 <plugin>
162 <groupId>org.apache.felix</groupId>
163 <artifactId>maven-bundle-plugin</artifactId>
164 <version>3.0.1</version>
165 <extensions>true</extensions>
166 <configuration>
167 <instructions>
168 <_wab>src/main/webapp/</_wab>
169 <Include-Resource>WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
170 {maven-resources}</Include-Resource>
171 <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
172 <Import-Package>*,org.glassfish.jersey.servlet</Import-Package>
173 <Web-ContextPath>${web.context}</Web-ContextPath>
174 </instructions>
175 </configuration>
176 </plugin>
177 <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-compiler-plugin</artifactId>
180 <version>2.5.1</version>
181 <configuration>
182 <source>1.8</source>
183 <target>1.8</target>
184 </configuration>
185 </plugin>
186 <plugin>
187 <groupId>org.apache.felix</groupId>
188 <artifactId>maven-scr-plugin</artifactId>
189 <version>1.21.0</version>
190 <executions>
191 <execution>
192 <id>generate-scr-srcdescriptor</id>
193 <goals>
194 <goal>scr</goal>
195 </goals>
196 </execution>
197 </executions>
198 <configuration>
199 <supportedProjectTypes>
200 <supportedProjectType>bundle</supportedProjectType>
201 <supportedProjectType>war</supportedProjectType>
202 </supportedProjectTypes>
203 </configuration>
204 </plugin>
205 <plugin>
206 <groupId>org.onosproject</groupId>
207 <artifactId>onos-maven-plugin</artifactId>
208 <version>1.10</version>
209 <executions>
210 <execution>
211 <id>cfg</id>
212 <phase>generate-resources</phase>
213 <goals>
214 <goal>cfg</goal>
215 </goals>
216 </execution>
217 <execution>
218 <id>swagger</id>
219 <phase>generate-sources</phase>
220 <goals>
221 <goal>swagger</goal>
222 </goals>
223 </execution>
224 <execution>
225 <id>app</id>
226 <phase>package</phase>
227 <goals>
228 <goal>app</goal>
229 </goals>
230 </execution>
231 </executions>
232 </plugin>
233 </plugins>
234 </build>
235
236</project>