blob: 886bfec8726aa1e6c0bd4c79a797c8ceff38736b [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>
David K. Bainbridgef5007312017-08-01 13:01:16 -070023 <version>1.0.0-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>
34 <web.context>/onos/sadis</web.context>
David K. Bainbridgef5007312017-08-01 13:01:16 -070035 <api.version>1.0.0-SNAPSHOT</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>
95 </dependencies>
96
97 <build>
98 <plugins>
99 <plugin>
100 <groupId>org.onosproject</groupId>
101 <artifactId>onos-maven-plugin</artifactId>
102 </plugin>
103 <plugin>
104 <groupId>org.apache.felix</groupId>
105 <artifactId>maven-bundle-plugin</artifactId>
106 <extensions>true</extensions>
107 <configuration>
108 <instructions>
109 <_wab>src/main/webapp/</_wab>
110 <Include-Resource>
111 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
112 {maven-resources}
113 </Include-Resource>
114 <Bundle-SymbolicName>
115 ${project.groupId}.${project.artifactId}
116 </Bundle-SymbolicName>
117 <Import-Package>
118 *,org.glassfish.jersey.servlet
119 </Import-Package>
120 <Web-ContextPath>${web.context}</Web-ContextPath>
121 </instructions>
122 </configuration>
123 </plugin>
124 <plugin>
125 <groupId>org.apache.felix</groupId>
126 <artifactId>maven-scr-plugin</artifactId>
127 <version>1.21.0</version>
128 <executions>
129 <execution>
130 <id>generate-scr-srcdescriptor</id>
131 <goals>
132 <goal>scr</goal>
133 </goals>
134 </execution>
135 </executions>
136 <configuration>
137 <supportedProjectTypes>
138 <supportedProjectType>bundle</supportedProjectType>
139 <supportedProjectType>war</supportedProjectType>
140 </supportedProjectTypes>
141 </configuration>
142 </plugin>
143 </plugins>
144 </build>
145</project>