blob: badf5ee8a69b79cf2a6a2b4e78cd06d2ed78bbe3 [file] [log] [blame]
Shravan Ambati7d199542016-04-22 16:09:05 -07001<?sxml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2016 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18 <modelVersion>4.0.0</modelVersion>
19
20 <parent>
21 <groupId>org.onosproject</groupId>
22 <artifactId>onos-apps</artifactId>
Thomas Vachuskaf402be32016-06-16 20:14:40 -070023 <version>1.6.0-SNAPSHOT</version>
Shravan Ambati7d199542016-04-22 16:09:05 -070024 </parent>
25
26 <artifactId>onos-app-kafka</artifactId>
27 <packaging>bundle</packaging>
28
29 <description>
30 ONOS Kafka Integration Application.
31 This will export ONOS events to an external Kafka Server
32 </description>
33 <url>http://onosproject.org</url>
34
35 <properties>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <onos.version>1.6.0-SNAPSHOT</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 </properties>
52
53 <dependencies>
54 <dependency>
55 <groupId>org.onosproject</groupId>
56 <artifactId>onos-api</artifactId>
57 <version>${onos.version}</version>
58 </dependency>
59
60 <dependency>
61 <groupId>org.onosproject</groupId>
62 <artifactId>onlab-osgi</artifactId>
63 <version>${onos.version}</version>
64 </dependency>
65
66 <dependency>
67 <groupId>org.onosproject</groupId>
68 <artifactId>onos-rest</artifactId>
69 <version>${onos.version}</version>
70 </dependency>
71
72 <dependency>
73 <groupId>junit</groupId>
74 <artifactId>junit</artifactId>
75 <version>4.12</version>
76 <scope>test</scope>
77 </dependency>
78
79 <dependency>
80 <groupId>org.onosproject</groupId>
81 <artifactId>onos-api</artifactId>
82 <version>${onos.version}</version>
83 <scope>test</scope>
84 <classifier>tests</classifier>
85 </dependency>
86
87 <dependency>
88 <groupId>javax.ws.rs</groupId>
89 <artifactId>javax.ws.rs-api</artifactId>
90 <version>2.0.1</version>
91 </dependency>
92
93 <dependency>
94 <groupId>com.google.protobuf</groupId>
95 <artifactId>protobuf-java</artifactId>
96 <version>2.5.0</version>
97 </dependency>
98
99 <dependency>
100 <groupId>org.codehaus.jackson</groupId>
101 <artifactId>jackson-core-asl</artifactId>
102 <version>1.9.13</version>
103 </dependency>
104
105 <dependency>
106 <groupId>org.codehaus.jackson</groupId>
107 <artifactId>jackson-mapper-asl</artifactId>
108 <version>1.9.13</version>
109 </dependency>
110
111 <dependency>
112 <groupId>org.glassfish.jersey.containers</groupId>
113 <artifactId>jersey-container-servlet</artifactId>
114 <version>2.22.2</version>
115 </dependency>
116
117 <dependency>
118 <groupId>com.fasterxml.jackson.core</groupId>
119 <artifactId>jackson-annotations</artifactId>
120 <version>2.6.4</version>
121 </dependency>
122
123 <dependency>
124 <groupId>org.onosproject</groupId>
125 <artifactId>onos-core-serializers</artifactId>
126 <version>${onos.version}</version>
127 </dependency>
128
129 <dependency>
130 <groupId>org.apache.felix</groupId>
131 <artifactId>org.apache.felix.scr.annotations</artifactId>
132 <version>1.9.12</version>
133 <scope>provided</scope>
134 </dependency>
135 </dependencies>
136
137 <build>
138 <plugins>
139 <plugin>
140 <groupId>org.apache.felix</groupId>
141 <artifactId>maven-bundle-plugin</artifactId>
142 <version>3.0.1</version>
143 <extensions>true</extensions>
144 <configuration>
145 <instructions>
146 <Bundle-SymbolicName>
147 ${project.groupId}.${project.artifactId}
148 </Bundle-SymbolicName>
149 <_wab>src/main/webapp/</_wab>
150 <Include-Resource>
151 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
152 {maven-resources}
153 </Include-Resource>
154 <Import-Package>
155 org.slf4j,
156 org.osgi.framework,
157 javax.ws.rs,
158 javax.ws.rs.core,
159 org.glassfish.jersey.servlet,
160 com.fasterxml.jackson.databind,
161 com.fasterxml.jackson.databind.node,
162 com.fasterxml.jackson.core,
163 org.onlab.packet.*,
164 org.onosproject.*,
165 com.google.common.*
166 </Import-Package>
167 <Web-ContextPath>${web.context}</Web-ContextPath>
168 </instructions>
169 </configuration>
170 </plugin>
171 <plugin>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-compiler-plugin</artifactId>
174 <version>2.5.1</version>
175 <configuration>
176 <source>1.8</source>
177 <target>1.8</target>
178 </configuration>
179 </plugin>
180 <plugin>
181 <groupId>org.apache.felix</groupId>
182 <artifactId>maven-scr-plugin</artifactId>
183 <version>1.21.0</version>
184 <executions>
185 <execution>
186 <id>generate-scr-srcdescriptor</id>
187 <goals>
188 <goal>scr</goal>
189 </goals>
190 </execution>
191 </executions>
192 <configuration>
193 <supportedProjectTypes>
194 <supportedProjectType>bundle</supportedProjectType>
195 <supportedProjectType>war</supportedProjectType>
196 </supportedProjectTypes>
197 </configuration>
198 </plugin>
199 <plugin>
200 <groupId>org.onosproject</groupId>
201 <artifactId>onos-maven-plugin</artifactId>
202 <version>1.9</version>
203 <executions>
204 <execution>
205 <id>cfg</id>
206 <phase>generate-resources</phase>
207 <goals>
208 <goal>cfg</goal>
209 </goals>
210 </execution>
211 <execution>
212 <id>swagger</id>
213 <phase>generate-sources</phase>
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>