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