blob: c3da066fe42f9a19cf626fa99612d3f9d1fc9af6 [file] [log] [blame]
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2016-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.onosproject</groupId>
22 <artifactId>onos-kafka</artifactId>
Ray Milkey58c6af22016-11-22 17:26:52 -080023 <version>1.8.0-SNAPSHOT</version>
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -070024 </parent>
25 <modelVersion>4.0.0</modelVersion>
26
27 <artifactId>onos-app-kafka-web</artifactId>
28
29 <properties>
30 <web.context>/onos/kafka</web.context>
31 <api.version>1.0.0</api.version>
32 <api.package>org.onosproject.kafkaintegration.rest</api.package>
33 <api.title>Kafka Integration Application REST API</api.title>
34 <api.description>
35 APIs for subscribing to Events generated by ONOS
36 </api.description>
37 </properties>
38
39 <packaging>bundle</packaging>
40
41 <dependencies>
42 <dependency>
43 <groupId>org.onosproject</groupId>
44 <artifactId>onos-api</artifactId>
45 </dependency>
46
47 <dependency>
48 <groupId>org.onosproject</groupId>
49 <artifactId>onos-app-kafka-api</artifactId>
50 <version>${project.version}</version>
51 </dependency>
52
53 <dependency>
54 <groupId>org.onosproject</groupId>
55 <artifactId>onos-incubator-protobuf</artifactId>
56 <version>${project.version}</version>
57 </dependency>
58
59 <dependency>
60 <groupId>org.onosproject</groupId>
61 <artifactId>onlab-osgi</artifactId>
62 </dependency>
63
64 <dependency>
65 <groupId>org.onosproject</groupId>
66 <artifactId>onos-rest</artifactId>
67 <version>${project.version}</version>
68 </dependency>
69
70 <dependency>
71 <groupId>junit</groupId>
72 <artifactId>junit</artifactId>
73 </dependency>
74
75 <dependency>
76 <groupId>org.onosproject</groupId>
77 <artifactId>onos-api</artifactId>
78 <classifier>tests</classifier>
79 </dependency>
80
81 <dependency>
82 <groupId>javax.ws.rs</groupId>
83 <artifactId>javax.ws.rs-api</artifactId>
84 <version>2.0.1</version>
85 </dependency>
86
87 <dependency>
88 <groupId>com.google.protobuf</groupId>
89 <artifactId>protobuf-java</artifactId>
Yuta HIGUCHI9efba1e2016-07-09 11:07:13 -070090 <version>3.0.0</version>
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -070091 </dependency>
92
93 <dependency>
94 <groupId>org.codehaus.jackson</groupId>
95 <artifactId>jackson-core-asl</artifactId>
96 <version>1.9.13</version>
97 </dependency>
98
99 <dependency>
100 <groupId>org.codehaus.jackson</groupId>
101 <artifactId>jackson-mapper-asl</artifactId>
102 <version>1.9.13</version>
103 </dependency>
104
105 <dependency>
106 <groupId>org.glassfish.jersey.containers</groupId>
107 <artifactId>jersey-container-servlet</artifactId>
108 </dependency>
109 <dependency>
110 <groupId>com.fasterxml.jackson.core</groupId>
111 <artifactId>jackson-annotations</artifactId>
112 </dependency>
113
114 <dependency>
115 <groupId>org.onosproject</groupId>
116 <artifactId>onos-core-serializers</artifactId>
117 <version>${project.version}</version>
118 </dependency>
119
120 <dependency>
121 <groupId>org.apache.felix</groupId>
122 <artifactId>org.apache.felix.scr.annotations</artifactId>
123 </dependency>
124
125 </dependencies>
126
127 <build>
128 <plugins>
129 <plugin>
130 <groupId>org.apache.felix</groupId>
131 <artifactId>maven-bundle-plugin</artifactId>
132 <extensions>true</extensions>
133 <configuration>
134 <instructions>
135 <Bundle-SymbolicName>
136 ${project.groupId}.${project.artifactId}
137 </Bundle-SymbolicName>
138 <_wab>src/main/webapp/</_wab>
139 <Include-Resource>
140 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
141 {maven-resources}
142 </Include-Resource>
143 <Import-Package>
144 org.slf4j,
145 org.osgi.framework,
146 javax.ws.rs,
147 javax.ws.rs.core,
148 org.glassfish.jersey.servlet,
149 com.fasterxml.jackson.databind,
150 com.fasterxml.jackson.databind.node,
151 com.fasterxml.jackson.core,
152 org.onlab.packet.*,
153 org.onosproject.*,
154 org.onlab.util.*,
155 com.google.common.*,
156 com.google.protobuf.*
157 </Import-Package>
158 <Web-ContextPath>${web.context}</Web-ContextPath>
159 </instructions>
160 </configuration>
161 </plugin>
162
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-compiler-plugin</artifactId>
166 <configuration>
167 <source>1.8</source>
168 <target>1.8</target>
169 </configuration>
170 </plugin>
171 <plugin>
172 <groupId>org.apache.felix</groupId>
173 <artifactId>maven-scr-plugin</artifactId>
174 <executions>
175 <execution>
176 <id>generate-scr-srcdescriptor</id>
177 <goals>
178 <goal>scr</goal>
179 </goals>
180 </execution>
181 </executions>
182 <configuration>
183 <supportedProjectTypes>
184 <supportedProjectType>bundle</supportedProjectType>
185 <supportedProjectType>war</supportedProjectType>
186 </supportedProjectTypes>
187 </configuration>
188 </plugin>
189
190 <plugin>
191 <groupId>org.onosproject</groupId>
192 <artifactId>onos-maven-plugin</artifactId>
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -0700193 </plugin>
194 </plugins>
195 </build>
196
197</project>