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