blob: 4e1d5358ed436155dea1b21725aa9a6784b5eaa1 [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.*,
169 com.google.common.*
170 </Import-Package>
171 <Web-ContextPath>${web.context}</Web-ContextPath>
172 </instructions>
173 </configuration>
174 </plugin>
175 <plugin>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-compiler-plugin</artifactId>
178 <configuration>
179 <source>1.8</source>
180 <target>1.8</target>
181 </configuration>
182 </plugin>
183 <plugin>
184 <groupId>org.apache.felix</groupId>
185 <artifactId>maven-scr-plugin</artifactId>
186 <executions>
187 <execution>
188 <id>generate-scr-srcdescriptor</id>
189 <goals>
190 <goal>scr</goal>
191 </goals>
192 </execution>
193 </executions>
194 <configuration>
195 <supportedProjectTypes>
196 <supportedProjectType>bundle</supportedProjectType>
197 <supportedProjectType>war</supportedProjectType>
198 </supportedProjectTypes>
199 </configuration>
200 </plugin>
201 <plugin>
202 <groupId>org.onosproject</groupId>
203 <artifactId>onos-maven-plugin</artifactId>
204 <executions>
205 <execution>
206 <id>cfg</id>
207 <phase>generate-resources</phase>
208 <goals>
209 <goal>cfg</goal>
210 </goals>
211 </execution>
212 <execution>
213 <id>swagger</id>
214 <goals>
215 <goal>swagger</goal>
216 </goals>
217 </execution>
218 <execution>
219 <id>app</id>
220 <phase>package</phase>
221 <goals>
222 <goal>app</goal>
223 </goals>
224 </execution>
225 </executions>
226 </plugin>
227 </plugins>
228 </build>
229
230</project>