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