blob: d4861619f02649344edd61496149084af293fc8c [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>
Jenkinsf1d73c72019-06-28 15:35:37 +000023 <version>3.1.1-SNAPSHOT</version>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010024 <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>
Gamze Abaka1e5ccf52018-07-02 11:59:03 +000034 <web.context>/onos</web.context>
Jonathan Hartc3f14652018-06-07 09:23:49 -070035 <api.version>2.0.0</api.version>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010036 <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 Ghoshc29c7a92017-08-01 09:59:13 +010077 <groupId>org.onosproject</groupId>
78 <artifactId>onos-rest</artifactId>
79 <version>${onos.version}</version>
80 </dependency>
Amit Ghoshc29c7a92017-08-01 09:59:13 +010081
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 Ghoshc29c7a92017-08-01 09:59:13 +010090 <groupId>org.onosproject</groupId>
91 <artifactId>onlab-rest</artifactId>
92 <version>${onos.version}</version>
93 <scope>provided</scope>
94 </dependency>
Jonathan Hart275ee252018-05-02 17:30:05 -070095
96 <dependency>
97 <groupId>org.apache.karaf.shell</groupId>
98 <artifactId>org.apache.karaf.shell.console</artifactId>
99 </dependency>
Amit Ghoshc29c7a92017-08-01 09:59:13 +0100100 </dependencies>
101
102 <build>
103 <plugins>
104 <plugin>
105 <groupId>org.onosproject</groupId>
106 <artifactId>onos-maven-plugin</artifactId>
Jonathan Hart275ee252018-05-02 17:30:05 -0700107 <version>1.11</version>
Amit Ghoshc29c7a92017-08-01 09:59:13 +0100108 </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>