blob: 98c6de5ea7c81f92bed6a38fdd0a20a9d6bc4699 [file] [log] [blame]
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2016-present Open Networking Foundation
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -07004 ~
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>
ONOS Jenkins Userc53a15f2017-12-11 20:43:30 +000023 <version>1.13.0-SNAPSHOT</version>
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -070024 </parent>
25 <modelVersion>4.0.0</modelVersion>
26
27 <artifactId>onos-app-kafka-web</artifactId>
28
29 <properties>
30 <web.context>/onos/kafka</web.context>
31 <api.version>1.0.0</api.version>
32 <api.package>org.onosproject.kafkaintegration.rest</api.package>
33 <api.title>Kafka Integration Application REST API</api.title>
34 <api.description>
35 APIs for subscribing to Events generated by ONOS
36 </api.description>
37 </properties>
38
39 <packaging>bundle</packaging>
40
41 <dependencies>
42 <dependency>
43 <groupId>org.onosproject</groupId>
44 <artifactId>onos-api</artifactId>
45 </dependency>
46
47 <dependency>
48 <groupId>org.onosproject</groupId>
49 <artifactId>onos-app-kafka-api</artifactId>
50 <version>${project.version}</version>
51 </dependency>
52
53 <dependency>
54 <groupId>org.onosproject</groupId>
Jian Lic9b4bf12017-06-26 23:50:32 +090055 <artifactId>onos-incubator-protobuf-models</artifactId>
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -070056 <version>${project.version}</version>
57 </dependency>
58
59 <dependency>
60 <groupId>org.onosproject</groupId>
61 <artifactId>onlab-osgi</artifactId>
62 </dependency>
63
64 <dependency>
65 <groupId>org.onosproject</groupId>
66 <artifactId>onos-rest</artifactId>
67 <version>${project.version}</version>
68 </dependency>
69
70 <dependency>
71 <groupId>junit</groupId>
72 <artifactId>junit</artifactId>
73 </dependency>
74
75 <dependency>
76 <groupId>org.onosproject</groupId>
77 <artifactId>onos-api</artifactId>
78 <classifier>tests</classifier>
79 </dependency>
80
81 <dependency>
82 <groupId>javax.ws.rs</groupId>
83 <artifactId>javax.ws.rs-api</artifactId>
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -070084 </dependency>
85
86 <dependency>
87 <groupId>com.google.protobuf</groupId>
88 <artifactId>protobuf-java</artifactId>
Yuta HIGUCHI9efba1e2016-07-09 11:07:13 -070089 <version>3.0.0</version>
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -070090 </dependency>
91
92 <dependency>
93 <groupId>org.codehaus.jackson</groupId>
94 <artifactId>jackson-core-asl</artifactId>
95 <version>1.9.13</version>
96 </dependency>
97
98 <dependency>
99 <groupId>org.codehaus.jackson</groupId>
100 <artifactId>jackson-mapper-asl</artifactId>
101 <version>1.9.13</version>
102 </dependency>
103
104 <dependency>
105 <groupId>org.glassfish.jersey.containers</groupId>
106 <artifactId>jersey-container-servlet</artifactId>
107 </dependency>
108 <dependency>
109 <groupId>com.fasterxml.jackson.core</groupId>
110 <artifactId>jackson-annotations</artifactId>
111 </dependency>
112
113 <dependency>
114 <groupId>org.onosproject</groupId>
115 <artifactId>onos-core-serializers</artifactId>
116 <version>${project.version}</version>
117 </dependency>
118
119 <dependency>
120 <groupId>org.apache.felix</groupId>
121 <artifactId>org.apache.felix.scr.annotations</artifactId>
122 </dependency>
123
124 </dependencies>
125
126 <build>
127 <plugins>
128 <plugin>
129 <groupId>org.apache.felix</groupId>
130 <artifactId>maven-bundle-plugin</artifactId>
131 <extensions>true</extensions>
132 <configuration>
133 <instructions>
134 <Bundle-SymbolicName>
135 ${project.groupId}.${project.artifactId}
136 </Bundle-SymbolicName>
137 <_wab>src/main/webapp/</_wab>
138 <Include-Resource>
139 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
140 {maven-resources}
141 </Include-Resource>
142 <Import-Package>
143 org.slf4j,
144 org.osgi.framework,
145 javax.ws.rs,
146 javax.ws.rs.core,
147 org.glassfish.jersey.servlet,
148 com.fasterxml.jackson.databind,
149 com.fasterxml.jackson.databind.node,
150 com.fasterxml.jackson.core,
151 org.onlab.packet.*,
152 org.onosproject.*,
153 org.onlab.util.*,
154 com.google.common.*,
155 com.google.protobuf.*
156 </Import-Package>
157 <Web-ContextPath>${web.context}</Web-ContextPath>
158 </instructions>
159 </configuration>
160 </plugin>
161
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-compiler-plugin</artifactId>
165 <configuration>
166 <source>1.8</source>
167 <target>1.8</target>
168 </configuration>
169 </plugin>
170 <plugin>
171 <groupId>org.apache.felix</groupId>
172 <artifactId>maven-scr-plugin</artifactId>
173 <executions>
174 <execution>
175 <id>generate-scr-srcdescriptor</id>
176 <goals>
177 <goal>scr</goal>
178 </goals>
179 </execution>
180 </executions>
181 <configuration>
182 <supportedProjectTypes>
183 <supportedProjectType>bundle</supportedProjectType>
184 <supportedProjectType>war</supportedProjectType>
185 </supportedProjectTypes>
186 </configuration>
187 </plugin>
188
189 <plugin>
190 <groupId>org.onosproject</groupId>
191 <artifactId>onos-maven-plugin</artifactId>
Sanjana Agarwalcb4a3db2016-07-14 11:42:48 -0700192 </plugin>
193 </plugins>
194 </build>
195
196</project>