blob: 0c2eeb2b5f1f1e9b743a90407cb831cb3c76e9cd [file] [log] [blame]
Brian O'Connor354cab92015-08-27 11:55:27 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2014-present Open Networking Foundation
Brian O'Connor354cab92015-08-27 11:55:27 -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/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
Brian O'Connor354cab92015-08-27 11:55:27 -070022 <parent>
23 <groupId>org.onosproject</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -070024 <artifactId>onos-dependencies</artifactId>
ONOS Jenkins User45d340c2018-01-09 01:56:13 +000025 <version>1.13.0-SNAPSHOT</version>
Thomas Vachuska43977572016-06-02 13:48:55 -070026 <relativePath>lib/pom.xml</relativePath>
Brian O'Connor354cab92015-08-27 11:55:27 -070027 </parent>
28
Brian O'Connor1cda9312015-09-04 20:19:16 -070029 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -070030 <artifactId>onos</artifactId>
31 <packaging>pom</packaging>
ONOS Jenkins User45d340c2018-01-09 01:56:13 +000032 <version>1.13.0-SNAPSHOT</version>
Brian O'Connor354cab92015-08-27 11:55:27 -070033
34 <name>${project.artifactId}</name>
35 <description>Open Network Operating System root project</description>
Thomas Vachuska43977572016-06-02 13:48:55 -070036 <url>http://onosproject.org/</url>
37
38 <scm>
39 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
40 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
41 </developerConnection>
42 <url>http://gerrit.onosproject.org/</url>
43 </scm>
44
45 <licenses>
46 <license>
47 <name>Apache License, Version 2.0</name>
48 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
49 </license>
50 </licenses>
Brian O'Connor354cab92015-08-27 11:55:27 -070051
52 <modules>
Thomas Vachuskac08a5db2016-06-06 11:17:06 -070053 <module>lib</module>
Ray Milkey2d572dd2017-04-14 10:01:24 -070054 <module>tools/build/conf</module>
Thomas Vachuskac08a5db2016-06-06 11:17:06 -070055
Brian O'Connor354cab92015-08-27 11:55:27 -070056 <module>utils</module>
57 <module>core</module>
58 <module>web</module>
59 <module>cli</module>
60
Thomas Vachuskadc240022015-11-19 14:45:03 -080061 <module>protocols</module>
Brian O'Connor354cab92015-08-27 11:55:27 -070062 <module>providers</module>
63 <module>drivers</module>
64
65 <module>apps</module>
66 <module>incubator</module>
67 <module>features</module>
68
Yuta HIGUCHI1b151c62017-08-16 23:27:52 -070069 <module>models</module>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -070070
Brian O'Connor354cab92015-08-27 11:55:27 -070071 <module>tools/package/archetypes</module>
72 <module>tools/package/branding</module>
Sean Condonbf7d39b2017-11-04 18:34:53 +000073
74 <module>pipelines</module>
Brian O'Connor354cab92015-08-27 11:55:27 -070075 </modules>
76
Ray Milkey924c0e32016-11-18 13:47:14 -080077 <!--<repositories>-->
78 <!--<repository>-->
79 <!--<id>snapshots</id>-->
80 <!--<url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
81 <!--<snapshots>-->
82 <!--<enabled>true</enabled>-->
83 <!--<updatePolicy>daily</updatePolicy>-->
84 <!--<checksumPolicy>fail</checksumPolicy>-->
85 <!--</snapshots>-->
86 <!--</repository>-->
87 <!--</repositories>-->
Jonathan Hart709b19f2016-04-04 15:59:59 -070088
Ray Milkey924c0e32016-11-18 13:47:14 -080089 <!--<pluginRepositories>-->
90 <!--<pluginRepository>-->
91 <!--<id>snapshots</id>-->
92 <!--<url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
93 <!--<snapshots>-->
94 <!--<enabled>true</enabled>-->
95 <!--<updatePolicy>daily</updatePolicy>-->
96 <!--<checksumPolicy>fail</checksumPolicy>-->
97 <!--</snapshots>-->
98 <!--</pluginRepository>-->
99 <!--</pluginRepositories>-->
Parvathi M4055b372016-07-26 15:13:31 -0700100
Thomas Vachuska43977572016-06-02 13:48:55 -0700101 <distributionManagement>
102 <snapshotRepository>
103 <id>ossrh</id>
104 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
105 </snapshotRepository>
106 </distributionManagement>
107
Brian O'Connor354cab92015-08-27 11:55:27 -0700108 <dependencyManagement>
109 <dependencies>
110 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700111 <groupId>org.onosproject</groupId>
112 <artifactId>onlab-misc</artifactId>
113 <version>${project.version}</version>
114 </dependency>
115 <dependency>
116 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700117 <artifactId>onlab-osgi</artifactId>
118 <version>${project.version}</version>
119 </dependency>
120 <dependency>
121 <groupId>org.onosproject</groupId>
122 <artifactId>onlab-osgi</artifactId>
123 <version>${project.version}</version>
124 <classifier>tests</classifier>
125 <scope>test</scope>
126 </dependency>
127 <dependency>
128 <groupId>org.onosproject</groupId>
129 <artifactId>onlab-junit</artifactId>
130 <version>${project.version}</version>
131 <scope>test</scope>
132 </dependency>
133
134 <dependency>
135 <groupId>org.onosproject</groupId>
136 <artifactId>onos-api</artifactId>
137 <version>${project.version}</version>
138 </dependency>
139 <dependency>
140 <groupId>org.onosproject</groupId>
141 <artifactId>onos-api</artifactId>
142 <version>${project.version}</version>
143 <classifier>tests</classifier>
144 <scope>test</scope>
145 </dependency>
146
147 <dependency>
148 <groupId>org.onosproject</groupId>
149 <artifactId>onos-incubator-api</artifactId>
150 <version>${project.version}</version>
151 </dependency>
152
153 <dependency>
154 <groupId>org.onosproject</groupId>
Brian Stanke11f6d532016-07-05 16:17:59 -0400155 <artifactId>onos-incubator-net</artifactId>
156 <version>${project.version}</version>
157 </dependency>
158
159 <dependency>
160 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700161 <artifactId>onos-core-common</artifactId>
162 <version>${project.version}</version>
163 </dependency>
164 <dependency>
165 <groupId>org.onosproject</groupId>
166 <artifactId>onos-core-common</artifactId>
167 <version>${project.version}</version>
168 <classifier>tests</classifier>
169 <scope>test</scope>
170 </dependency>
171
172 <dependency>
173 <groupId>org.onosproject</groupId>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -0700174 <artifactId>onos-protocols-openflow-api</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700175 <version>${project.version}</version>
176 </dependency>
177 <dependency>
178 <groupId>org.onosproject</groupId>
179 <artifactId>onos-ovsdb-rfc</artifactId>
180 <version>${project.version}</version>
181 </dependency>
182 <dependency>
183 <groupId>org.onosproject</groupId>
Yuta HIGUCHI35b83be2017-07-20 20:44:50 -0700184 <artifactId>onos-protocols-ovsdb-api</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700185 <version>${project.version}</version>
186 </dependency>
187 <dependency>
188 <groupId>org.onosproject</groupId>
Yuta HIGUCHI834894a2017-08-29 10:24:05 -0700189 <artifactId>onos-apps-pcep-api</artifactId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530190 <version>${project.version}</version>
191 </dependency>
192 <dependency>
193 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700194 <artifactId>onos-pcepio</artifactId>
195 <version>${project.version}</version>
196 </dependency>
197
198 <dependency>
199 <groupId>org.onosproject</groupId>
harikrushna-Huaweia2c7c202017-04-10 18:22:00 +0530200 <artifactId>onos-pcep-server-api</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700201 <version>${project.version}</version>
202 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700203 <dependency>
204 <groupId>org.onosproject</groupId>
205 <artifactId>onlab-thirdparty</artifactId>
206 <version>${project.version}</version>
207 </dependency>
208
209 <dependency>
210 <groupId>org.onosproject</groupId>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -0700211 <artifactId>onos-protocols-openflow-api</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700212 <version>${project.version}</version>
213 <classifier>tests</classifier>
214 <scope>test</scope>
215 </dependency>
216 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530217 <groupId>org.onosproject</groupId>
harikrushna-Huaweia2c7c202017-04-10 18:22:00 +0530218 <artifactId>onos-pcep-server-api</artifactId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530219 <version>${project.version}</version>
220 <classifier>tests</classifier>
221 <scope>test</scope>
222 </dependency>
223 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530224 <groupId>org.onosproject</groupId>
225 <artifactId>onos-bgpio</artifactId>
226 <version>${project.version}</version>
227 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800228
Brian O'Connor354cab92015-08-27 11:55:27 -0700229 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530230 <groupId>org.onosproject</groupId>
231 <artifactId>onos-bgp-api</artifactId>
232 <version>${project.version}</version>
233 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530234 <dependency>
235 <groupId>org.onosproject</groupId>
236 <artifactId>onos-app-bgp-api</artifactId>
237 <version>${project.version}</version>
238 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800239
Brian O'Connor354cab92015-08-27 11:55:27 -0700240 </dependencies>
241 </dependencyManagement>
242
Yuta HIGUCHI488a94c2018-01-26 17:24:09 -0800243 <properties>
244 <errorprone.version>2.2.0</errorprone.version>
245 <betachecker.version>1.0</betachecker.version>
246 </properties>
247
248 <build>
249 <plugins>
250 <plugin>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHI488a94c2018-01-26 17:24:09 -0800253 <configuration>
254 <source>1.8</source>
255 <target>1.8</target>
256 <compilerId>javac-with-errorprone</compilerId>
257 <forceJavacCompilerUse>true</forceJavacCompilerUse>
258 <annotationProcessorPaths>
259 <path>
260 <groupId>com.google.guava</groupId>
261 <artifactId>guava-beta-checker</artifactId>
262 <version>${betachecker.version}</version>
263 </path>
264 </annotationProcessorPaths>
265 <compilerArgs>
266 <arg>-Xep:BetaApi:WARN</arg>
267 <!-- <arg>-Xep:BetaApi:ERROR</arg> -->
268 <!-- Add following to disable error-prone -->
269 <!-- <arg>-XepDisableAllChecks</arg> -->
270 </compilerArgs>
271 </configuration>
272 <executions>
273 <execution>
274 <id>default-testCompile</id>
275 <phase>test-compile</phase>
276 <goals>
277 <goal>testCompile</goal>
278 </goals>
279 <configuration>
280 <!-- Disable Beta Checker for tests -->
281 <compilerArgs>
282 <arg>-Xep:BetaApi:OFF</arg>
283 </compilerArgs>
284 </configuration>
285 </execution>
286 </executions>
287 <dependencies>
288 <dependency>
289 <groupId>org.codehaus.plexus</groupId>
290 <artifactId>plexus-compiler-javac-errorprone</artifactId>
291 <version>2.8.2</version>
292 </dependency>
293 <dependency>
294 <groupId>com.google.errorprone</groupId>
295 <artifactId>error_prone_core</artifactId>
296 <!-- override plexus-compiler-javac-errorprone's dependency with the
297 latest Error Prone version -->
298 <version>${errorprone.version}</version>
299 </dependency>
300 </dependencies>
301 </plugin>
302 </plugins>
303 </build>
304
Madan Jampani3289fbf2016-01-13 14:14:27 -0800305</project>