blob: 20b9427d5efd36b4d5c922e145a1e722467b34fb [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 Ambatibb6b4452016-05-04 13:25:28 -0700170 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>