blob: 1dafb0d8faf7e3bd99adb930aed8b14a3f3412f6 [file] [log] [blame]
Shravan Ambatibb6b4452016-05-04 13:25:28 -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>
23 <version>1.7.0-SNAPSHOT</version>
Shravan Ambatibb6b4452016-05-04 13:25:28 -070024 </parent>
25 <modelVersion>4.0.0</modelVersion>
26
27 <artifactId>onos-app-kafka</artifactId>
28
29 <packaging>bundle</packaging>
30 <description>
31 Kafka Integration Application.
32 This will export ONOS Events to Northbound Kafka Server.
33 </description>
34
35 <properties>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <onos.version>${project.version}</onos.version>
38 <onos.app.name>org.onosproject.kafkaintegration</onos.app.name>
39 <onos.app.title>Kafka Integration Application</onos.app.title>
40 <onos.app.origin>Calix, Inc.</onos.app.origin>
41 <web.context>/onos/kafka</web.context>
42 <api.version>1.0.0</api.version>
43 <api.package>org.onosproject.kafkaintegration.rest</api.package>
44 <api.title>Kafka Integration Application REST API</api.title>
45 <api.description>
46 APIs for subscribing to Events generated by ONOS
47 </api.description>
48 <onos.app.category>Utility</onos.app.category>
49 <onos.app.url>https://wiki.onosproject.org/display/ONOS/Kafka+Integration</onos.app.url>
50 <onos.app.readme>Export ONOS events to a Northbound Kafka server</onos.app.readme>
51 <onos.app.requires>org.onosproject.incubator.protobuf</onos.app.requires>
52 </properties>
53
54 <dependencies>
55 <dependency>
56 <groupId>org.onosproject</groupId>
57 <artifactId>onos-api</artifactId>
58 </dependency>
59
60 <dependency>
61 <groupId>org.onosproject</groupId>
62 <artifactId>onos-app-kafka-api</artifactId>
63 <version>${project.version}</version>
64 </dependency>
65
66 <dependency>
67 <groupId>org.onosproject</groupId>
68 <artifactId>onos-incubator-protobuf</artifactId>
69 <version>${project.version}</version>
70 </dependency>
71
72 <dependency>
73 <groupId>org.onosproject</groupId>
74 <artifactId>onlab-osgi</artifactId>
75 </dependency>
76
77 <dependency>
78 <groupId>org.onosproject</groupId>
79 <artifactId>onos-rest</artifactId>
80 <version>${project.version}</version>
81 </dependency>
82
83 <dependency>
84 <groupId>junit</groupId>
85 <artifactId>junit</artifactId>
86 <scope>test</scope>
87 </dependency>
88
89 <dependency>
90 <groupId>org.onosproject</groupId>
91 <artifactId>onos-api</artifactId>
92 <scope>test</scope>
93 <classifier>tests</classifier>
94 </dependency>
95
96 <dependency>
97 <groupId>javax.ws.rs</groupId>
98 <artifactId>javax.ws.rs-api</artifactId>
99 <version>2.0.1</version>
100 </dependency>
101
102 <dependency>
103 <groupId>com.google.protobuf</groupId>
104 <artifactId>protobuf-java</artifactId>
105 <version>3.0.0-beta-2</version>
106 </dependency>
107
108 <dependency>
109 <groupId>org.codehaus.jackson</groupId>
110 <artifactId>jackson-core-asl</artifactId>
111 <version>1.9.13</version>
112 </dependency>
113
114 <dependency>
115 <groupId>org.codehaus.jackson</groupId>
116 <artifactId>jackson-mapper-asl</artifactId>
117 <version>1.9.13</version>
118 </dependency>
119
120 <dependency>
121 <groupId>org.glassfish.jersey.containers</groupId>
122 <artifactId>jersey-container-servlet</artifactId>
123 </dependency>
124 <dependency>
125 <groupId>com.fasterxml.jackson.core</groupId>
126 <artifactId>jackson-annotations</artifactId>
127 </dependency>
128
129 <dependency>
130 <groupId>org.onosproject</groupId>
131 <artifactId>onos-core-serializers</artifactId>
132 <version>${project.version}</version>
133 </dependency>
134
135 <dependency>
136 <groupId>org.apache.felix</groupId>
137 <artifactId>org.apache.felix.scr.annotations</artifactId>
138 <scope>provided</scope>
139 </dependency>
140 </dependencies>
141
142 <build>
143 <plugins>
144 <plugin>
145 <groupId>org.apache.felix</groupId>
146 <artifactId>maven-bundle-plugin</artifactId>
147 <extensions>true</extensions>
148 <configuration>
149 <instructions>
150 <Bundle-SymbolicName>
151 ${project.groupId}.${project.artifactId}
152 </Bundle-SymbolicName>
153 <_wab>src/main/webapp/</_wab>
154 <Include-Resource>
155 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
156 {maven-resources}
157 </Include-Resource>
158 <Import-Package>
159 org.slf4j,
160 org.osgi.framework,
161 javax.ws.rs,
162 javax.ws.rs.core,
163 org.glassfish.jersey.servlet,
164 com.fasterxml.jackson.databind,
165 com.fasterxml.jackson.databind.node,
166 com.fasterxml.jackson.core,
167 org.onlab.packet.*,
168 org.onosproject.*,
Sanjana Agarwaleb9f0c52016-06-07 11:10:34 -0700169 org.onlab.util.*,
Shravan Ambati32770ad2016-07-11 21:18:11 -0700170 com.google.common.*,
171 com.google.protobuf.*
Shravan Ambatibb6b4452016-05-04 13:25:28 -0700172 </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 <configuration>
181 <source>1.8</source>
182 <target>1.8</target>
183 </configuration>
184 </plugin>
185 <plugin>
186 <groupId>org.apache.felix</groupId>
187 <artifactId>maven-scr-plugin</artifactId>
188 <executions>
189 <execution>
190 <id>generate-scr-srcdescriptor</id>
191 <goals>
192 <goal>scr</goal>
193 </goals>
194 </execution>
195 </executions>
196 <configuration>
197 <supportedProjectTypes>
198 <supportedProjectType>bundle</supportedProjectType>
199 <supportedProjectType>war</supportedProjectType>
200 </supportedProjectTypes>
201 </configuration>
202 </plugin>
203 <plugin>
204 <groupId>org.onosproject</groupId>
205 <artifactId>onos-maven-plugin</artifactId>
206 <executions>
207 <execution>
208 <id>cfg</id>
209 <phase>generate-resources</phase>
210 <goals>
211 <goal>cfg</goal>
212 </goals>
213 </execution>
214 <execution>
215 <id>swagger</id>
216 <goals>
217 <goal>swagger</goal>
218 </goals>
219 </execution>
220 <execution>
221 <id>app</id>
222 <phase>package</phase>
223 <goals>
224 <goal>app</goal>
225 </goals>
226 </execution>
227 </executions>
228 </plugin>
229 </plugins>
230 </build>
231
232</project>