blob: 0661d884c0df3041a8533f6cf351c8235fa4d5e6 [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 User0efc8492018-12-11 17:20:53 +000025 <version>1.13.8-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 User0efc8492018-12-11 17:20:53 +000032 <version>1.13.8-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>
Yuta HIGUCHIbcc2ce92018-03-07 16:42:11 -080073 <module>tools/package/maven-plugin</module>
Sean Condonbf7d39b2017-11-04 18:34:53 +000074
75 <module>pipelines</module>
Brian O'Connor354cab92015-08-27 11:55:27 -070076 </modules>
77
Ray Milkey924c0e32016-11-18 13:47:14 -080078 <!--<repositories>-->
79 <!--<repository>-->
80 <!--<id>snapshots</id>-->
81 <!--<url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
82 <!--<snapshots>-->
83 <!--<enabled>true</enabled>-->
84 <!--<updatePolicy>daily</updatePolicy>-->
85 <!--<checksumPolicy>fail</checksumPolicy>-->
86 <!--</snapshots>-->
87 <!--</repository>-->
88 <!--</repositories>-->
Jonathan Hart709b19f2016-04-04 15:59:59 -070089
Ray Milkey924c0e32016-11-18 13:47:14 -080090 <!--<pluginRepositories>-->
91 <!--<pluginRepository>-->
92 <!--<id>snapshots</id>-->
93 <!--<url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
94 <!--<snapshots>-->
95 <!--<enabled>true</enabled>-->
96 <!--<updatePolicy>daily</updatePolicy>-->
97 <!--<checksumPolicy>fail</checksumPolicy>-->
98 <!--</snapshots>-->
99 <!--</pluginRepository>-->
100 <!--</pluginRepositories>-->
Parvathi M4055b372016-07-26 15:13:31 -0700101
Thomas Vachuska43977572016-06-02 13:48:55 -0700102 <distributionManagement>
103 <snapshotRepository>
104 <id>ossrh</id>
105 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
106 </snapshotRepository>
107 </distributionManagement>
108
Brian O'Connor354cab92015-08-27 11:55:27 -0700109 <dependencyManagement>
110 <dependencies>
111 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700112 <groupId>org.onosproject</groupId>
113 <artifactId>onlab-misc</artifactId>
114 <version>${project.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700118 <artifactId>onlab-osgi</artifactId>
119 <version>${project.version}</version>
120 </dependency>
121 <dependency>
122 <groupId>org.onosproject</groupId>
123 <artifactId>onlab-osgi</artifactId>
124 <version>${project.version}</version>
125 <classifier>tests</classifier>
126 <scope>test</scope>
127 </dependency>
128 <dependency>
129 <groupId>org.onosproject</groupId>
130 <artifactId>onlab-junit</artifactId>
131 <version>${project.version}</version>
132 <scope>test</scope>
133 </dependency>
134
135 <dependency>
136 <groupId>org.onosproject</groupId>
137 <artifactId>onos-api</artifactId>
138 <version>${project.version}</version>
139 </dependency>
140 <dependency>
141 <groupId>org.onosproject</groupId>
142 <artifactId>onos-api</artifactId>
143 <version>${project.version}</version>
144 <classifier>tests</classifier>
145 <scope>test</scope>
146 </dependency>
147
148 <dependency>
149 <groupId>org.onosproject</groupId>
150 <artifactId>onos-incubator-api</artifactId>
151 <version>${project.version}</version>
152 </dependency>
153
154 <dependency>
155 <groupId>org.onosproject</groupId>
Brian Stanke11f6d532016-07-05 16:17:59 -0400156 <artifactId>onos-incubator-net</artifactId>
157 <version>${project.version}</version>
158 </dependency>
159
160 <dependency>
161 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700162 <artifactId>onos-core-common</artifactId>
163 <version>${project.version}</version>
164 </dependency>
165 <dependency>
166 <groupId>org.onosproject</groupId>
167 <artifactId>onos-core-common</artifactId>
168 <version>${project.version}</version>
169 <classifier>tests</classifier>
170 <scope>test</scope>
171 </dependency>
172
173 <dependency>
174 <groupId>org.onosproject</groupId>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -0700175 <artifactId>onos-protocols-openflow-api</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700176 <version>${project.version}</version>
177 </dependency>
178 <dependency>
179 <groupId>org.onosproject</groupId>
180 <artifactId>onos-ovsdb-rfc</artifactId>
181 <version>${project.version}</version>
182 </dependency>
183 <dependency>
184 <groupId>org.onosproject</groupId>
Yuta HIGUCHI35b83be2017-07-20 20:44:50 -0700185 <artifactId>onos-protocols-ovsdb-api</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700186 <version>${project.version}</version>
187 </dependency>
188 <dependency>
189 <groupId>org.onosproject</groupId>
Yuta HIGUCHI834894a2017-08-29 10:24:05 -0700190 <artifactId>onos-apps-pcep-api</artifactId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530191 <version>${project.version}</version>
192 </dependency>
193 <dependency>
194 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700195 <artifactId>onos-pcepio</artifactId>
196 <version>${project.version}</version>
197 </dependency>
198
199 <dependency>
200 <groupId>org.onosproject</groupId>
harikrushna-Huaweia2c7c202017-04-10 18:22:00 +0530201 <artifactId>onos-pcep-server-api</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700202 <version>${project.version}</version>
203 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700204 <dependency>
205 <groupId>org.onosproject</groupId>
206 <artifactId>onlab-thirdparty</artifactId>
207 <version>${project.version}</version>
208 </dependency>
209
210 <dependency>
211 <groupId>org.onosproject</groupId>
Yuta HIGUCHI6ee6b8c2017-05-09 14:44:30 -0700212 <artifactId>onos-protocols-openflow-api</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700213 <version>${project.version}</version>
214 <classifier>tests</classifier>
215 <scope>test</scope>
216 </dependency>
217 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530218 <groupId>org.onosproject</groupId>
harikrushna-Huaweia2c7c202017-04-10 18:22:00 +0530219 <artifactId>onos-pcep-server-api</artifactId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530220 <version>${project.version}</version>
221 <classifier>tests</classifier>
222 <scope>test</scope>
223 </dependency>
224 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530225 <groupId>org.onosproject</groupId>
226 <artifactId>onos-bgpio</artifactId>
227 <version>${project.version}</version>
228 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800229
Brian O'Connor354cab92015-08-27 11:55:27 -0700230 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530231 <groupId>org.onosproject</groupId>
232 <artifactId>onos-bgp-api</artifactId>
233 <version>${project.version}</version>
234 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530235 <dependency>
236 <groupId>org.onosproject</groupId>
237 <artifactId>onos-app-bgp-api</artifactId>
238 <version>${project.version}</version>
239 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800240
Brian O'Connor354cab92015-08-27 11:55:27 -0700241 </dependencies>
242 </dependencyManagement>
243
Yuta HIGUCHI488a94c2018-01-26 17:24:09 -0800244 <properties>
245 <errorprone.version>2.2.0</errorprone.version>
246 <betachecker.version>1.0</betachecker.version>
247 </properties>
248
249 <build>
250 <plugins>
251 <plugin>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHI488a94c2018-01-26 17:24:09 -0800254 <configuration>
255 <source>1.8</source>
256 <target>1.8</target>
257 <compilerId>javac-with-errorprone</compilerId>
258 <forceJavacCompilerUse>true</forceJavacCompilerUse>
259 <annotationProcessorPaths>
260 <path>
261 <groupId>com.google.guava</groupId>
262 <artifactId>guava-beta-checker</artifactId>
263 <version>${betachecker.version}</version>
264 </path>
265 </annotationProcessorPaths>
266 <compilerArgs>
267 <arg>-Xep:BetaApi:WARN</arg>
268 <!-- <arg>-Xep:BetaApi:ERROR</arg> -->
269 <!-- Add following to disable error-prone -->
270 <!-- <arg>-XepDisableAllChecks</arg> -->
271 </compilerArgs>
272 </configuration>
273 <executions>
274 <execution>
275 <id>default-testCompile</id>
276 <phase>test-compile</phase>
277 <goals>
278 <goal>testCompile</goal>
279 </goals>
280 <configuration>
281 <!-- Disable Beta Checker for tests -->
282 <compilerArgs>
283 <arg>-Xep:BetaApi:OFF</arg>
284 </compilerArgs>
285 </configuration>
286 </execution>
287 </executions>
288 <dependencies>
289 <dependency>
290 <groupId>org.codehaus.plexus</groupId>
291 <artifactId>plexus-compiler-javac-errorprone</artifactId>
292 <version>2.8.2</version>
293 </dependency>
294 <dependency>
295 <groupId>com.google.errorprone</groupId>
296 <artifactId>error_prone_core</artifactId>
297 <!-- override plexus-compiler-javac-errorprone's dependency with the
298 latest Error Prone version -->
299 <version>${errorprone.version}</version>
300 </dependency>
301 </dependencies>
302 </plugin>
303 </plugins>
304 </build>
305
Madan Jampani3289fbf2016-01-13 14:14:27 -0800306</project>