blob: 9b68af7db63c58c5382affe9b65abef22db04948 [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>
253 <version>3.7.0</version>
254 <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>