blob: e77cd0b3bf84ee5fc7710ac3bc88eeb12471e6a6 [file] [log] [blame]
Jonathan Hart501f7882018-07-24 14:39:57 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2018-present Open Networking Foundation
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/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
Jonathan Hart501f7882018-07-24 14:39:57 -070022 <groupId>org.opencord</groupId>
23 <artifactId>kafka</artifactId>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -070024 <version>2.0.0-SNAPSHOT</version>
Jonathan Hart501f7882018-07-24 14:39:57 -070025 <packaging>bundle</packaging>
26
27 <description>Kafka integration</description>
28
29 <properties>
30 <onos.app.name>org.opencord.kafka</onos.app.name>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -070031 <onos.version>2.2.0</onos.version>
Jonathan Hart501f7882018-07-24 14:39:57 -070032 <onos.app.title>Kafka integration</onos.app.title>
33 <onos.app.url>http://opencord.org</onos.app.url>
34 <onos.app.readme>Integration with Kafka event bus</onos.app.readme>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -070035 <aaa.api.version>2.0.0-SNAPSHOT</aaa.api.version>
36 <olt.api.version>4.0.0-SNAPSHOT</olt.api.version>
37 <dhcpl2relay.api.version>2.0.0-SNAPSHOT</dhcpl2relay.api.version>
38 <sadis.api.version>4.0.0-SNAPSHOT</sadis.api.version>
Jonathan Hart501f7882018-07-24 14:39:57 -070039 </properties>
40
41 <dependencies>
42 <dependency>
43 <groupId>org.onosproject</groupId>
44 <artifactId>onos-api</artifactId>
45 <version>${onos.version}</version>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -070046 <scope>provided</scope>
Jonathan Hart501f7882018-07-24 14:39:57 -070047 </dependency>
48
49 <dependency>
50 <groupId>org.onosproject</groupId>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -070051 <artifactId>onlab-misc</artifactId>
Jonathan Hart501f7882018-07-24 14:39:57 -070052 <version>${onos.version}</version>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -070053 <scope>provided</scope>
Jonathan Hart501f7882018-07-24 14:39:57 -070054 </dependency>
55
56 <dependency>
57 <groupId>org.apache.servicemix.bundles</groupId>
58 <artifactId>org.apache.servicemix.bundles.kafka-clients</artifactId>
Jonathan Harta11792a2018-08-19 13:48:17 -070059 <version>1.1.1_1</version>
Jonathan Hart501f7882018-07-24 14:39:57 -070060 </dependency>
61
62 <dependency>
63 <groupId>org.opencord</groupId>
Matteo Scandolod50a4d32019-04-24 12:10:21 -070064 <artifactId>aaa-api</artifactId>
Jonathan Hart501f7882018-07-24 14:39:57 -070065 <version>${aaa.api.version}</version>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -070066 <scope>provided</scope>
Jonathan Hart501f7882018-07-24 14:39:57 -070067 </dependency>
68
69 <dependency>
70 <groupId>org.opencord</groupId>
71 <artifactId>olt-api</artifactId>
72 <version>${olt.api.version}</version>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -070073 <scope>provided</scope>
Jonathan Hart501f7882018-07-24 14:39:57 -070074 </dependency>
75
Jonathan Hart2aad7792018-07-31 15:09:17 -040076 <dependency>
77 <groupId>org.opencord</groupId>
Matteo Scandolod50a4d32019-04-24 12:10:21 -070078 <artifactId>dhcpl2relay-api</artifactId>
Jonathan Hart2aad7792018-07-31 15:09:17 -040079 <version>${dhcpl2relay.api.version}</version>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -070080 <scope>provided</scope>
Jonathan Hart2aad7792018-07-31 15:09:17 -040081 </dependency>
82
Carmelo Cascone7e73fa12019-07-15 18:29:01 -070083 <dependency>
84 <groupId>com.fasterxml.jackson.core</groupId>
85 <artifactId>jackson-databind</artifactId>
86 <version>2.9.5</version>
87 <scope>provided</scope>
88 </dependency>
89
90 <dependency>
91 <groupId>org.osgi</groupId>
92 <artifactId>org.osgi.service.component.annotations</artifactId>
93 <version>1.4.0</version>
94 <scope>provided</scope>
95 </dependency>
96
97 <dependency>
98 <groupId>org.slf4j</groupId>
99 <artifactId>slf4j-api</artifactId>
100 <version>1.7.25</version>
101 <scope>provided</scope>
102 </dependency>
Jonathan Hart501f7882018-07-24 14:39:57 -0700103 </dependencies>
104
105 <build>
106 <plugins>
107 <plugin>
108 <groupId>org.apache.felix</groupId>
109 <artifactId>maven-bundle-plugin</artifactId>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -0700110 <version>4.1.0</version>
111 <extensions>true</extensions>
112 <configuration>
113 <instructions>
114 <_dsannotations-options>inherit</_dsannotations-options>
115 </instructions>
116 </configuration>
Jonathan Hart501f7882018-07-24 14:39:57 -0700117 </plugin>
118
119 <plugin>
120 <groupId>org.onosproject</groupId>
121 <artifactId>onos-maven-plugin</artifactId>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -0700122 <version>2.2</version>
123 <executions>
124 <execution>
125 <id>cfg</id>
126 <phase>generate-resources</phase>
127 <goals>
128 <goal>cfg</goal>
129 </goals>
130 </execution>
131 <execution>
132 <id>swagger</id>
133 <phase>generate-sources</phase>
134 <goals>
135 <goal>swagger</goal>
136 </goals>
137 </execution>
138 <execution>
139 <id>app</id>
140 <phase>package</phase>
141 <goals>
142 <goal>app</goal>
143 </goals>
144 </execution>
145 </executions>
146 </plugin>
147
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-compiler-plugin</artifactId>
151 <version>3.8.0</version>
152 <configuration>
153 <release>11</release>
154 </configuration>
Jonathan Hart501f7882018-07-24 14:39:57 -0700155 </plugin>
156 </plugins>
157 </build>
158
159 <repositories>
160 <repository>
161 <id>central</id>
162 <name>Central Repository</name>
163 <url>http://repo.maven.apache.org/maven2</url>
164 <layout>default</layout>
165 <snapshots>
166 <enabled>false</enabled>
167 </snapshots>
168 <releases>
169 <enabled>true</enabled>
170 <updatePolicy>always</updatePolicy>
171 <checksumPolicy>fail</checksumPolicy>
172 </releases>
173 </repository>
174
175 <repository>
176 <id>snapshots</id>
177 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
178 <snapshots>
179 <enabled>true</enabled>
180 <updatePolicy>always</updatePolicy>
181 <checksumPolicy>fail</checksumPolicy>
182 </snapshots>
183 </repository>
184 </repositories>
Carmelo Cascone7e73fa12019-07-15 18:29:01 -0700185 <distributionManagement>
186 <snapshotRepository>
187 <id>ossrh</id>
188 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
189 </snapshotRepository>
190 </distributionManagement>
Jonathan Hart501f7882018-07-24 14:39:57 -0700191</project>