blob: 59bdf459b503ab009903aa44acbbbe8c361a303c [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>
Yuta HIGUCHI43653222014-06-17 18:23:32 -07009 <version>0.3.0-SNAPSHOT</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070010 <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>
Brian O'Connorc67f9fa2014-08-07 18:17:46 -070023 <url>https://repo1.maven.org/maven2</url>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070024 </repository>
25 <repository>
26 <id>maven-restlet</id>
27 <name>Public online Restlet repository</name>
28 <url>http://maven.restlet.org</url>
Brian O'Connorc67f9fa2014-08-07 18:17:46 -070029 <snapshots>
30 <enabled>false</enabled>
31 </snapshots>
32 </repository>
33 <repository>
34 <id>sonatype-oss-snapshot</id>
35 <name>Sonatype OSS snapshot repository</name>
36 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
37 <releases>
38 <enabled>false</enabled>
39 </releases>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070040 </repository>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070041 </repositories>
42 <properties>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHI388a6b42014-07-22 17:29:47 -070044 <powermock.version>1.5.5</powermock.version>
Pankaj Berde37d6d4d2013-12-03 10:12:56 -080045 <restlet.version>2.1.4</restlet.version>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -070046 <cobertura-maven-plugin.version>2.6</cobertura-maven-plugin.version>
Yuta HIGUCHI042e82a2014-04-25 22:37:03 -070047 <!-- Following 2 findbugs version needs to be updated in sync to match the
48 findbugs version used in findbugs-plugin -->
Yuta HIGUCHIc2141b72014-07-29 19:48:32 -070049 <findbugs.version>3.0.0</findbugs.version>
50 <findbugs-plugin.version>3.0.0</findbugs-plugin.version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -070051 <findbugs.effort>Max</findbugs.effort>
52 <findbugs.excludeFilterFile>conf/findbugs/exclude.xml</findbugs.excludeFilterFile>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070053 <checkstyle-plugin.version>2.12</checkstyle-plugin.version>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -080054 <!-- To publish javadoc to github,
55 uncomment com.github.github site-maven-plugin and
56 see https://github.com/OPENNETWORKINGLAB/ONOS/pull/425
57 <github.global.server>github</github.global.server>
58 -->
Yuta HIGUCHI868c6e72014-07-22 17:36:45 -070059 <hazelcast.version>3.2.4</hazelcast.version>
Pavlin Radoslavov2e3c2842014-07-27 11:18:10 -070060 <metrics.version>3.0.2</metrics.version>
Yuta HIGUCHIcd2eb112014-07-21 23:20:23 -070061 <maven.surefire.plugin.version>2.16</maven.surefire.plugin.version>
Jonathan Hart105a55e2014-08-14 15:22:33 -070062 <curator.version>2.6.0</curator.version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070063 </properties>
64 <build>
65 <plugins>
66 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -070067 <!-- Note: the checkstyle configuration is also in the reporting section -->
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-checkstyle-plugin</artifactId>
70 <version>${checkstyle-plugin.version}</version>
71 <configuration>
72 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Yuta HIGUCHIcbbaed32014-05-14 20:27:43 -070073 <propertiesLocation>${basedir}/conf/checkstyle/checkstyle_maven.properties</propertiesLocation>
Ray Milkeyb5716c52014-04-07 11:38:27 -070074 <failsOnError>false</failsOnError>
75 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHI91a8f502014-06-17 10:15:29 -070076 <includeTestSourceDirectory>true</includeTestSourceDirectory>
Ray Milkeyb5716c52014-04-07 11:38:27 -070077 </configuration>
78 <executions>
79 <execution>
80 <id>validate-checkstyle</id>
Yuta HIGUCHI82566512014-04-16 09:44:17 -070081 <phase>verify</phase>
Ray Milkeyb5716c52014-04-07 11:38:27 -070082 <goals>
83 <goal>check</goal>
84 </goals>
85 </execution>
86 </executions>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080087 </plugin>
88 <plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070089 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-install-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070091 <version>2.5.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070092 <executions>
93 </executions>
94 </plugin>
95 <!-- guice maven plugin for dependency injection inside maven -->
96 <plugin>
97 <groupId>org.apache.camel</groupId>
98 <artifactId>guice-maven-plugin</artifactId>
99 <version>2.11.0</version>
100 </plugin>
Yuta HIGUCHI34a66462014-06-17 16:05:30 -0700101 <plugin>
102 <artifactId>maven-clean-plugin</artifactId>
103 <version>2.5</version>
Yuta HIGUCHI96ab2cd2014-08-18 11:29:59 -0700104 <configuration>
105 <filesets>
106 <fileset>
107 <directory>onos-logs</directory>
108 <includes>
109 <!-- log generated during unit test runs -->
110 <include>test.log</include>
111 </includes>
112 </fileset>
113 </filesets>
114 <failOnError>false</failOnError>
115 </configuration>
Yuta HIGUCHI34a66462014-06-17 16:05:30 -0700116 </plugin>
117 <plugin>
118 <artifactId>maven-deploy-plugin</artifactId>
119 <version>2.8</version>
120 </plugin>
121 <plugin>
122 <artifactId>maven-jar-plugin</artifactId>
123 <version>2.4</version>
124 </plugin>
125 <plugin>
126 <artifactId>maven-resources-plugin</artifactId>
127 <version>2.6</version>
128 </plugin>
129 <plugin>
130 <artifactId>maven-site-plugin</artifactId>
131 <version>3.3</version>
132 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700136 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700137 <configuration>
Yuta HIGUCHI641d9992013-12-18 16:40:45 -0800138 <source>1.7</source>
139 <target>1.7</target>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700140 <encoding>UTF-8</encoding>
Yuta HIGUCHIe636d472014-04-25 09:43:44 -0700141 <showDeprecation>true</showDeprecation>
142 <showWarnings>true</showWarnings>
Yuta HIGUCHI593ee4c2014-05-12 21:31:39 -0700143 <compilerArgs>
144 <arg>-Xlint:all</arg>
145 <arg>-Xlint:-serial</arg>
Ray Milkeyff735142014-05-22 19:06:02 -0700146 <arg>-Werror</arg>
Yuta HIGUCHI593ee4c2014-05-12 21:31:39 -0700147 </compilerArgs>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700148 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700149 <executions>
150 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700151 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHIcd2eb112014-07-21 23:20:23 -0700155 <version>${maven.surefire.plugin.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700156 <configuration>
Yuta HIGUCHI105b7ed2014-08-04 09:33:08 -0700157 <!-- FIXME -XX:-UseSplitVerifier added as workaround for JDK 1.7.0u65 + PowerMock issue
158 https://issues.jboss.org/browse/JASSIST-228 -->
159 <argLine>-XX:MaxPermSize=256m -Dhazelcast.logging.type=slf4j -XX:-UseSplitVerifier</argLine>
Yuta HIGUCHI0b7c19e2014-07-21 23:33:20 -0700160 <redirectTestOutputToFile>false</redirectTestOutputToFile>
Ray Milkey10643572014-06-10 15:17:39 -0700161 <excludedGroups>net.onrc.onos.core.util.IntegrationTest</excludedGroups>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700162 </configuration>
163 </plugin>
Yuta HIGUCHI34a66462014-06-17 16:05:30 -0700164 <!-- TODO exec:java no longer used remove at some point? -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700165 <plugin>
166 <groupId>org.codehaus.mojo</groupId>
167 <artifactId>exec-maven-plugin</artifactId>
168 <version>1.2.1</version>
169 <configuration>
Jonathan Hart51f6f5b2014-04-03 10:32:10 -0700170 <mainClass>net.onrc.onos.core.main.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700171 </configuration>
172 <executions>
173 </executions>
174 </plugin>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700175 <plugin>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700178 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700179 <configuration>
180 <charset>UTF-8</charset>
181 <locale>en</locale>
Yuta HIGUCHIf4f9b282014-06-10 10:50:49 -0700182 <author>false</author>
Jonathan Hartc78b8f62014-08-07 22:31:09 -0700183 <excludePackageNames>net.floodlightcontroller.*:net.onrc.onos.core.datastore.serializers</excludePackageNames>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700184 </configuration>
185 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700186<!-- Remove me when we're sure that system test no longer need JaCoCo
timlindberg8b13e702013-07-17 14:45:50 -0700187 <plugin>
188 <groupId>org.jacoco</groupId>
189 <artifactId>jacoco-maven-plugin</artifactId>
190 <version>0.6.3.201306030806</version>
timlindberg8b13e702013-07-17 14:45:50 -0700191 <executions>
192 <execution>
193 <id>jacoco-initialize</id>
194 <goals>
195 <goal>prepare-agent</goal>
196 </goals>
197 </execution>
198 <execution>
199 <id>jacoco-site</id>
200 <phase>package</phase>
201 <goals>
202 <goal>report</goal>
203 </goals>
204 </execution>
205 </executions>
206 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700207-->
Yuta HIGUCHI34a66462014-06-17 16:05:30 -0700208 <!-- Uncomment when publishing javadoc to github in the future.
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700209 <plugin>
210 <groupId>com.github.github</groupId>
211 <artifactId>site-maven-plugin</artifactId>
212 <version>0.8</version>
213 <configuration>
214 <message>Creating site for ${project.version}</message>
215 <dryRun>true</dryRun>
216 <repositoryName>ONOS</repositoryName>
217 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800218 <path>javadoc/${project.version}/</path>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700219 </configuration>
220 <executions>
221 <execution>
222 <goals>
223 <goal>site</goal>
224 </goals>
225 <phase>site</phase>
226 </execution>
227 </executions>
228 </plugin>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800229 -->
Jonathan Hart2c61a502013-10-18 18:12:26 -0700230 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700231 <artifactId>maven-assembly-plugin</artifactId>
Yuta HIGUCHI34a66462014-06-17 16:05:30 -0700232 <version>2.4</version>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700233 <configuration>
234 <descriptorRefs>
235 <descriptorRef>jar-with-dependencies</descriptorRef>
236 </descriptorRefs>
237 </configuration>
Jonathan Hart2c61a502013-10-18 18:12:26 -0700238 </plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800239 <plugin>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700240 <!-- Using groovy script to set maven property ${hostname}.
241 This is a workaround to get hostname as a property inside pom file,
242 which current Maven does not provide. -->
243 <groupId>org.codehaus.gmaven</groupId>
244 <artifactId>groovy-maven-plugin</artifactId>
245 <version>2.0</version>
246 <executions>
247 <execution>
248 <phase>initialize</phase>
249 <goals>
250 <goal>execute</goal>
251 </goals>
252 <configuration>
253 <source>
254 project.properties["hostname"] = InetAddress.getLocalHost().getHostName()
255 </source>
256 </configuration>
257 </execution>
258 </executions>
259 </plugin>
260 <plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-dependency-plugin</artifactId>
263 <version>2.8</version>
264 <executions>
265 <execution>
266 <id>build-classpath</id>
Yuta HIGUCHIb6734602014-07-29 11:53:06 -0700267 <phase>compile</phase>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800268 <goals>
269 <goal>build-classpath</goal>
270 </goals>
271 <configuration>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700272 <outputFile>${project.basedir}/.javacp.${hostname}</outputFile>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800273 </configuration>
274 </execution>
275 </executions>
276 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700277 <plugin>
278 <groupId>org.codehaus.mojo</groupId>
279 <artifactId>cobertura-maven-plugin</artifactId>
280 <version>${cobertura-maven-plugin.version}</version>
281 <configuration>
282 <instrumentation>
283 <ignores>
284 <ignore>org.slf4j.*</ignore>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700285 </ignores>
286 <excludes>
Yuta HIGUCHIee818992014-06-18 10:10:10 -0700287 <exclude>edu/stanford/ramcloud/**/*.class</exclude>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700288 <exclude>net/floodlightcontroller/**/web/**/*.class</exclude>
289 </excludes>
290 </instrumentation>
Yuta HIGUCHI2d624d32014-06-03 00:09:10 -0700291 <quiet>true</quiet>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700292 </configuration>
293 <executions>
294 <execution>
295 <goals>
296 <goal>clean</goal>
297 </goals>
298 </execution>
299 </executions>
300 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700301 <!-- Note: the findbugs configuration is also in the reporting section -->
302 <plugin>
303 <groupId>org.codehaus.mojo</groupId>
304 <artifactId>findbugs-maven-plugin</artifactId>
305 <version>${findbugs-plugin.version}</version>
306 <configuration>
307 <effort>${findbugs.effort}</effort>
308 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
309 </configuration>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700310 <executions>
311 <execution>
312 <id>validate-findbugs</id>
Yuta HIGUCHI82566512014-04-16 09:44:17 -0700313 <phase>verify</phase>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700314 <goals>
Yuta HIGUCHI82566512014-04-16 09:44:17 -0700315 <goal>check</goal>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700316 </goals>
317 </execution>
318 </executions>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700319 </plugin>
320 <plugin>
321 <groupId>org.apache.maven.plugins</groupId>
322 <artifactId>maven-pmd-plugin</artifactId>
323 <version>3.1</version>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700324 <configuration>
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700325 <!--
326 Note: Exclusion definition exists in multiple places.
327 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
Yuta HIGUCHI057f7bc2014-04-16 17:37:41 -0700328 - In file conf/checkstyle/onos_suppressions.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700329 - maven-pmd-plugin configuration in pom.xml
330 (under build and reporting)
331 -->
Ray Milkeyb5716c52014-04-07 11:38:27 -0700332 <excludes>
Yuta HIGUCHI1cd90292014-04-03 14:31:10 -0700333 <exclude>**/datastore/serializers/**</exclude>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700334 <exclude>**/edu/stanford/**</exclude>
335 <exclude>**/net/floodlightcontroller/**</exclude>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700336 </excludes>
337 <rulesets>
338 <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset>
339 </rulesets>
340 </configuration>
341 <executions>
342 <execution>
343 <id>validate-pmd</id>
Yuta HIGUCHI82566512014-04-16 09:44:17 -0700344 <phase>verify</phase>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700345 <goals>
346 <!-- Uncomment this goal to make the build fail on pmd errors -->
347 <!--<goal>check</goal>-->
348 </goals>
349 </execution>
350 </executions>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700351 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700352 </plugins>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800353 <pluginManagement>
354 <plugins>
355 <!--This plugin's configuration is used to store Eclipse m2e settings
356 only. It has no influence on the Maven build itself. -->
357 <plugin>
358 <groupId>org.eclipse.m2e</groupId>
359 <artifactId>lifecycle-mapping</artifactId>
360 <version>1.0.0</version>
361 <configuration>
362 <lifecycleMappingMetadata>
363 <pluginExecutions>
364 <pluginExecution>
365 <pluginExecutionFilter>
366 <groupId>
367 org.apache.maven.plugins
368 </groupId>
369 <artifactId>
370 maven-dependency-plugin
371 </artifactId>
372 <versionRange>[2.8,)</versionRange>
373 <goals>
374 <goal>build-classpath</goal>
375 </goals>
376 </pluginExecutionFilter>
377 <action>
378 <ignore></ignore>
379 </action>
380 </pluginExecution>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700381 <pluginExecution>
382 <pluginExecutionFilter>
383 <groupId>org.codehaus.gmaven</groupId>
384 <artifactId>groovy-maven-plugin</artifactId>
385 <versionRange>[2.0,)</versionRange>
386 <goals>
387 <goal>execute</goal>
388 </goals>
389 </pluginExecutionFilter>
390 <action>
391 <ignore></ignore>
392 </action>
393 </pluginExecution>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800394 </pluginExecutions>
395 </lifecycleMappingMetadata>
396 </configuration>
397 </plugin>
398 </plugins>
399 </pluginManagement>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700400 </build>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700401 <!-- for getting visualization reporting -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700402 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700403 <excludeDefaults>true</excludeDefaults>
404 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700405 <plugins>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700406 <plugin>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-project-info-reports-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700409 <version>2.7</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700410 <configuration>
411 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
412 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
413 </configuration>
414 <reportSets>
415 <reportSet>
416 <reports>
417 <report>dependencies</report>
418 <report>scm</report>
419 </reports>
420 </reportSet>
421 </reportSets>
422 </plugin>
423 <plugin>
424 <groupId>org.apache.maven.plugins</groupId>
425 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700426 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700427 <configuration>
428 <charset>UTF-8</charset>
429 <locale>en</locale>
Yuta HIGUCHIf4f9b282014-06-10 10:50:49 -0700430 <author>false</author>
431 <excludePackageNames>net.floodlightcontroller.*:net.onrc.onos.core.datastore.serializers</excludePackageNames>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700432 </configuration>
433 </plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800434 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700435 <!-- Note: the checkstyle configuration is also in the build section -->
436 <groupId>org.apache.maven.plugins</groupId>
437 <artifactId>maven-checkstyle-plugin</artifactId>
438 <version>${checkstyle-plugin.version}</version>
439 <configuration>
440 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700441 <!--
442 Note: Exclusion definition exists in multiple places.
443 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
444 - maven-checkstyle-plugin configuration in pom.xml
445 - maven-pmd-plugin configuration in pom.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700446 (under build and reporting)
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700447 -->
Yuta HIGUCHIcbbaed32014-05-14 20:27:43 -0700448 <propertiesLocation>${basedir}/conf/checkstyle/checkstyle_maven.properties</propertiesLocation>
Yuta HIGUCHI91a8f502014-06-17 10:15:29 -0700449 <includeTestSourceDirectory>true</includeTestSourceDirectory>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700450 </configuration>
451 <reportSets>
452 <reportSet>
453 <reports>
454 <report>checkstyle</report>
455 </reports>
456 </reportSet>
457 </reportSets>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800458 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700459 <!-- Note: the findbugs configuration is also in the build section -->
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800460 <plugin>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700461 <groupId>org.codehaus.mojo</groupId>
462 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700463 <version>${findbugs-plugin.version}</version>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700464 <configuration>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700465 <effort>${findbugs.effort}</effort>
466 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700467 <reportPlugins>
468 <plugin>
469 <groupId>org.codehaus.mojo</groupId>
470 <artifactId>findbugs-maven-plugin</artifactId>
471 </plugin>
472 </reportPlugins>
473 </configuration>
474 </plugin>
475 <plugin>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700478 <version>3.1</version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700479 <configuration>
480 <!--
481 Note: Exclusion definition exists in multiple places.
482 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
Yuta HIGUCHI057f7bc2014-04-16 17:37:41 -0700483 - In file conf/checkstyle/onos_suppressions.xml
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700484 - maven-pmd-plugin configuration in pom.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700485 (under build and reporting)
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700486 -->
487 <excludes>
Yuta HIGUCHI1cd90292014-04-03 14:31:10 -0700488 <exclude>**/datastore/serializers/**</exclude>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700489 <exclude>**/edu/stanford/**</exclude>
490 <exclude>**/net/floodlightcontroller/**</exclude>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700491 </excludes>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700492 <rulesets>
493 <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset>
494 </rulesets>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700495 </configuration>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700496 </plugin>
497 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700498 <groupId>org.apache.maven.plugins</groupId>
499 <artifactId>maven-jxr-plugin</artifactId>
500 <version>2.4</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800501 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700502 <plugin>
503 <groupId>org.codehaus.mojo</groupId>
504 <artifactId>cobertura-maven-plugin</artifactId>
505 <version>${cobertura-maven-plugin.version}</version>
506 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700507 </plugins>
508 </reporting>
509 <dependencies>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800510 <!-- ONOS's direct dependencies -->
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700511 <dependency>
512 <groupId>com.esotericsoftware.kryo</groupId>
513 <artifactId>kryo</artifactId>
Yuta HIGUCHI6a518df2014-05-07 20:40:23 -0700514 <version>2.24.0</version>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700515 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700516 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800517 <groupId>com.google.protobuf</groupId>
518 <artifactId>protobuf-java</artifactId>
519 <version>2.5.0</version>
yoshi28bac132014-01-22 11:00:17 -0800520 </dependency>
521 <dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800522 <groupId>com.hazelcast</groupId>
523 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI6a643132014-03-18 22:39:27 -0700524 <version>${hazelcast.version}</version>
525 </dependency>
526 <dependency>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700527 <!-- Required for backend datastore as Hazelcast -->
Yuta HIGUCHI6a643132014-03-18 22:39:27 -0700528 <groupId>com.hazelcast</groupId>
529 <artifactId>hazelcast-client</artifactId>
530 <version>${hazelcast.version}</version>
yoshi2fd4c7e2013-11-22 15:47:55 -0800531 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700532 <dependency>
Pavlin Radoslavovde4c3892014-07-06 23:19:59 -0700533 <groupId>javax.websocket</groupId>
534 <artifactId>javax.websocket-api</artifactId>
535 <version>1.0</version>
536 </dependency>
537 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700538 <groupId>net.sf.json-lib</groupId>
539 <artifactId>json-lib</artifactId>
540 <version>2.4</version>
541 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700542 </dependency>
543 <dependency>
Pavlin Radoslavovde4c3892014-07-06 23:19:59 -0700544 <groupId>org.eclipse.jetty</groupId>
545 <artifactId>jetty-server</artifactId>
546 <version>9.2.1.v20140609</version>
547 </dependency>
548 <dependency>
549 <groupId>org.eclipse.jetty</groupId>
550 <artifactId>jetty-servlet</artifactId>
551 <version>9.2.1.v20140609</version>
552 </dependency>
553 <dependency>
554 <groupId>org.eclipse.jetty.websocket</groupId>
555 <artifactId>javax-websocket-server-impl</artifactId>
556 <version>9.2.1.v20140609</version>
557 </dependency>
558 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700559 <groupId>org.restlet.jse</groupId>
560 <artifactId>org.restlet</artifactId>
561 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700562 </dependency>
563 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700564 <groupId>org.restlet.jse</groupId>
565 <artifactId>org.restlet.ext.slf4j</artifactId>
566 <version>${restlet.version}</version>
Yuta HIGUCHIaa2131f2014-07-28 23:45:47 -0700567 <scope>runtime</scope>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700568 </dependency>
569 <dependency>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700570 <groupId>org.restlet.jse</groupId>
Ray Milkey3aeda4f2014-05-21 14:38:58 -0700571 <artifactId>org.restlet.ext.json</artifactId>
572 <version>${restlet.version}</version>
Yuta HIGUCHIaa2131f2014-07-28 23:45:47 -0700573 <scope>runtime</scope>
574 </dependency>
575 <dependency>
576 <groupId>org.restlet.jse</groupId>
577 <artifactId>org.restlet.lib.org.json</artifactId>
578 <version>2.0</version>
Ray Milkey3aeda4f2014-05-21 14:38:58 -0700579 </dependency>
580 <dependency>
581 <groupId>org.restlet.jse</groupId>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700582 <artifactId>org.restlet.ext.jackson</artifactId>
583 <version>${restlet.version}</version>
584 </dependency>
585 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700586 <groupId>org.codehaus.jackson</groupId>
587 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700588 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700589 </dependency>
590 <dependency>
591 <groupId>org.codehaus.jackson</groupId>
592 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700593 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700594 </dependency>
595 <dependency>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700596 <groupId>org.restlet.jse</groupId>
597 <artifactId>org.restlet.ext.simple</artifactId>
598 <version>${restlet.version}</version>
Yuta HIGUCHIaa2131f2014-07-28 23:45:47 -0700599 <scope>runtime</scope>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700600 </dependency>
601 <dependency>
602 <groupId>org.simpleframework</groupId>
603 <artifactId>simple</artifactId>
604 <version>4.1.21</version>
Yuta HIGUCHIaa2131f2014-07-28 23:45:47 -0700605 <scope>runtime</scope>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700606 </dependency>
607 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700608 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700609 <artifactId>logback-classic</artifactId>
Yuta HIGUCHI001159d2014-07-23 11:53:32 -0700610 <version>1.1.2</version>
Brian O'Connorc67f9fa2014-08-07 18:17:46 -0700611 </dependency>
612 <dependency>
613 <groupId>ch.qos.logback</groupId>
614 <artifactId>logback-core</artifactId>
615 <version>1.1.2</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700616 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800617 <dependency>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700618 <groupId>org.slf4j</groupId>
619 <artifactId>slf4j-api</artifactId>
620 <version>1.7.5</version>
621 </dependency>
622 <dependency>
623 <groupId>com.google.guava</groupId>
624 <artifactId>guava</artifactId>
Sho SHIMIZU00ec3512014-07-22 21:02:56 -0700625 <version>17.0</version>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700626 </dependency>
627 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800628 <groupId>commons-configuration</groupId>
629 <artifactId>commons-configuration</artifactId>
Yuta HIGUCHI56f294e2014-07-23 11:09:06 -0700630 <version>1.10</version>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800631 </dependency>
632 <dependency>
Yuta HIGUCHI850b0042014-04-16 15:10:31 -0700633 <groupId>commons-lang</groupId>
634 <artifactId>commons-lang</artifactId>
635 <version>2.6</version>
636 </dependency>
637 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800638 <groupId>commons-httpclient</groupId>
639 <artifactId>commons-httpclient</artifactId>
640 <version>3.1</version>
641 </dependency>
642 <dependency>
Yuta HIGUCHI0c883d02014-07-23 10:59:17 -0700643 <groupId>org.apache.commons</groupId>
644 <artifactId>commons-collections4</artifactId>
645 <version>4.0</version>
Yuta HIGUCHId395b932014-05-01 15:15:20 -0700646 </dependency>
647 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800648 <groupId>org.apache.zookeeper</groupId>
649 <artifactId>zookeeper</artifactId>
Yuta HIGUCHIfb1905a2014-06-09 14:07:34 -0700650 <version>3.4.6</version>
Yuta HIGUCHI6d935e52014-03-28 10:34:26 -0700651 <scope>runtime</scope>
Yuta HIGUCHIffdb9132014-06-23 09:30:38 -0700652 <!-- Excluding log4j. ONOS uses logback-classic for SLF4J. -->
653 <exclusions>
654 <exclusion>
655 <artifactId>slf4j-log4j12</artifactId>
656 <groupId>org.slf4j</groupId>
657 </exclusion>
658 <exclusion>
659 <artifactId>log4j</artifactId>
660 <groupId>log4j</groupId>
661 </exclusion>
662 </exclusions>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800663 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800664 <dependency>
Jonathan Hartf6978ce2014-06-23 11:20:04 -0700665 <groupId>com.googlecode.concurrent-trees</groupId>
666 <artifactId>concurrent-trees</artifactId>
667 <version>2.4.0</version>
668 </dependency>
669 <dependency>
Jonathan Hart116b1fe2014-03-14 18:53:47 -0700670 <groupId>org.apache.curator</groupId>
671 <artifactId>curator-framework</artifactId>
Jonathan Hart105a55e2014-08-14 15:22:33 -0700672 <version>${curator.version}</version>
Jonathan Hart116b1fe2014-03-14 18:53:47 -0700673 </dependency>
674 <dependency>
675 <groupId>org.apache.curator</groupId>
676 <artifactId>curator-client</artifactId>
Jonathan Hart105a55e2014-08-14 15:22:33 -0700677 <version>${curator.version}</version>
Jonathan Hart116b1fe2014-03-14 18:53:47 -0700678 </dependency>
679 <dependency>
680 <groupId>org.apache.curator</groupId>
681 <artifactId>curator-recipes</artifactId>
Jonathan Hart105a55e2014-08-14 15:22:33 -0700682 <version>${curator.version}</version>
Jonathan Hart116b1fe2014-03-14 18:53:47 -0700683 </dependency>
684 <dependency>
685 <groupId>org.apache.curator</groupId>
686 <artifactId>curator-x-discovery</artifactId>
Jonathan Hart105a55e2014-08-14 15:22:33 -0700687 <version>${curator.version}</version>
Jonathan Hart116b1fe2014-03-14 18:53:47 -0700688 </dependency>
Yuta HIGUCHI6ee19182014-04-11 09:48:35 -0700689 <dependency>
Yuta HIGUCHIec7c0a52014-08-06 19:08:15 -0700690 <!-- findbugs suppression annotation and @GuardedBy, etc. -->
Yuta HIGUCHI042e82a2014-04-25 22:37:03 -0700691 <groupId>com.google.code.findbugs</groupId>
Yuta HIGUCHIec7c0a52014-08-06 19:08:15 -0700692 <artifactId>annotations</artifactId>
Yuta HIGUCHI042e82a2014-04-25 22:37:03 -0700693 <version>${findbugs.version}</version>
Yuta HIGUCHI6ee19182014-04-11 09:48:35 -0700694 </dependency>
Ray Milkey26921af2014-06-30 16:27:40 -0700695 <dependency>
Brian O'Connorc67f9fa2014-08-07 18:17:46 -0700696 <groupId>com.fasterxml.jackson.core</groupId>
697 <artifactId>jackson-annotations</artifactId>
698 <version>2.4.0</version>
699 </dependency>
700 <dependency>
Ray Milkey26921af2014-06-30 16:27:40 -0700701 <groupId>com.codahale.metrics</groupId>
702 <artifactId>metrics-core</artifactId>
703 <version>${metrics.version}</version>
704 </dependency>
705 <dependency>
706 <groupId>com.codahale.metrics</groupId>
707 <artifactId>metrics-json</artifactId>
708 <version>${metrics.version}</version>
709 </dependency>
Yuta HIGUCHIaa2131f2014-07-28 23:45:47 -0700710 <dependency>
711 <groupId>com.fasterxml.jackson.core</groupId>
712 <artifactId>jackson-databind</artifactId>
713 <version>2.2.2</version>
714 </dependency>
Brian O'Connorc67f9fa2014-08-07 18:17:46 -0700715 <dependency>
716 <groupId>org.projectfloodlight</groupId>
717 <artifactId>openflowj</artifactId>
Matteo Gerolae95f4ea2014-08-06 16:15:01 +0200718 <version>0.3.8-SNAPSHOT</version>
Brian O'Connorc67f9fa2014-08-07 18:17:46 -0700719 </dependency>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700720 <!-- Floodlight's dependencies -->
721 <dependency>
722 <groupId>args4j</groupId>
723 <artifactId>args4j</artifactId>
724 <version>2.0.25</version>
725 </dependency>
726 <dependency>
727 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
728 <artifactId>concurrentlinkedhashmap-lru</artifactId>
729 <version>1.4</version>
730 </dependency>
731 <dependency>
732 <!-- dependency to old version of netty? -->
Yuta HIGUCHIaa2131f2014-07-28 23:45:47 -0700733 <groupId>io.netty</groupId>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700734 <artifactId>netty</artifactId>
Yuta HIGUCHI29af9b52014-07-29 00:13:54 -0700735 <version>3.9.2.Final</version>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700736 </dependency>
737 <!-- Dependency for libraries used for testing -->
738 <dependency>
739 <groupId>junit</groupId>
740 <artifactId>junit</artifactId>
741 <version>4.11</version>
742 <scope>test</scope>
743 </dependency>
744 <dependency>
745 <groupId>org.hamcrest</groupId>
746 <artifactId>hamcrest-core</artifactId>
747 <version>1.3</version>
748 <scope>test</scope>
749 </dependency>
750 <dependency>
751 <groupId>org.hamcrest</groupId>
752 <artifactId>hamcrest-library</artifactId>
753 <version>1.3</version>
754 <scope>test</scope>
755 </dependency>
756 <dependency>
757 <groupId>org.easymock</groupId>
758 <artifactId>easymock</artifactId>
Yuta HIGUCHI08469962014-07-22 17:52:22 -0700759 <version>3.2</version>
Yuta HIGUCHId209c0b2014-04-25 23:33:27 -0700760 <scope>test</scope>
761 </dependency>
762 <dependency>
763 <groupId>org.powermock</groupId>
764 <artifactId>powermock-module-junit4</artifactId>
765 <version>${powermock.version}</version>
766 <scope>test</scope>
767 </dependency>
768 <dependency>
769 <groupId>org.powermock</groupId>
770 <artifactId>powermock-api-easymock</artifactId>
771 <version>${powermock.version}</version>
772 <scope>test</scope>
773 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700774 </dependencies>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700775 <profiles>
776 <!-- Jenkins by default defines a property BUILD_NUMBER which is used to
777 enable the profile. -->
778 <profile>
779 <id>jenkins</id>
780 <activation>
781 <property>
782 <name>env.BUILD_NUMBER</name>
783 </property>
784 </activation>
785 <build>
786 <plugins>
787 <plugin>
788 <groupId>org.codehaus.mojo</groupId>
789 <artifactId>cobertura-maven-plugin</artifactId>
790 <version>${cobertura-maven-plugin.version}</version>
791 <configuration>
792 <formats>
793 <format>xml</format>
794 </formats>
Yuta HIGUCHI2d624d32014-06-03 00:09:10 -0700795 <quiet>true</quiet>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700796 </configuration>
797 <executions>
798 <execution>
799 <phase>package</phase>
800 <goals>
801 <goal>cobertura</goal>
802 </goals>
803 </execution>
804 </executions>
805 </plugin>
806 </plugins>
807 </build>
808 </profile>
Yuta HIGUCHIcd2eb112014-07-21 23:20:23 -0700809 <profile>
810 <id>all-tests</id>
811 <build>
812 <plugins>
813 <plugin>
814 <groupId>org.apache.maven.plugins</groupId>
815 <artifactId>maven-surefire-plugin</artifactId>
816 <version>${maven.surefire.plugin.version}</version>
817 <configuration combine.self="merge">
818 <excludedGroups></excludedGroups>
819 </configuration>
820 </plugin>
821 </plugins>
822 </build>
823 </profile>
Yuta HIGUCHIee0c5b62014-07-22 23:22:47 -0700824 <profile>
825 <id>error-prone</id>
826 <build>
827 <plugins>
828 <plugin>
829 <groupId>org.apache.maven.plugins</groupId>
830 <artifactId>maven-compiler-plugin</artifactId>
831 <version>3.1</version>
832 <configuration>
833 <compilerArgs combine.children="append">
834 <!-- FIXME -Xlint:-path required when using findbugs + error-prone -->
835 <arg>-Xlint:-path</arg>
836 </compilerArgs>
837 <!-- Turn on error-prone -->
838 <compilerId>javac-with-errorprone</compilerId>
839 <forceJavacCompilerUse>true</forceJavacCompilerUse>
840 </configuration>
841 <dependencies combine.children="append">
842 <dependency>
843 <groupId>com.google.errorprone</groupId>
844 <artifactId>error_prone_core</artifactId>
845 <version>1.1.2</version>
846 </dependency>
847 <dependency>
848 <groupId>org.codehaus.plexus</groupId>
849 <artifactId>plexus-compiler-javac</artifactId>
850 <version>2.3</version>
851 </dependency>
852 <dependency>
853 <groupId>org.codehaus.plexus</groupId>
854 <artifactId>plexus-compiler-javac-errorprone</artifactId>
855 <version>2.3</version>
856 </dependency>
857 </dependencies>
858 </plugin>
859 </plugins>
860 </build>
861 </profile>
Yuta HIGUCHI8aa2f9b2014-07-28 11:33:45 -0700862 <profile>
863 <id>hz-cli</id>
864 <build>
865 <plugins>
866 <!-- mvn exec:java -P hz-cli to start Hazelcast CLI -->
867 <plugin>
868 <groupId>org.codehaus.mojo</groupId>
869 <artifactId>exec-maven-plugin</artifactId>
870 <version>1.2.1</version>
871 <configuration>
872 <mainClass>net.onrc.onos.core.datagrid.HazelcastCLI</mainClass>
873 <systemProperties>
874 <systemProperty>
875 <key>hazelcast.logging.type</key>
876 <value>slf4j</value>
877 </systemProperty>
878 </systemProperties>
879 </configuration>
880 <executions>
881 </executions>
882 </plugin>
883 </plugins>
884 </build>
885 </profile>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700886 </profiles>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700887</project>