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