HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 1 | <?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 Berde | bbd3861 | 2013-06-22 05:59:12 -0700 | [diff] [blame] | 8 | <artifactId>onos</artifactId> |
Yuta HIGUCHI | 4365322 | 2014-06-17 18:23:32 -0700 | [diff] [blame] | 9 | <version>0.3.0-SNAPSHOT</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 10 | <packaging>jar</packaging> |
Yuta HIGUCHI | f232d0f | 2014-04-16 09:23:02 -0700 | [diff] [blame] | 11 | <name>ONOS</name> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 12 | <url>http://onlab.us/</url> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 13 | <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 Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 19 | <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 Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 30 | </repositories> |
| 31 | <properties> |
| 32 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Yuta HIGUCHI | 388a6b4 | 2014-07-22 17:29:47 -0700 | [diff] [blame] | 33 | <powermock.version>1.5.5</powermock.version> |
Pankaj Berde | 37d6d4d | 2013-12-03 10:12:56 -0800 | [diff] [blame] | 34 | <restlet.version>2.1.4</restlet.version> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 35 | <cobertura-maven-plugin.version>2.6</cobertura-maven-plugin.version> |
Yuta HIGUCHI | 042e82a | 2014-04-25 22:37:03 -0700 | [diff] [blame] | 36 | <!-- Following 2 findbugs version needs to be updated in sync to match the |
| 37 | findbugs version used in findbugs-plugin --> |
Yuta HIGUCHI | 0fe749a | 2014-05-27 09:35:16 -0700 | [diff] [blame] | 38 | <findbugs.version>2.0.3</findbugs.version> |
| 39 | <findbugs-plugin.version>2.5.4</findbugs-plugin.version> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 40 | <findbugs.effort>Max</findbugs.effort> |
| 41 | <findbugs.excludeFilterFile>conf/findbugs/exclude.xml</findbugs.excludeFilterFile> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame] | 42 | <checkstyle-plugin.version>2.12</checkstyle-plugin.version> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 43 | <!-- 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 HIGUCHI | 868c6e7 | 2014-07-22 17:36:45 -0700 | [diff] [blame] | 48 | <hazelcast.version>3.2.4</hazelcast.version> |
Pavlin Radoslavov | 2e3c284 | 2014-07-27 11:18:10 -0700 | [diff] [blame] | 49 | <metrics.version>3.0.2</metrics.version> |
Yuta HIGUCHI | cd2eb11 | 2014-07-21 23:20:23 -0700 | [diff] [blame] | 50 | <maven.surefire.plugin.version>2.16</maven.surefire.plugin.version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 51 | </properties> |
| 52 | <build> |
| 53 | <plugins> |
| 54 | <plugin> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 55 | <!-- Note: the checkstyle configuration is also in the reporting section --> |
| 56 | <groupId>org.apache.maven.plugins</groupId> |
| 57 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 58 | <version>${checkstyle-plugin.version}</version> |
| 59 | <configuration> |
| 60 | <configLocation>conf/checkstyle/sun_checks.xml</configLocation> |
Yuta HIGUCHI | cbbaed3 | 2014-05-14 20:27:43 -0700 | [diff] [blame] | 61 | <propertiesLocation>${basedir}/conf/checkstyle/checkstyle_maven.properties</propertiesLocation> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 62 | <failsOnError>false</failsOnError> |
| 63 | <logViolationsToConsole>true</logViolationsToConsole> |
Yuta HIGUCHI | 91a8f50 | 2014-06-17 10:15:29 -0700 | [diff] [blame] | 64 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 65 | </configuration> |
| 66 | <executions> |
| 67 | <execution> |
| 68 | <id>validate-checkstyle</id> |
Yuta HIGUCHI | 8256651 | 2014-04-16 09:44:17 -0700 | [diff] [blame] | 69 | <phase>verify</phase> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 70 | <goals> |
| 71 | <goal>check</goal> |
| 72 | </goals> |
| 73 | </execution> |
| 74 | </executions> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 75 | </plugin> |
| 76 | <plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 77 | <groupId>org.apache.maven.plugins</groupId> |
| 78 | <artifactId>maven-install-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame] | 79 | <version>2.5.1</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 80 | <executions> |
| 81 | </executions> |
| 82 | </plugin> |
| 83 | <!-- guice maven plugin for dependency injection inside maven --> |
| 84 | <plugin> |
| 85 | <groupId>org.apache.camel</groupId> |
| 86 | <artifactId>guice-maven-plugin</artifactId> |
| 87 | <version>2.11.0</version> |
| 88 | </plugin> |
Yuta HIGUCHI | 34a6646 | 2014-06-17 16:05:30 -0700 | [diff] [blame] | 89 | <plugin> |
| 90 | <artifactId>maven-clean-plugin</artifactId> |
| 91 | <version>2.5</version> |
| 92 | </plugin> |
| 93 | <plugin> |
| 94 | <artifactId>maven-deploy-plugin</artifactId> |
| 95 | <version>2.8</version> |
| 96 | </plugin> |
| 97 | <plugin> |
| 98 | <artifactId>maven-jar-plugin</artifactId> |
| 99 | <version>2.4</version> |
| 100 | </plugin> |
| 101 | <plugin> |
| 102 | <artifactId>maven-resources-plugin</artifactId> |
| 103 | <version>2.6</version> |
| 104 | </plugin> |
| 105 | <plugin> |
| 106 | <artifactId>maven-site-plugin</artifactId> |
| 107 | <version>3.3</version> |
| 108 | </plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 109 | <plugin> |
| 110 | <groupId>org.apache.maven.plugins</groupId> |
| 111 | <artifactId>maven-compiler-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame] | 112 | <version>3.1</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 113 | <configuration> |
Yuta HIGUCHI | 641d999 | 2013-12-18 16:40:45 -0800 | [diff] [blame] | 114 | <source>1.7</source> |
| 115 | <target>1.7</target> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 116 | <encoding>UTF-8</encoding> |
Yuta HIGUCHI | e636d47 | 2014-04-25 09:43:44 -0700 | [diff] [blame] | 117 | <showDeprecation>true</showDeprecation> |
| 118 | <showWarnings>true</showWarnings> |
Yuta HIGUCHI | 593ee4c | 2014-05-12 21:31:39 -0700 | [diff] [blame] | 119 | <compilerArgs> |
| 120 | <arg>-Xlint:all</arg> |
| 121 | <arg>-Xlint:-serial</arg> |
Ray Milkey | ff73514 | 2014-05-22 19:06:02 -0700 | [diff] [blame] | 122 | <arg>-Werror</arg> |
Yuta HIGUCHI | 593ee4c | 2014-05-12 21:31:39 -0700 | [diff] [blame] | 123 | </compilerArgs> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 124 | </configuration> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 125 | <executions> |
| 126 | </executions> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 127 | </plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 128 | <plugin> |
| 129 | <groupId>org.apache.maven.plugins</groupId> |
| 130 | <artifactId>maven-surefire-plugin</artifactId> |
Yuta HIGUCHI | cd2eb11 | 2014-07-21 23:20:23 -0700 | [diff] [blame] | 131 | <version>${maven.surefire.plugin.version}</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 132 | <configuration> |
Yuta HIGUCHI | 0b7c19e | 2014-07-21 23:33:20 -0700 | [diff] [blame] | 133 | <argLine>-XX:MaxPermSize=256m -Dhazelcast.logging.type=slf4j</argLine> |
| 134 | <redirectTestOutputToFile>false</redirectTestOutputToFile> |
Ray Milkey | 1064357 | 2014-06-10 15:17:39 -0700 | [diff] [blame] | 135 | <excludedGroups>net.onrc.onos.core.util.IntegrationTest</excludedGroups> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 136 | </configuration> |
| 137 | </plugin> |
Yuta HIGUCHI | 34a6646 | 2014-06-17 16:05:30 -0700 | [diff] [blame] | 138 | <!-- TODO exec:java no longer used remove at some point? --> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 139 | <plugin> |
| 140 | <groupId>org.codehaus.mojo</groupId> |
| 141 | <artifactId>exec-maven-plugin</artifactId> |
| 142 | <version>1.2.1</version> |
| 143 | <configuration> |
Jonathan Hart | 51f6f5b | 2014-04-03 10:32:10 -0700 | [diff] [blame] | 144 | <mainClass>net.onrc.onos.core.main.Main</mainClass> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 145 | </configuration> |
| 146 | <executions> |
| 147 | </executions> |
| 148 | </plugin> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 149 | <plugin> |
| 150 | <groupId>org.apache.maven.plugins</groupId> |
| 151 | <artifactId>maven-javadoc-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame] | 152 | <version>2.9.1</version> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 153 | <configuration> |
| 154 | <charset>UTF-8</charset> |
| 155 | <locale>en</locale> |
Yuta HIGUCHI | f4f9b28 | 2014-06-10 10:50:49 -0700 | [diff] [blame] | 156 | <author>false</author> |
Yuta HIGUCHI | ccab05d | 2014-07-26 22:42:28 -0700 | [diff] [blame] | 157 | <excludePackageNames>net.floodlightcontroller.*:org.openflow.*:net.onrc.onos.core.datastore.serializers</excludePackageNames> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 158 | </configuration> |
| 159 | </plugin> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 160 | <!-- Remove me when we're sure that system test no longer need JaCoCo |
timlindberg | 8b13e70 | 2013-07-17 14:45:50 -0700 | [diff] [blame] | 161 | <plugin> |
| 162 | <groupId>org.jacoco</groupId> |
| 163 | <artifactId>jacoco-maven-plugin</artifactId> |
| 164 | <version>0.6.3.201306030806</version> |
timlindberg | 8b13e70 | 2013-07-17 14:45:50 -0700 | [diff] [blame] | 165 | <executions> |
| 166 | <execution> |
| 167 | <id>jacoco-initialize</id> |
| 168 | <goals> |
| 169 | <goal>prepare-agent</goal> |
| 170 | </goals> |
| 171 | </execution> |
| 172 | <execution> |
| 173 | <id>jacoco-site</id> |
| 174 | <phase>package</phase> |
| 175 | <goals> |
| 176 | <goal>report</goal> |
| 177 | </goals> |
| 178 | </execution> |
| 179 | </executions> |
| 180 | </plugin> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 181 | --> |
Yuta HIGUCHI | 34a6646 | 2014-06-17 16:05:30 -0700 | [diff] [blame] | 182 | <!-- Uncomment when publishing javadoc to github in the future. |
HIGUCHI Yuta | 842b6f7 | 2013-10-08 14:19:48 -0700 | [diff] [blame] | 183 | <plugin> |
| 184 | <groupId>com.github.github</groupId> |
| 185 | <artifactId>site-maven-plugin</artifactId> |
| 186 | <version>0.8</version> |
| 187 | <configuration> |
| 188 | <message>Creating site for ${project.version}</message> |
| 189 | <dryRun>true</dryRun> |
| 190 | <repositoryName>ONOS</repositoryName> |
| 191 | <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 192 | <path>javadoc/${project.version}/</path> |
HIGUCHI Yuta | 842b6f7 | 2013-10-08 14:19:48 -0700 | [diff] [blame] | 193 | </configuration> |
| 194 | <executions> |
| 195 | <execution> |
| 196 | <goals> |
| 197 | <goal>site</goal> |
| 198 | </goals> |
| 199 | <phase>site</phase> |
| 200 | </execution> |
| 201 | </executions> |
| 202 | </plugin> |
Pavlin Radoslavov | a463e46 | 2013-12-13 15:18:50 -0800 | [diff] [blame] | 203 | --> |
Jonathan Hart | 2c61a50 | 2013-10-18 18:12:26 -0700 | [diff] [blame] | 204 | <plugin> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 205 | <artifactId>maven-assembly-plugin</artifactId> |
Yuta HIGUCHI | 34a6646 | 2014-06-17 16:05:30 -0700 | [diff] [blame] | 206 | <version>2.4</version> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 207 | <configuration> |
| 208 | <descriptorRefs> |
| 209 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 210 | </descriptorRefs> |
| 211 | </configuration> |
Jonathan Hart | 2c61a50 | 2013-10-18 18:12:26 -0700 | [diff] [blame] | 212 | </plugin> |
Yuta HIGUCHI | b561efa | 2013-12-20 01:35:04 -0800 | [diff] [blame] | 213 | <plugin> |
Yuta HIGUCHI | fbd9a7e | 2014-03-23 00:18:50 -0700 | [diff] [blame] | 214 | <!-- Using groovy script to set maven property ${hostname}. |
| 215 | This is a workaround to get hostname as a property inside pom file, |
| 216 | which current Maven does not provide. --> |
| 217 | <groupId>org.codehaus.gmaven</groupId> |
| 218 | <artifactId>groovy-maven-plugin</artifactId> |
| 219 | <version>2.0</version> |
| 220 | <executions> |
| 221 | <execution> |
| 222 | <phase>initialize</phase> |
| 223 | <goals> |
| 224 | <goal>execute</goal> |
| 225 | </goals> |
| 226 | <configuration> |
| 227 | <source> |
| 228 | project.properties["hostname"] = InetAddress.getLocalHost().getHostName() |
| 229 | </source> |
| 230 | </configuration> |
| 231 | </execution> |
| 232 | </executions> |
| 233 | </plugin> |
| 234 | <plugin> |
Yuta HIGUCHI | b561efa | 2013-12-20 01:35:04 -0800 | [diff] [blame] | 235 | <groupId>org.apache.maven.plugins</groupId> |
| 236 | <artifactId>maven-dependency-plugin</artifactId> |
| 237 | <version>2.8</version> |
| 238 | <executions> |
| 239 | <execution> |
| 240 | <id>build-classpath</id> |
| 241 | <phase>generate-sources</phase> |
| 242 | <goals> |
| 243 | <goal>build-classpath</goal> |
| 244 | </goals> |
| 245 | <configuration> |
Yuta HIGUCHI | fbd9a7e | 2014-03-23 00:18:50 -0700 | [diff] [blame] | 246 | <outputFile>${project.basedir}/.javacp.${hostname}</outputFile> |
Yuta HIGUCHI | b561efa | 2013-12-20 01:35:04 -0800 | [diff] [blame] | 247 | </configuration> |
| 248 | </execution> |
| 249 | </executions> |
| 250 | </plugin> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 251 | <plugin> |
| 252 | <groupId>org.codehaus.mojo</groupId> |
| 253 | <artifactId>cobertura-maven-plugin</artifactId> |
| 254 | <version>${cobertura-maven-plugin.version}</version> |
| 255 | <configuration> |
| 256 | <instrumentation> |
| 257 | <ignores> |
| 258 | <ignore>org.slf4j.*</ignore> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 259 | </ignores> |
| 260 | <excludes> |
Yuta HIGUCHI | ee81899 | 2014-06-18 10:10:10 -0700 | [diff] [blame] | 261 | <exclude>edu/stanford/ramcloud/**/*.class</exclude> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 262 | <exclude>org/openflow/**/*.class</exclude> |
| 263 | <exclude>net/floodlightcontroller/**/web/**/*.class</exclude> |
| 264 | </excludes> |
| 265 | </instrumentation> |
Yuta HIGUCHI | 2d624d3 | 2014-06-03 00:09:10 -0700 | [diff] [blame] | 266 | <quiet>true</quiet> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 267 | </configuration> |
| 268 | <executions> |
| 269 | <execution> |
| 270 | <goals> |
| 271 | <goal>clean</goal> |
| 272 | </goals> |
| 273 | </execution> |
| 274 | </executions> |
| 275 | </plugin> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 276 | <!-- Note: the findbugs configuration is also in the reporting section --> |
| 277 | <plugin> |
| 278 | <groupId>org.codehaus.mojo</groupId> |
| 279 | <artifactId>findbugs-maven-plugin</artifactId> |
| 280 | <version>${findbugs-plugin.version}</version> |
| 281 | <configuration> |
| 282 | <effort>${findbugs.effort}</effort> |
| 283 | <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile> |
| 284 | </configuration> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 285 | <executions> |
| 286 | <execution> |
| 287 | <id>validate-findbugs</id> |
Yuta HIGUCHI | 8256651 | 2014-04-16 09:44:17 -0700 | [diff] [blame] | 288 | <phase>verify</phase> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 289 | <goals> |
Yuta HIGUCHI | 8256651 | 2014-04-16 09:44:17 -0700 | [diff] [blame] | 290 | <goal>check</goal> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 291 | </goals> |
| 292 | </execution> |
| 293 | </executions> |
Ray Milkey | 70d91cc | 2014-03-18 15:22:27 -0700 | [diff] [blame] | 294 | </plugin> |
| 295 | <plugin> |
| 296 | <groupId>org.apache.maven.plugins</groupId> |
| 297 | <artifactId>maven-pmd-plugin</artifactId> |
| 298 | <version>3.1</version> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 299 | <configuration> |
Yuta HIGUCHI | abdb356 | 2014-03-27 13:37:36 -0700 | [diff] [blame] | 300 | <!-- |
| 301 | Note: Exclusion definition exists in multiple places. |
| 302 | - In file ${findbugs.excludeFilterFile} defined at top of pom.xml |
Yuta HIGUCHI | 057f7bc | 2014-04-16 17:37:41 -0700 | [diff] [blame] | 303 | - In file conf/checkstyle/onos_suppressions.xml |
Yuta HIGUCHI | abdb356 | 2014-03-27 13:37:36 -0700 | [diff] [blame] | 304 | - maven-pmd-plugin configuration in pom.xml |
| 305 | (under build and reporting) |
| 306 | --> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 307 | <excludes> |
Yuta HIGUCHI | 1cd9029 | 2014-04-03 14:31:10 -0700 | [diff] [blame] | 308 | <exclude>**/datastore/serializers/**</exclude> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 309 | <exclude>**/edu/stanford/**</exclude> |
| 310 | <exclude>**/net/floodlightcontroller/**</exclude> |
| 311 | <exclude>**/org/openflow/**</exclude> |
| 312 | </excludes> |
| 313 | <rulesets> |
| 314 | <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset> |
| 315 | </rulesets> |
| 316 | </configuration> |
| 317 | <executions> |
| 318 | <execution> |
| 319 | <id>validate-pmd</id> |
Yuta HIGUCHI | 8256651 | 2014-04-16 09:44:17 -0700 | [diff] [blame] | 320 | <phase>verify</phase> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 321 | <goals> |
| 322 | <!-- Uncomment this goal to make the build fail on pmd errors --> |
| 323 | <!--<goal>check</goal>--> |
| 324 | </goals> |
| 325 | </execution> |
| 326 | </executions> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 327 | </plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 328 | </plugins> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 329 | <pluginManagement> |
| 330 | <plugins> |
| 331 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 332 | only. It has no influence on the Maven build itself. --> |
| 333 | <plugin> |
| 334 | <groupId>org.eclipse.m2e</groupId> |
| 335 | <artifactId>lifecycle-mapping</artifactId> |
| 336 | <version>1.0.0</version> |
| 337 | <configuration> |
| 338 | <lifecycleMappingMetadata> |
| 339 | <pluginExecutions> |
| 340 | <pluginExecution> |
| 341 | <pluginExecutionFilter> |
| 342 | <groupId> |
| 343 | org.apache.maven.plugins |
| 344 | </groupId> |
| 345 | <artifactId> |
| 346 | maven-dependency-plugin |
| 347 | </artifactId> |
| 348 | <versionRange>[2.8,)</versionRange> |
| 349 | <goals> |
| 350 | <goal>build-classpath</goal> |
| 351 | </goals> |
| 352 | </pluginExecutionFilter> |
| 353 | <action> |
| 354 | <ignore></ignore> |
| 355 | </action> |
| 356 | </pluginExecution> |
Yuta HIGUCHI | fbd9a7e | 2014-03-23 00:18:50 -0700 | [diff] [blame] | 357 | <pluginExecution> |
| 358 | <pluginExecutionFilter> |
| 359 | <groupId>org.codehaus.gmaven</groupId> |
| 360 | <artifactId>groovy-maven-plugin</artifactId> |
| 361 | <versionRange>[2.0,)</versionRange> |
| 362 | <goals> |
| 363 | <goal>execute</goal> |
| 364 | </goals> |
| 365 | </pluginExecutionFilter> |
| 366 | <action> |
| 367 | <ignore></ignore> |
| 368 | </action> |
| 369 | </pluginExecution> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 370 | </pluginExecutions> |
| 371 | </lifecycleMappingMetadata> |
| 372 | </configuration> |
| 373 | </plugin> |
| 374 | </plugins> |
| 375 | </pluginManagement> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 376 | </build> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 377 | <!-- for getting visualization reporting --> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 378 | <reporting> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 379 | <excludeDefaults>true</excludeDefaults> |
| 380 | <outputDirectory>${project.build.directory}/site</outputDirectory> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 381 | <plugins> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 382 | <plugin> |
| 383 | <groupId>org.apache.maven.plugins</groupId> |
| 384 | <artifactId>maven-project-info-reports-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame] | 385 | <version>2.7</version> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 386 | <configuration> |
| 387 | <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| 388 | <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| 389 | </configuration> |
| 390 | <reportSets> |
| 391 | <reportSet> |
| 392 | <reports> |
| 393 | <report>dependencies</report> |
| 394 | <report>scm</report> |
| 395 | </reports> |
| 396 | </reportSet> |
| 397 | </reportSets> |
| 398 | </plugin> |
| 399 | <plugin> |
| 400 | <groupId>org.apache.maven.plugins</groupId> |
| 401 | <artifactId>maven-javadoc-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame] | 402 | <version>2.9.1</version> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 403 | <configuration> |
| 404 | <charset>UTF-8</charset> |
| 405 | <locale>en</locale> |
Yuta HIGUCHI | f4f9b28 | 2014-06-10 10:50:49 -0700 | [diff] [blame] | 406 | <author>false</author> |
| 407 | <excludePackageNames>net.floodlightcontroller.*:net.onrc.onos.core.datastore.serializers</excludePackageNames> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 408 | </configuration> |
| 409 | </plugin> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 410 | <plugin> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 411 | <!-- 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 HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 417 | <!-- |
| 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 HIGUCHI | abdb356 | 2014-03-27 13:37:36 -0700 | [diff] [blame] | 422 | (under build and reporting) |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 423 | --> |
Yuta HIGUCHI | cbbaed3 | 2014-05-14 20:27:43 -0700 | [diff] [blame] | 424 | <propertiesLocation>${basedir}/conf/checkstyle/checkstyle_maven.properties</propertiesLocation> |
Yuta HIGUCHI | 91a8f50 | 2014-06-17 10:15:29 -0700 | [diff] [blame] | 425 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 426 | </configuration> |
| 427 | <reportSets> |
| 428 | <reportSet> |
| 429 | <reports> |
| 430 | <report>checkstyle</report> |
| 431 | </reports> |
| 432 | </reportSet> |
| 433 | </reportSets> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 434 | </plugin> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 435 | <!-- Note: the findbugs configuration is also in the build section --> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 436 | <plugin> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 437 | <groupId>org.codehaus.mojo</groupId> |
| 438 | <artifactId>findbugs-maven-plugin</artifactId> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 439 | <version>${findbugs-plugin.version}</version> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 440 | <configuration> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 441 | <effort>${findbugs.effort}</effort> |
| 442 | <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 443 | <reportPlugins> |
| 444 | <plugin> |
| 445 | <groupId>org.codehaus.mojo</groupId> |
| 446 | <artifactId>findbugs-maven-plugin</artifactId> |
| 447 | </plugin> |
| 448 | </reportPlugins> |
| 449 | </configuration> |
| 450 | </plugin> |
| 451 | <plugin> |
| 452 | <groupId>org.apache.maven.plugins</groupId> |
| 453 | <artifactId>maven-pmd-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame] | 454 | <version>3.1</version> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 455 | <configuration> |
| 456 | <!-- |
| 457 | Note: Exclusion definition exists in multiple places. |
| 458 | - In file ${findbugs.excludeFilterFile} defined at top of pom.xml |
Yuta HIGUCHI | 057f7bc | 2014-04-16 17:37:41 -0700 | [diff] [blame] | 459 | - In file conf/checkstyle/onos_suppressions.xml |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 460 | - maven-pmd-plugin configuration in pom.xml |
Yuta HIGUCHI | abdb356 | 2014-03-27 13:37:36 -0700 | [diff] [blame] | 461 | (under build and reporting) |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 462 | --> |
| 463 | <excludes> |
Yuta HIGUCHI | 1cd9029 | 2014-04-03 14:31:10 -0700 | [diff] [blame] | 464 | <exclude>**/datastore/serializers/**</exclude> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 465 | <exclude>**/edu/stanford/**</exclude> |
| 466 | <exclude>**/net/floodlightcontroller/**</exclude> |
| 467 | <exclude>**/org/openflow/**</exclude> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 468 | </excludes> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 469 | <rulesets> |
| 470 | <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset> |
| 471 | </rulesets> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 472 | </configuration> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 473 | </plugin> |
| 474 | <plugin> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 475 | <groupId>org.apache.maven.plugins</groupId> |
| 476 | <artifactId>maven-jxr-plugin</artifactId> |
| 477 | <version>2.4</version> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 478 | </plugin> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 479 | <plugin> |
| 480 | <groupId>org.codehaus.mojo</groupId> |
| 481 | <artifactId>cobertura-maven-plugin</artifactId> |
| 482 | <version>${cobertura-maven-plugin.version}</version> |
| 483 | </plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 484 | </plugins> |
| 485 | </reporting> |
| 486 | <dependencies> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 487 | <!-- ONOS's direct dependencies --> |
Yuta HIGUCHI | 5548a49 | 2013-10-24 00:39:23 -0700 | [diff] [blame] | 488 | <dependency> |
| 489 | <groupId>com.esotericsoftware.kryo</groupId> |
| 490 | <artifactId>kryo</artifactId> |
Yuta HIGUCHI | 6a518df | 2014-05-07 20:40:23 -0700 | [diff] [blame] | 491 | <version>2.24.0</version> |
Yuta HIGUCHI | 5548a49 | 2013-10-24 00:39:23 -0700 | [diff] [blame] | 492 | </dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 493 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 494 | <groupId>com.google.protobuf</groupId> |
| 495 | <artifactId>protobuf-java</artifactId> |
| 496 | <version>2.5.0</version> |
yoshi | 28bac13 | 2014-01-22 11:00:17 -0800 | [diff] [blame] | 497 | </dependency> |
| 498 | <dependency> |
yoshi | 2fd4c7e | 2013-11-22 15:47:55 -0800 | [diff] [blame] | 499 | <groupId>com.hazelcast</groupId> |
| 500 | <artifactId>hazelcast</artifactId> |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 501 | <version>${hazelcast.version}</version> |
| 502 | </dependency> |
| 503 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 504 | <!-- Required for backend datastore as Hazelcast --> |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 505 | <groupId>com.hazelcast</groupId> |
| 506 | <artifactId>hazelcast-client</artifactId> |
| 507 | <version>${hazelcast.version}</version> |
yoshi | 2fd4c7e | 2013-11-22 15:47:55 -0800 | [diff] [blame] | 508 | </dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 509 | <dependency> |
Pavlin Radoslavov | de4c389 | 2014-07-06 23:19:59 -0700 | [diff] [blame] | 510 | <groupId>javax.websocket</groupId> |
| 511 | <artifactId>javax.websocket-api</artifactId> |
| 512 | <version>1.0</version> |
| 513 | </dependency> |
| 514 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 515 | <groupId>net.sf.json-lib</groupId> |
| 516 | <artifactId>json-lib</artifactId> |
| 517 | <version>2.4</version> |
| 518 | <classifier>jdk15</classifier> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 519 | </dependency> |
| 520 | <dependency> |
Pavlin Radoslavov | de4c389 | 2014-07-06 23:19:59 -0700 | [diff] [blame] | 521 | <groupId>org.eclipse.jetty</groupId> |
| 522 | <artifactId>jetty-server</artifactId> |
| 523 | <version>9.2.1.v20140609</version> |
| 524 | </dependency> |
| 525 | <dependency> |
| 526 | <groupId>org.eclipse.jetty</groupId> |
| 527 | <artifactId>jetty-servlet</artifactId> |
| 528 | <version>9.2.1.v20140609</version> |
| 529 | </dependency> |
| 530 | <dependency> |
| 531 | <groupId>org.eclipse.jetty.websocket</groupId> |
| 532 | <artifactId>javax-websocket-server-impl</artifactId> |
| 533 | <version>9.2.1.v20140609</version> |
| 534 | </dependency> |
| 535 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 536 | <groupId>org.restlet.jse</groupId> |
| 537 | <artifactId>org.restlet</artifactId> |
| 538 | <version>${restlet.version}</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 539 | </dependency> |
| 540 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 541 | <groupId>org.restlet.jse</groupId> |
| 542 | <artifactId>org.restlet.ext.slf4j</artifactId> |
| 543 | <version>${restlet.version}</version> |
Yuta HIGUCHI | aa2131f | 2014-07-28 23:45:47 -0700 | [diff] [blame^] | 544 | <scope>runtime</scope> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 545 | </dependency> |
| 546 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 547 | <groupId>org.restlet.jse</groupId> |
Ray Milkey | 3aeda4f | 2014-05-21 14:38:58 -0700 | [diff] [blame] | 548 | <artifactId>org.restlet.ext.json</artifactId> |
| 549 | <version>${restlet.version}</version> |
Yuta HIGUCHI | aa2131f | 2014-07-28 23:45:47 -0700 | [diff] [blame^] | 550 | <scope>runtime</scope> |
| 551 | </dependency> |
| 552 | <dependency> |
| 553 | <groupId>org.restlet.jse</groupId> |
| 554 | <artifactId>org.restlet.lib.org.json</artifactId> |
| 555 | <version>2.0</version> |
Ray Milkey | 3aeda4f | 2014-05-21 14:38:58 -0700 | [diff] [blame] | 556 | </dependency> |
| 557 | <dependency> |
| 558 | <groupId>org.restlet.jse</groupId> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 559 | <artifactId>org.restlet.ext.jackson</artifactId> |
| 560 | <version>${restlet.version}</version> |
| 561 | </dependency> |
| 562 | <dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 563 | <groupId>org.codehaus.jackson</groupId> |
| 564 | <artifactId>jackson-core-asl</artifactId> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 565 | <version>1.9.13</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 566 | </dependency> |
| 567 | <dependency> |
| 568 | <groupId>org.codehaus.jackson</groupId> |
| 569 | <artifactId>jackson-mapper-asl</artifactId> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 570 | <version>1.9.13</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 571 | </dependency> |
| 572 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 573 | <groupId>org.restlet.jse</groupId> |
| 574 | <artifactId>org.restlet.ext.simple</artifactId> |
| 575 | <version>${restlet.version}</version> |
Yuta HIGUCHI | aa2131f | 2014-07-28 23:45:47 -0700 | [diff] [blame^] | 576 | <scope>runtime</scope> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 577 | </dependency> |
| 578 | <dependency> |
| 579 | <groupId>org.simpleframework</groupId> |
| 580 | <artifactId>simple</artifactId> |
| 581 | <version>4.1.21</version> |
Yuta HIGUCHI | aa2131f | 2014-07-28 23:45:47 -0700 | [diff] [blame^] | 582 | <scope>runtime</scope> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 583 | </dependency> |
| 584 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 585 | <groupId>ch.qos.logback</groupId> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 586 | <artifactId>logback-classic</artifactId> |
Yuta HIGUCHI | 001159d | 2014-07-23 11:53:32 -0700 | [diff] [blame] | 587 | <version>1.1.2</version> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 588 | <scope>runtime</scope> |
| 589 | </dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 590 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 591 | <groupId>org.slf4j</groupId> |
| 592 | <artifactId>slf4j-api</artifactId> |
| 593 | <version>1.7.5</version> |
| 594 | </dependency> |
| 595 | <dependency> |
| 596 | <groupId>com.google.guava</groupId> |
| 597 | <artifactId>guava</artifactId> |
Sho SHIMIZU | 00ec351 | 2014-07-22 21:02:56 -0700 | [diff] [blame] | 598 | <version>17.0</version> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 599 | </dependency> |
| 600 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 601 | <groupId>commons-configuration</groupId> |
| 602 | <artifactId>commons-configuration</artifactId> |
Yuta HIGUCHI | 56f294e | 2014-07-23 11:09:06 -0700 | [diff] [blame] | 603 | <version>1.10</version> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 604 | </dependency> |
| 605 | <dependency> |
Yuta HIGUCHI | 850b004 | 2014-04-16 15:10:31 -0700 | [diff] [blame] | 606 | <groupId>commons-lang</groupId> |
| 607 | <artifactId>commons-lang</artifactId> |
| 608 | <version>2.6</version> |
| 609 | </dependency> |
| 610 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 611 | <groupId>commons-httpclient</groupId> |
| 612 | <artifactId>commons-httpclient</artifactId> |
| 613 | <version>3.1</version> |
| 614 | </dependency> |
| 615 | <dependency> |
Yuta HIGUCHI | 0c883d0 | 2014-07-23 10:59:17 -0700 | [diff] [blame] | 616 | <groupId>org.apache.commons</groupId> |
| 617 | <artifactId>commons-collections4</artifactId> |
| 618 | <version>4.0</version> |
Yuta HIGUCHI | d395b93 | 2014-05-01 15:15:20 -0700 | [diff] [blame] | 619 | </dependency> |
| 620 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 621 | <groupId>org.apache.zookeeper</groupId> |
| 622 | <artifactId>zookeeper</artifactId> |
Yuta HIGUCHI | fb1905a | 2014-06-09 14:07:34 -0700 | [diff] [blame] | 623 | <version>3.4.6</version> |
Yuta HIGUCHI | 6d935e5 | 2014-03-28 10:34:26 -0700 | [diff] [blame] | 624 | <scope>runtime</scope> |
Yuta HIGUCHI | ffdb913 | 2014-06-23 09:30:38 -0700 | [diff] [blame] | 625 | <!-- Excluding log4j. ONOS uses logback-classic for SLF4J. --> |
| 626 | <exclusions> |
| 627 | <exclusion> |
| 628 | <artifactId>slf4j-log4j12</artifactId> |
| 629 | <groupId>org.slf4j</groupId> |
| 630 | </exclusion> |
| 631 | <exclusion> |
| 632 | <artifactId>log4j</artifactId> |
| 633 | <groupId>log4j</groupId> |
| 634 | </exclusion> |
| 635 | </exclusions> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 636 | </dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 637 | <dependency> |
Jonathan Hart | f6978ce | 2014-06-23 11:20:04 -0700 | [diff] [blame] | 638 | <groupId>com.googlecode.concurrent-trees</groupId> |
| 639 | <artifactId>concurrent-trees</artifactId> |
| 640 | <version>2.4.0</version> |
| 641 | </dependency> |
| 642 | <dependency> |
Jonathan Hart | 116b1fe | 2014-03-14 18:53:47 -0700 | [diff] [blame] | 643 | <groupId>org.apache.curator</groupId> |
| 644 | <artifactId>curator-framework</artifactId> |
| 645 | <version>2.4.1</version> |
| 646 | </dependency> |
| 647 | <dependency> |
| 648 | <groupId>org.apache.curator</groupId> |
| 649 | <artifactId>curator-client</artifactId> |
| 650 | <version>2.4.1</version> |
| 651 | </dependency> |
| 652 | <dependency> |
| 653 | <groupId>org.apache.curator</groupId> |
| 654 | <artifactId>curator-recipes</artifactId> |
| 655 | <version>2.4.1</version> |
| 656 | </dependency> |
| 657 | <dependency> |
| 658 | <groupId>org.apache.curator</groupId> |
| 659 | <artifactId>curator-x-discovery</artifactId> |
| 660 | <version>2.4.1</version> |
| 661 | </dependency> |
Yuta HIGUCHI | 6ee1918 | 2014-04-11 09:48:35 -0700 | [diff] [blame] | 662 | <dependency> |
Yuta HIGUCHI | 042e82a | 2014-04-25 22:37:03 -0700 | [diff] [blame] | 663 | <!-- findbugs suppression annotation --> |
| 664 | <groupId>com.google.code.findbugs</groupId> |
| 665 | <artifactId>findbugs</artifactId> |
| 666 | <version>${findbugs.version}</version> |
Yuta HIGUCHI | 6ee1918 | 2014-04-11 09:48:35 -0700 | [diff] [blame] | 667 | </dependency> |
Ray Milkey | 26921af | 2014-06-30 16:27:40 -0700 | [diff] [blame] | 668 | <dependency> |
| 669 | <groupId>com.codahale.metrics</groupId> |
| 670 | <artifactId>metrics-core</artifactId> |
| 671 | <version>${metrics.version}</version> |
| 672 | </dependency> |
| 673 | <dependency> |
| 674 | <groupId>com.codahale.metrics</groupId> |
| 675 | <artifactId>metrics-json</artifactId> |
| 676 | <version>${metrics.version}</version> |
| 677 | </dependency> |
Yuta HIGUCHI | aa2131f | 2014-07-28 23:45:47 -0700 | [diff] [blame^] | 678 | <dependency> |
| 679 | <groupId>com.fasterxml.jackson.core</groupId> |
| 680 | <artifactId>jackson-databind</artifactId> |
| 681 | <version>2.2.2</version> |
| 682 | </dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 683 | <!-- Floodlight's dependencies --> |
| 684 | <dependency> |
| 685 | <groupId>args4j</groupId> |
| 686 | <artifactId>args4j</artifactId> |
| 687 | <version>2.0.25</version> |
| 688 | </dependency> |
| 689 | <dependency> |
| 690 | <groupId>com.googlecode.concurrentlinkedhashmap</groupId> |
| 691 | <artifactId>concurrentlinkedhashmap-lru</artifactId> |
| 692 | <version>1.4</version> |
| 693 | </dependency> |
| 694 | <dependency> |
| 695 | <!-- dependency to old version of netty? --> |
Yuta HIGUCHI | aa2131f | 2014-07-28 23:45:47 -0700 | [diff] [blame^] | 696 | <groupId>io.netty</groupId> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 697 | <artifactId>netty</artifactId> |
Yuta HIGUCHI | aa2131f | 2014-07-28 23:45:47 -0700 | [diff] [blame^] | 698 | <version>3.7.0.Final</version> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 699 | </dependency> |
| 700 | <!-- Dependency for libraries used for testing --> |
| 701 | <dependency> |
| 702 | <groupId>junit</groupId> |
| 703 | <artifactId>junit</artifactId> |
| 704 | <version>4.11</version> |
| 705 | <scope>test</scope> |
| 706 | </dependency> |
| 707 | <dependency> |
| 708 | <groupId>org.hamcrest</groupId> |
| 709 | <artifactId>hamcrest-core</artifactId> |
| 710 | <version>1.3</version> |
| 711 | <scope>test</scope> |
| 712 | </dependency> |
| 713 | <dependency> |
| 714 | <groupId>org.hamcrest</groupId> |
| 715 | <artifactId>hamcrest-library</artifactId> |
| 716 | <version>1.3</version> |
| 717 | <scope>test</scope> |
| 718 | </dependency> |
| 719 | <dependency> |
| 720 | <groupId>org.easymock</groupId> |
| 721 | <artifactId>easymock</artifactId> |
Yuta HIGUCHI | 0846996 | 2014-07-22 17:52:22 -0700 | [diff] [blame] | 722 | <version>3.2</version> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 723 | <scope>test</scope> |
| 724 | </dependency> |
| 725 | <dependency> |
| 726 | <groupId>org.powermock</groupId> |
| 727 | <artifactId>powermock-module-junit4</artifactId> |
| 728 | <version>${powermock.version}</version> |
| 729 | <scope>test</scope> |
| 730 | </dependency> |
| 731 | <dependency> |
| 732 | <groupId>org.powermock</groupId> |
| 733 | <artifactId>powermock-api-easymock</artifactId> |
| 734 | <version>${powermock.version}</version> |
| 735 | <scope>test</scope> |
| 736 | </dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 737 | </dependencies> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 738 | <profiles> |
| 739 | <!-- Jenkins by default defines a property BUILD_NUMBER which is used to |
| 740 | enable the profile. --> |
| 741 | <profile> |
| 742 | <id>jenkins</id> |
| 743 | <activation> |
| 744 | <property> |
| 745 | <name>env.BUILD_NUMBER</name> |
| 746 | </property> |
| 747 | </activation> |
| 748 | <build> |
| 749 | <plugins> |
| 750 | <plugin> |
| 751 | <groupId>org.codehaus.mojo</groupId> |
| 752 | <artifactId>cobertura-maven-plugin</artifactId> |
| 753 | <version>${cobertura-maven-plugin.version}</version> |
| 754 | <configuration> |
| 755 | <formats> |
| 756 | <format>xml</format> |
| 757 | </formats> |
Yuta HIGUCHI | 2d624d3 | 2014-06-03 00:09:10 -0700 | [diff] [blame] | 758 | <quiet>true</quiet> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 759 | </configuration> |
| 760 | <executions> |
| 761 | <execution> |
| 762 | <phase>package</phase> |
| 763 | <goals> |
| 764 | <goal>cobertura</goal> |
| 765 | </goals> |
| 766 | </execution> |
| 767 | </executions> |
| 768 | </plugin> |
| 769 | </plugins> |
| 770 | </build> |
| 771 | </profile> |
Yuta HIGUCHI | cd2eb11 | 2014-07-21 23:20:23 -0700 | [diff] [blame] | 772 | <profile> |
| 773 | <id>all-tests</id> |
| 774 | <build> |
| 775 | <plugins> |
| 776 | <plugin> |
| 777 | <groupId>org.apache.maven.plugins</groupId> |
| 778 | <artifactId>maven-surefire-plugin</artifactId> |
| 779 | <version>${maven.surefire.plugin.version}</version> |
| 780 | <configuration combine.self="merge"> |
| 781 | <excludedGroups></excludedGroups> |
| 782 | </configuration> |
| 783 | </plugin> |
| 784 | </plugins> |
| 785 | </build> |
| 786 | </profile> |
Yuta HIGUCHI | ee0c5b6 | 2014-07-22 23:22:47 -0700 | [diff] [blame] | 787 | <profile> |
| 788 | <id>error-prone</id> |
| 789 | <build> |
| 790 | <plugins> |
| 791 | <plugin> |
| 792 | <groupId>org.apache.maven.plugins</groupId> |
| 793 | <artifactId>maven-compiler-plugin</artifactId> |
| 794 | <version>3.1</version> |
| 795 | <configuration> |
| 796 | <compilerArgs combine.children="append"> |
| 797 | <!-- FIXME -Xlint:-path required when using findbugs + error-prone --> |
| 798 | <arg>-Xlint:-path</arg> |
| 799 | </compilerArgs> |
| 800 | <!-- Turn on error-prone --> |
| 801 | <compilerId>javac-with-errorprone</compilerId> |
| 802 | <forceJavacCompilerUse>true</forceJavacCompilerUse> |
| 803 | </configuration> |
| 804 | <dependencies combine.children="append"> |
| 805 | <dependency> |
| 806 | <groupId>com.google.errorprone</groupId> |
| 807 | <artifactId>error_prone_core</artifactId> |
| 808 | <version>1.1.2</version> |
| 809 | </dependency> |
| 810 | <dependency> |
| 811 | <groupId>org.codehaus.plexus</groupId> |
| 812 | <artifactId>plexus-compiler-javac</artifactId> |
| 813 | <version>2.3</version> |
| 814 | </dependency> |
| 815 | <dependency> |
| 816 | <groupId>org.codehaus.plexus</groupId> |
| 817 | <artifactId>plexus-compiler-javac-errorprone</artifactId> |
| 818 | <version>2.3</version> |
| 819 | </dependency> |
| 820 | </dependencies> |
| 821 | </plugin> |
| 822 | </plugins> |
| 823 | </build> |
| 824 | </profile> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 825 | </profiles> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 826 | </project> |