blob: f63e111031ee3ed32474cd24a19ab4b69eaba534 [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>
Jenkins551899e2020-02-19 18:47:47 +000023 <version>3.1.2-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>
Amit Ghoshc29c7a92017-08-01 09:59:13 +0100107 </plugin>
108 <plugin>
109 <groupId>org.apache.felix</groupId>
110 <artifactId>maven-bundle-plugin</artifactId>
111 <extensions>true</extensions>
112 <configuration>
113 <instructions>
114 <_wab>src/main/webapp/</_wab>
115 <Include-Resource>
116 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
117 {maven-resources}
118 </Include-Resource>
119 <Bundle-SymbolicName>
120 ${project.groupId}.${project.artifactId}
121 </Bundle-SymbolicName>
122 <Import-Package>
123 *,org.glassfish.jersey.servlet
124 </Import-Package>
125 <Web-ContextPath>${web.context}</Web-ContextPath>
126 </instructions>
127 </configuration>
128 </plugin>
129 <plugin>
130 <groupId>org.apache.felix</groupId>
131 <artifactId>maven-scr-plugin</artifactId>
132 <version>1.21.0</version>
133 <executions>
134 <execution>
135 <id>generate-scr-srcdescriptor</id>
136 <goals>
137 <goal>scr</goal>
138 </goals>
139 </execution>
140 </executions>
141 <configuration>
142 <supportedProjectTypes>
143 <supportedProjectType>bundle</supportedProjectType>
144 <supportedProjectType>war</supportedProjectType>
145 </supportedProjectTypes>
146 </configuration>
147 </plugin>
148 </plugins>
149 </build>
150</project>