blob: 0274bb8fab82119ce8542bafb69506488530bb9b [file] [log] [blame]
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -07001<?xml version="1.0"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <prerequisites>
5 <maven>3.0.4</maven>
6 </prerequisites>
7 <groupId>net.onrc.onos</groupId>
Pankaj Berdebbd38612013-06-22 05:59:12 -07008 <artifactId>onos</artifactId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -07009 <version>0.1.0</version>
10 <packaging>jar</packaging>
Yuta HIGUCHIf232d0f2014-04-16 09:23:02 -070011 <name>ONOS</name>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070012 <url>http://onlab.us/</url>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -070013 <licenses>
14 <license>
15 <name>Apache License, Version 2.0</name>
16 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
17 </license>
18 </licenses>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070019 <repositories>
20 <repository>
21 <id>central</id>
22 <name>Maven Central repository</name>
23 <url>http://repo1.maven.org/maven2</url>
24 </repository>
25 <repository>
26 <id>maven-restlet</id>
27 <name>Public online Restlet repository</name>
28 <url>http://maven.restlet.org</url>
29 </repository>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070030 </repositories>
31 <properties>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
yoshi2fd4c7e2013-11-22 15:47:55 -080033 <powermock.version>1.5.1</powermock.version>
Pankaj Berde37d6d4d2013-12-03 10:12:56 -080034 <restlet.version>2.1.4</restlet.version>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -070035 <cobertura-maven-plugin.version>2.6</cobertura-maven-plugin.version>
Yuta HIGUCHI042e82a2014-04-25 22:37:03 -070036 <!-- Following 2 findbugs version needs to be updated in sync to match the
37 findbugs version used in findbugs-plugin -->
38 <findbugs.version>2.0.2</findbugs.version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -070039 <findbugs-plugin.version>2.5.3</findbugs-plugin.version>
40 <findbugs.effort>Max</findbugs.effort>
41 <findbugs.excludeFilterFile>conf/findbugs/exclude.xml</findbugs.excludeFilterFile>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070042 <checkstyle-plugin.version>2.12</checkstyle-plugin.version>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -080043 <!-- To publish javadoc to github,
44 uncomment com.github.github site-maven-plugin and
45 see https://github.com/OPENNETWORKINGLAB/ONOS/pull/425
46 <github.global.server>github</github.global.server>
47 -->
Yuta HIGUCHI6a643132014-03-18 22:39:27 -070048 <hazelcast.version>3.0.2</hazelcast.version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070049 </properties>
50 <build>
51 <plugins>
52 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -070053 <!-- Note: the checkstyle configuration is also in the reporting section -->
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-checkstyle-plugin</artifactId>
56 <version>${checkstyle-plugin.version}</version>
57 <configuration>
58 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Yuta HIGUCHIcbbaed32014-05-14 20:27:43 -070059 <propertiesLocation>${basedir}/conf/checkstyle/checkstyle_maven.properties</propertiesLocation>
Ray Milkeyb5716c52014-04-07 11:38:27 -070060 <failsOnError>false</failsOnError>
61 <logViolationsToConsole>true</logViolationsToConsole>
62 </configuration>
63 <executions>
64 <execution>
65 <id>validate-checkstyle</id>
Yuta HIGUCHI82566512014-04-16 09:44:17 -070066 <phase>verify</phase>
Ray Milkeyb5716c52014-04-07 11:38:27 -070067 <goals>
68 <goal>check</goal>
69 </goals>
70 </execution>
71 </executions>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080072 </plugin>
73 <plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070074 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-install-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070076 <version>2.5.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070077 <executions>
78 </executions>
79 </plugin>
80 <!-- guice maven plugin for dependency injection inside maven -->
81 <plugin>
82 <groupId>org.apache.camel</groupId>
83 <artifactId>guice-maven-plugin</artifactId>
84 <version>2.11.0</version>
85 </plugin>
86 <!-- compile -->
87 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070090 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070091 <configuration>
Yuta HIGUCHI641d9992013-12-18 16:40:45 -080092 <source>1.7</source>
93 <target>1.7</target>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070094 <encoding>UTF-8</encoding>
Yuta HIGUCHIe636d472014-04-25 09:43:44 -070095 <showDeprecation>true</showDeprecation>
96 <showWarnings>true</showWarnings>
Yuta HIGUCHI593ee4c2014-05-12 21:31:39 -070097 <compilerArgs>
98 <arg>-Xlint:all</arg>
99 <arg>-Xlint:-serial</arg>
Ray Milkeyff735142014-05-22 19:06:02 -0700100 <arg>-Werror</arg>
Yuta HIGUCHI593ee4c2014-05-12 21:31:39 -0700101 </compilerArgs>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700102 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700103 <executions>
104 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700105 </plugin>
106 <!-- test -->
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700110 <version>2.16</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700111 <configuration>
HIGUCHI Yuta71c96dd2013-10-20 17:15:56 -0700112 <argLine>-XX:MaxPermSize=256m</argLine>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800113 <redirectTestOutputToFile>true</redirectTestOutputToFile>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700114 </configuration>
115 </plugin>
116 <!-- exec:java -->
117 <plugin>
118 <groupId>org.codehaus.mojo</groupId>
119 <artifactId>exec-maven-plugin</artifactId>
120 <version>1.2.1</version>
121 <configuration>
Jonathan Hart51f6f5b2014-04-03 10:32:10 -0700122 <mainClass>net.onrc.onos.core.main.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700123 </configuration>
124 <executions>
125 </executions>
126 </plugin>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700127 <!--
128 <plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700129 <groupId>org.codehaus.mojo</groupId>
130 <artifactId>build-helper-maven-plugin</artifactId>
131 <version>1.7</version>
132 <executions>
133 <execution>
134 <id>add-source</id>
135 <phase>generate-sources</phase>
136 <goals>
137 <goal>add-source</goal>
138 </goals>
139 <configuration>
140 <sources>
141 <source>lib/gen-java</source>
142 </sources>
143 </configuration>
144 </execution>
145 </executions>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700146 </plugin>
147 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700151 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700152 <configuration>
153 <charset>UTF-8</charset>
154 <locale>en</locale>
155 </configuration>
156 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700157<!-- Remove me when we're sure that system test no longer need JaCoCo
timlindberg8b13e702013-07-17 14:45:50 -0700158 <plugin>
159 <groupId>org.jacoco</groupId>
160 <artifactId>jacoco-maven-plugin</artifactId>
161 <version>0.6.3.201306030806</version>
timlindberg8b13e702013-07-17 14:45:50 -0700162 <executions>
163 <execution>
164 <id>jacoco-initialize</id>
165 <goals>
166 <goal>prepare-agent</goal>
167 </goals>
168 </execution>
169 <execution>
170 <id>jacoco-site</id>
171 <phase>package</phase>
172 <goals>
173 <goal>report</goal>
174 </goals>
175 </execution>
176 </executions>
177 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700178-->
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800179 <!--
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700180 <plugin>
181 <groupId>com.github.github</groupId>
182 <artifactId>site-maven-plugin</artifactId>
183 <version>0.8</version>
184 <configuration>
185 <message>Creating site for ${project.version}</message>
186 <dryRun>true</dryRun>
187 <repositoryName>ONOS</repositoryName>
188 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800189 <path>javadoc/${project.version}/</path>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700190 </configuration>
191 <executions>
192 <execution>
193 <goals>
194 <goal>site</goal>
195 </goals>
196 <phase>site</phase>
197 </execution>
198 </executions>
199 </plugin>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800200 -->
Jonathan Hart2c61a502013-10-18 18:12:26 -0700201 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700202 <artifactId>maven-assembly-plugin</artifactId>
203 <configuration>
204 <descriptorRefs>
205 <descriptorRef>jar-with-dependencies</descriptorRef>
206 </descriptorRefs>
207 </configuration>
Jonathan Hart2c61a502013-10-18 18:12:26 -0700208 </plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800209 <plugin>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700210 <!-- Using groovy script to set maven property ${hostname}.
211 This is a workaround to get hostname as a property inside pom file,
212 which current Maven does not provide. -->
213 <groupId>org.codehaus.gmaven</groupId>
214 <artifactId>groovy-maven-plugin</artifactId>
215 <version>2.0</version>
216 <executions>
217 <execution>
218 <phase>initialize</phase>
219 <goals>
220 <goal>execute</goal>
221 </goals>
222 <configuration>
223 <source>
224 project.properties["hostname"] = InetAddress.getLocalHost().getHostName()
225 </source>
226 </configuration>
227 </execution>
228 </executions>
229 </plugin>
230 <plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-dependency-plugin</artifactId>
233 <version>2.8</version>
234 <executions>
235 <execution>
236 <id>build-classpath</id>
237 <phase>generate-sources</phase>
238 <goals>
239 <goal>build-classpath</goal>
240 </goals>
241 <configuration>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700242 <outputFile>${project.basedir}/.javacp.${hostname}</outputFile>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800243 </configuration>
244 </execution>
245 </executions>
246 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700247 <plugin>
248 <groupId>org.codehaus.mojo</groupId>
249 <artifactId>cobertura-maven-plugin</artifactId>
250 <version>${cobertura-maven-plugin.version}</version>
251 <configuration>
252 <instrumentation>
253 <ignores>
254 <ignore>org.slf4j.*</ignore>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700255 </ignores>
256 <excludes>
257 <exclude>org/openflow/**/*.class</exclude>
258 <exclude>net/floodlightcontroller/**/web/**/*.class</exclude>
259 </excludes>
260 </instrumentation>
261 </configuration>
262 <executions>
263 <execution>
264 <goals>
265 <goal>clean</goal>
266 </goals>
267 </execution>
268 </executions>
269 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700270 <!-- Note: the findbugs configuration is also in the reporting section -->
271 <plugin>
272 <groupId>org.codehaus.mojo</groupId>
273 <artifactId>findbugs-maven-plugin</artifactId>
274 <version>${findbugs-plugin.version}</version>
275 <configuration>
276 <effort>${findbugs.effort}</effort>
277 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
278 </configuration>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700279 <executions>
280 <execution>
281 <id>validate-findbugs</id>
Yuta HIGUCHI82566512014-04-16 09:44:17 -0700282 <phase>verify</phase>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700283 <goals>
Yuta HIGUCHI82566512014-04-16 09:44:17 -0700284 <goal>check</goal>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700285 </goals>
286 </execution>
287 </executions>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700288 </plugin>
289 <plugin>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-pmd-plugin</artifactId>
292 <version>3.1</version>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700293 <configuration>
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700294 <!--
295 Note: Exclusion definition exists in multiple places.
296 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
Yuta HIGUCHI057f7bc2014-04-16 17:37:41 -0700297 - In file conf/checkstyle/onos_suppressions.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700298 - maven-pmd-plugin configuration in pom.xml
299 (under build and reporting)
300 -->
Ray Milkeyb5716c52014-04-07 11:38:27 -0700301 <excludes>
Yuta HIGUCHI1cd90292014-04-03 14:31:10 -0700302 <exclude>**/datastore/serializers/**</exclude>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700303 <exclude>**/edu/stanford/**</exclude>
304 <exclude>**/net/floodlightcontroller/**</exclude>
305 <exclude>**/org/openflow/**</exclude>
306 </excludes>
307 <rulesets>
308 <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset>
309 </rulesets>
310 </configuration>
311 <executions>
312 <execution>
313 <id>validate-pmd</id>
Yuta HIGUCHI82566512014-04-16 09:44:17 -0700314 <phase>verify</phase>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700315 <goals>
316 <!-- Uncomment this goal to make the build fail on pmd errors -->
317 <!--<goal>check</goal>-->
318 </goals>
319 </execution>
320 </executions>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700321 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700322 </plugins>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800323 <pluginManagement>
324 <plugins>
325 <!--This plugin's configuration is used to store Eclipse m2e settings
326 only. It has no influence on the Maven build itself. -->
327 <plugin>
328 <groupId>org.eclipse.m2e</groupId>
329 <artifactId>lifecycle-mapping</artifactId>
330 <version>1.0.0</version>
331 <configuration>
332 <lifecycleMappingMetadata>
333 <pluginExecutions>
334 <pluginExecution>
335 <pluginExecutionFilter>
336 <groupId>
337 org.apache.maven.plugins
338 </groupId>
339 <artifactId>
340 maven-dependency-plugin
341 </artifactId>
342 <versionRange>[2.8,)</versionRange>
343 <goals>
344 <goal>build-classpath</goal>
345 </goals>
346 </pluginExecutionFilter>
347 <action>
348 <ignore></ignore>
349 </action>
350 </pluginExecution>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700351 <pluginExecution>
352 <pluginExecutionFilter>
353 <groupId>org.codehaus.gmaven</groupId>
354 <artifactId>groovy-maven-plugin</artifactId>
355 <versionRange>[2.0,)</versionRange>
356 <goals>
357 <goal>execute</goal>
358 </goals>
359 </pluginExecutionFilter>
360 <action>
361 <ignore></ignore>
362 </action>
363 </pluginExecution>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800364 </pluginExecutions>
365 </lifecycleMappingMetadata>
366 </configuration>
367 </plugin>
368 </plugins>
369 </pluginManagement>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700370 </build>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700371 <!-- for getting visualization reporting -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700372 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700373 <excludeDefaults>true</excludeDefaults>
374 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700375 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700376 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700377 <plugin>
378 <groupId>org.apache.camel</groupId>
379 <artifactId>guice-maven-plugin</artifactId>
380 <version>2.11.0</version>
381 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700382 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700383 <plugin>
384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-project-info-reports-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700386 <version>2.7</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700387 <configuration>
388 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
389 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
390 </configuration>
391 <reportSets>
392 <reportSet>
393 <reports>
394 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700395 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700396 <report>scm</report>
397 </reports>
398 </reportSet>
399 </reportSets>
400 </plugin>
401 <plugin>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700404 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700405 <configuration>
406 <charset>UTF-8</charset>
407 <locale>en</locale>
408 </configuration>
409 </plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800410 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700411 <!-- Note: the checkstyle configuration is also in the build section -->
412 <groupId>org.apache.maven.plugins</groupId>
413 <artifactId>maven-checkstyle-plugin</artifactId>
414 <version>${checkstyle-plugin.version}</version>
415 <configuration>
416 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700417 <!--
418 Note: Exclusion definition exists in multiple places.
419 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
420 - maven-checkstyle-plugin configuration in pom.xml
421 - maven-pmd-plugin configuration in pom.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700422 (under build and reporting)
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700423 -->
Yuta HIGUCHIcbbaed32014-05-14 20:27:43 -0700424 <propertiesLocation>${basedir}/conf/checkstyle/checkstyle_maven.properties</propertiesLocation>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700425 </configuration>
426 <reportSets>
427 <reportSet>
428 <reports>
429 <report>checkstyle</report>
430 </reports>
431 </reportSet>
432 </reportSets>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800433 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700434 <!-- Note: the findbugs configuration is also in the build section -->
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800435 <plugin>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700436 <groupId>org.codehaus.mojo</groupId>
437 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700438 <version>${findbugs-plugin.version}</version>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700439 <configuration>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700440 <effort>${findbugs.effort}</effort>
441 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700442 <reportPlugins>
443 <plugin>
444 <groupId>org.codehaus.mojo</groupId>
445 <artifactId>findbugs-maven-plugin</artifactId>
446 </plugin>
447 </reportPlugins>
448 </configuration>
449 </plugin>
450 <plugin>
451 <groupId>org.apache.maven.plugins</groupId>
452 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700453 <version>3.1</version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700454 <configuration>
455 <!--
456 Note: Exclusion definition exists in multiple places.
457 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
Yuta HIGUCHI057f7bc2014-04-16 17:37:41 -0700458 - In file conf/checkstyle/onos_suppressions.xml
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700459 - maven-pmd-plugin configuration in pom.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700460 (under build and reporting)
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700461 -->
462 <excludes>
Yuta HIGUCHI1cd90292014-04-03 14:31:10 -0700463 <exclude>**/datastore/serializers/**</exclude>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700464 <exclude>**/edu/stanford/**</exclude>
465 <exclude>**/net/floodlightcontroller/**</exclude>
466 <exclude>**/org/openflow/**</exclude>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700467 </excludes>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700468 <rulesets>
469 <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset>
470 </rulesets>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700471 </configuration>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700472 </plugin>
473 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-jxr-plugin</artifactId>
476 <version>2.4</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800477 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700478 <plugin>
479 <groupId>org.codehaus.mojo</groupId>
480 <artifactId>cobertura-maven-plugin</artifactId>
481 <version>${cobertura-maven-plugin.version}</version>
482 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700483 </plugins>
484 </reporting>
485 <dependencies>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800486 <!-- ONOS's direct dependencies -->
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700487 <dependency>
488 <groupId>com.esotericsoftware.kryo</groupId>
489 <artifactId>kryo</artifactId>
Yuta HIGUCHI6a518df2014-05-07 20:40:23 -0700490 <version>2.24.0</version>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700491 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700492 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800493 <groupId>com.google.protobuf</groupId>
494 <artifactId>protobuf-java</artifactId>
495 <version>2.5.0</version>
yoshi28bac132014-01-22 11:00:17 -0800496 </dependency>
497 <dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800498 <groupId>com.hazelcast</groupId>
499 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI6a643132014-03-18 22:39:27 -0700500 <version>${hazelcast.version}</version>
501 </dependency>
502 <dependency>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700503 <!-- Required for backend datastore as Hazelcast -->
Yuta HIGUCHI6a643132014-03-18 22:39:27 -0700504 <groupId>com.hazelcast</groupId>
505 <artifactId>hazelcast-client</artifactId>
506 <version>${hazelcast.version}</version>
yoshi2fd4c7e2013-11-22 15:47:55 -0800507 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700508 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700509 <groupId>net.sf.json-lib</groupId>
510 <artifactId>json-lib</artifactId>
511 <version>2.4</version>
512 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700513 </dependency>
514 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700515 <groupId>org.restlet.jse</groupId>
516 <artifactId>org.restlet</artifactId>
517 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700518 </dependency>
519 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700520 <groupId>org.restlet.jse</groupId>
521 <artifactId>org.restlet.ext.slf4j</artifactId>
522 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700523 </dependency>
524 <dependency>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700525 <groupId>org.restlet.jse</groupId>
Ray Milkey3aeda4f2014-05-21 14:38:58 -0700526 <artifactId>org.restlet.ext.json</artifactId>
527 <version>${restlet.version}</version>
528 </dependency>
529 <dependency>
530 <groupId>org.restlet.jse</groupId>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700531 <artifactId>org.restlet.ext.jackson</artifactId>
532 <version>${restlet.version}</version>
533 </dependency>
534 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700535 <groupId>org.codehaus.jackson</groupId>
536 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700537 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700538 </dependency>
539 <dependency>
540 <groupId>org.codehaus.jackson</groupId>
541 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700542 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700543 </dependency>
544 <dependency>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700545 <groupId>org.restlet.jse</groupId>
546 <artifactId>org.restlet.ext.simple</artifactId>
547 <version>${restlet.version}</version>
548 </dependency>
549 <dependency>
550 <groupId>org.simpleframework</groupId>
551 <artifactId>simple</artifactId>
552 <version>4.1.21</version>
553 </dependency>
554 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700555 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700556 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700557 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700558 <scope>runtime</scope>
559 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800560 <dependency>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700561 <groupId>org.slf4j</groupId>
562 <artifactId>slf4j-api</artifactId>
563 <version>1.7.5</version>
564 </dependency>
565 <dependency>
566 <groupId>com.google.guava</groupId>
567 <artifactId>guava</artifactId>
568 <version>16.0.1</version>
569 </dependency>
570 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800571 <groupId>commons-configuration</groupId>
572 <artifactId>commons-configuration</artifactId>
573 <version>1.6</version>
574 </dependency>
575 <dependency>
Yuta HIGUCHI850b0042014-04-16 15:10:31 -0700576 <groupId>commons-lang</groupId>
577 <artifactId>commons-lang</artifactId>
578 <version>2.6</version>
579 </dependency>
580 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800581 <groupId>commons-httpclient</groupId>
582 <artifactId>commons-httpclient</artifactId>
583 <version>3.1</version>
584 </dependency>
585 <dependency>
Yuta HIGUCHId395b932014-05-01 15:15:20 -0700586 <groupId>commons-collections</groupId>
587 <artifactId>commons-collections</artifactId>
588 <version>3.2.1</version>
589 </dependency>
590 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800591 <groupId>org.apache.zookeeper</groupId>
592 <artifactId>zookeeper</artifactId>
593 <version>3.4.5</version>
Yuta HIGUCHI6d935e52014-03-28 10:34:26 -0700594 <scope>runtime</scope>
595 <!-- Following workaround exclusions can be removed,
596 when we're ready to switch to ZooKeeper 3.4.6 -->
597 <exclusions>
598 <exclusion>
599 <groupId>com.sun.jmx</groupId>
600 <artifactId>jmxri</artifactId>
601 </exclusion>
602 <exclusion>
603 <groupId>com.sun.jdmk</groupId>
604 <artifactId>jmxtools</artifactId>
605 </exclusion>
606 <exclusion>
607 <groupId>javax.jms</groupId>
608 <artifactId>jms</artifactId>
609 </exclusion>
610 </exclusions>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800611 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800612 <dependency>
Jonathan Hart116b1fe2014-03-14 18:53:47 -0700613 <groupId>org.apache.curator</groupId>
614 <artifactId>curator-framework</artifactId>
615 <version>2.4.1</version>
616 </dependency>
617 <dependency>
618 <groupId>org.apache.curator</groupId>
619 <artifactId>curator-client</artifactId>
620 <version>2.4.1</version>
621 </dependency>
622 <dependency>
623 <groupId>org.apache.curator</groupId>
624 <artifactId>curator-recipes</artifactId>
625 <version>2.4.1</version>
626 </dependency>
627 <dependency>
628 <groupId>org.apache.curator</groupId>
629 <artifactId>curator-x-discovery</artifactId>
630 <version>2.4.1</version>
631 </dependency>
Yuta HIGUCHI6ee19182014-04-11 09:48:35 -0700632 <dependency>
Yuta HIGUCHI042e82a2014-04-25 22:37:03 -0700633 <!-- findbugs suppression annotation -->
634 <groupId>com.google.code.findbugs</groupId>
635 <artifactId>findbugs</artifactId>
636 <version>${findbugs.version}</version>
Yuta HIGUCHI6ee19182014-04-11 09:48:35 -0700637 </dependency>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700638 <!-- Floodlight's dependencies -->
639 <dependency>
640 <groupId>args4j</groupId>
641 <artifactId>args4j</artifactId>
642 <version>2.0.25</version>
643 </dependency>
644 <dependency>
645 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
646 <artifactId>concurrentlinkedhashmap-lru</artifactId>
647 <version>1.4</version>
648 </dependency>
649 <dependency>
650 <!-- dependency to old version of netty? -->
651 <groupId>org.jboss.netty</groupId>
652 <artifactId>netty</artifactId>
653 <version>3.2.7.Final</version>
654 </dependency>
655 <!-- Dependency for libraries used for testing -->
656 <dependency>
657 <groupId>junit</groupId>
658 <artifactId>junit</artifactId>
659 <version>4.11</version>
660 <scope>test</scope>
661 </dependency>
662 <dependency>
663 <groupId>org.hamcrest</groupId>
664 <artifactId>hamcrest-core</artifactId>
665 <version>1.3</version>
666 <scope>test</scope>
667 </dependency>
668 <dependency>
669 <groupId>org.hamcrest</groupId>
670 <artifactId>hamcrest-library</artifactId>
671 <version>1.3</version>
672 <scope>test</scope>
673 </dependency>
674 <dependency>
675 <groupId>org.easymock</groupId>
676 <artifactId>easymock</artifactId>
677 <version>3.1</version>
678 <scope>test</scope>
679 </dependency>
680 <dependency>
681 <groupId>org.powermock</groupId>
682 <artifactId>powermock-module-junit4</artifactId>
683 <version>${powermock.version}</version>
684 <scope>test</scope>
685 </dependency>
686 <dependency>
687 <groupId>org.powermock</groupId>
688 <artifactId>powermock-api-easymock</artifactId>
689 <version>${powermock.version}</version>
690 <scope>test</scope>
691 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700692 </dependencies>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700693 <profiles>
694 <!-- Jenkins by default defines a property BUILD_NUMBER which is used to
695 enable the profile. -->
696 <profile>
697 <id>jenkins</id>
698 <activation>
699 <property>
700 <name>env.BUILD_NUMBER</name>
701 </property>
702 </activation>
703 <build>
704 <plugins>
705 <plugin>
706 <groupId>org.codehaus.mojo</groupId>
707 <artifactId>cobertura-maven-plugin</artifactId>
708 <version>${cobertura-maven-plugin.version}</version>
709 <configuration>
710 <formats>
711 <format>xml</format>
712 </formats>
713 </configuration>
714 <executions>
715 <execution>
716 <phase>package</phase>
717 <goals>
718 <goal>cobertura</goal>
719 </goals>
720 </execution>
721 </executions>
722 </plugin>
723 </plugins>
724 </build>
725 </profile>
726 </profiles>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700727</project>