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 | 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> |
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> |
| 157 | <excludePackageNames>net.floodlightcontroller.*: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> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 544 | </dependency> |
| 545 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 546 | <groupId>org.restlet.jse</groupId> |
Ray Milkey | 3aeda4f | 2014-05-21 14:38:58 -0700 | [diff] [blame] | 547 | <artifactId>org.restlet.ext.json</artifactId> |
| 548 | <version>${restlet.version}</version> |
| 549 | </dependency> |
| 550 | <dependency> |
| 551 | <groupId>org.restlet.jse</groupId> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 552 | <artifactId>org.restlet.ext.jackson</artifactId> |
| 553 | <version>${restlet.version}</version> |
| 554 | </dependency> |
| 555 | <dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 556 | <groupId>org.codehaus.jackson</groupId> |
| 557 | <artifactId>jackson-core-asl</artifactId> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 558 | <version>1.9.13</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 559 | </dependency> |
| 560 | <dependency> |
| 561 | <groupId>org.codehaus.jackson</groupId> |
| 562 | <artifactId>jackson-mapper-asl</artifactId> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 563 | <version>1.9.13</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 564 | </dependency> |
| 565 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 566 | <groupId>org.restlet.jse</groupId> |
| 567 | <artifactId>org.restlet.ext.simple</artifactId> |
| 568 | <version>${restlet.version}</version> |
| 569 | </dependency> |
| 570 | <dependency> |
| 571 | <groupId>org.simpleframework</groupId> |
| 572 | <artifactId>simple</artifactId> |
| 573 | <version>4.1.21</version> |
| 574 | </dependency> |
| 575 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 576 | <groupId>ch.qos.logback</groupId> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 577 | <artifactId>logback-classic</artifactId> |
Pankaj Berde | 9847842 | 2013-09-10 13:53:26 -0700 | [diff] [blame] | 578 | <version>1.0.13</version> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 579 | <scope>runtime</scope> |
| 580 | </dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 581 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 582 | <groupId>org.slf4j</groupId> |
| 583 | <artifactId>slf4j-api</artifactId> |
| 584 | <version>1.7.5</version> |
| 585 | </dependency> |
| 586 | <dependency> |
| 587 | <groupId>com.google.guava</groupId> |
| 588 | <artifactId>guava</artifactId> |
| 589 | <version>16.0.1</version> |
| 590 | </dependency> |
| 591 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 592 | <groupId>commons-configuration</groupId> |
| 593 | <artifactId>commons-configuration</artifactId> |
| 594 | <version>1.6</version> |
| 595 | </dependency> |
| 596 | <dependency> |
Yuta HIGUCHI | 850b004 | 2014-04-16 15:10:31 -0700 | [diff] [blame] | 597 | <groupId>commons-lang</groupId> |
| 598 | <artifactId>commons-lang</artifactId> |
| 599 | <version>2.6</version> |
| 600 | </dependency> |
| 601 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 602 | <groupId>commons-httpclient</groupId> |
| 603 | <artifactId>commons-httpclient</artifactId> |
| 604 | <version>3.1</version> |
| 605 | </dependency> |
| 606 | <dependency> |
Yuta HIGUCHI | d395b93 | 2014-05-01 15:15:20 -0700 | [diff] [blame] | 607 | <groupId>commons-collections</groupId> |
| 608 | <artifactId>commons-collections</artifactId> |
| 609 | <version>3.2.1</version> |
| 610 | </dependency> |
| 611 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 612 | <groupId>org.apache.zookeeper</groupId> |
| 613 | <artifactId>zookeeper</artifactId> |
Yuta HIGUCHI | fb1905a | 2014-06-09 14:07:34 -0700 | [diff] [blame] | 614 | <version>3.4.6</version> |
Yuta HIGUCHI | 6d935e5 | 2014-03-28 10:34:26 -0700 | [diff] [blame] | 615 | <scope>runtime</scope> |
Yuta HIGUCHI | ffdb913 | 2014-06-23 09:30:38 -0700 | [diff] [blame] | 616 | <!-- Excluding log4j. ONOS uses logback-classic for SLF4J. --> |
| 617 | <exclusions> |
| 618 | <exclusion> |
| 619 | <artifactId>slf4j-log4j12</artifactId> |
| 620 | <groupId>org.slf4j</groupId> |
| 621 | </exclusion> |
| 622 | <exclusion> |
| 623 | <artifactId>log4j</artifactId> |
| 624 | <groupId>log4j</groupId> |
| 625 | </exclusion> |
| 626 | </exclusions> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 627 | </dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 628 | <dependency> |
Jonathan Hart | f6978ce | 2014-06-23 11:20:04 -0700 | [diff] [blame] | 629 | <groupId>com.googlecode.concurrent-trees</groupId> |
| 630 | <artifactId>concurrent-trees</artifactId> |
| 631 | <version>2.4.0</version> |
| 632 | </dependency> |
| 633 | <dependency> |
Jonathan Hart | 116b1fe | 2014-03-14 18:53:47 -0700 | [diff] [blame] | 634 | <groupId>org.apache.curator</groupId> |
| 635 | <artifactId>curator-framework</artifactId> |
| 636 | <version>2.4.1</version> |
| 637 | </dependency> |
| 638 | <dependency> |
| 639 | <groupId>org.apache.curator</groupId> |
| 640 | <artifactId>curator-client</artifactId> |
| 641 | <version>2.4.1</version> |
| 642 | </dependency> |
| 643 | <dependency> |
| 644 | <groupId>org.apache.curator</groupId> |
| 645 | <artifactId>curator-recipes</artifactId> |
| 646 | <version>2.4.1</version> |
| 647 | </dependency> |
| 648 | <dependency> |
| 649 | <groupId>org.apache.curator</groupId> |
| 650 | <artifactId>curator-x-discovery</artifactId> |
| 651 | <version>2.4.1</version> |
| 652 | </dependency> |
Yuta HIGUCHI | 6ee1918 | 2014-04-11 09:48:35 -0700 | [diff] [blame] | 653 | <dependency> |
Yuta HIGUCHI | 042e82a | 2014-04-25 22:37:03 -0700 | [diff] [blame] | 654 | <!-- findbugs suppression annotation --> |
| 655 | <groupId>com.google.code.findbugs</groupId> |
| 656 | <artifactId>findbugs</artifactId> |
| 657 | <version>${findbugs.version}</version> |
Yuta HIGUCHI | 6ee1918 | 2014-04-11 09:48:35 -0700 | [diff] [blame] | 658 | </dependency> |
Ray Milkey | 26921af | 2014-06-30 16:27:40 -0700 | [diff] [blame] | 659 | <dependency> |
| 660 | <groupId>com.codahale.metrics</groupId> |
| 661 | <artifactId>metrics-core</artifactId> |
| 662 | <version>${metrics.version}</version> |
| 663 | </dependency> |
| 664 | <dependency> |
| 665 | <groupId>com.codahale.metrics</groupId> |
| 666 | <artifactId>metrics-json</artifactId> |
| 667 | <version>${metrics.version}</version> |
| 668 | </dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 669 | <!-- Floodlight's dependencies --> |
| 670 | <dependency> |
| 671 | <groupId>args4j</groupId> |
| 672 | <artifactId>args4j</artifactId> |
| 673 | <version>2.0.25</version> |
| 674 | </dependency> |
| 675 | <dependency> |
| 676 | <groupId>com.googlecode.concurrentlinkedhashmap</groupId> |
| 677 | <artifactId>concurrentlinkedhashmap-lru</artifactId> |
| 678 | <version>1.4</version> |
| 679 | </dependency> |
| 680 | <dependency> |
| 681 | <!-- dependency to old version of netty? --> |
| 682 | <groupId>org.jboss.netty</groupId> |
| 683 | <artifactId>netty</artifactId> |
| 684 | <version>3.2.7.Final</version> |
| 685 | </dependency> |
| 686 | <!-- Dependency for libraries used for testing --> |
| 687 | <dependency> |
| 688 | <groupId>junit</groupId> |
| 689 | <artifactId>junit</artifactId> |
| 690 | <version>4.11</version> |
| 691 | <scope>test</scope> |
| 692 | </dependency> |
| 693 | <dependency> |
| 694 | <groupId>org.hamcrest</groupId> |
| 695 | <artifactId>hamcrest-core</artifactId> |
| 696 | <version>1.3</version> |
| 697 | <scope>test</scope> |
| 698 | </dependency> |
| 699 | <dependency> |
| 700 | <groupId>org.hamcrest</groupId> |
| 701 | <artifactId>hamcrest-library</artifactId> |
| 702 | <version>1.3</version> |
| 703 | <scope>test</scope> |
| 704 | </dependency> |
| 705 | <dependency> |
| 706 | <groupId>org.easymock</groupId> |
| 707 | <artifactId>easymock</artifactId> |
Yuta HIGUCHI | 0846996 | 2014-07-22 17:52:22 -0700 | [diff] [blame] | 708 | <version>3.2</version> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 709 | <scope>test</scope> |
| 710 | </dependency> |
| 711 | <dependency> |
| 712 | <groupId>org.powermock</groupId> |
| 713 | <artifactId>powermock-module-junit4</artifactId> |
| 714 | <version>${powermock.version}</version> |
| 715 | <scope>test</scope> |
| 716 | </dependency> |
| 717 | <dependency> |
| 718 | <groupId>org.powermock</groupId> |
| 719 | <artifactId>powermock-api-easymock</artifactId> |
| 720 | <version>${powermock.version}</version> |
| 721 | <scope>test</scope> |
| 722 | </dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 723 | </dependencies> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 724 | <profiles> |
| 725 | <!-- Jenkins by default defines a property BUILD_NUMBER which is used to |
| 726 | enable the profile. --> |
| 727 | <profile> |
| 728 | <id>jenkins</id> |
| 729 | <activation> |
| 730 | <property> |
| 731 | <name>env.BUILD_NUMBER</name> |
| 732 | </property> |
| 733 | </activation> |
| 734 | <build> |
| 735 | <plugins> |
| 736 | <plugin> |
| 737 | <groupId>org.codehaus.mojo</groupId> |
| 738 | <artifactId>cobertura-maven-plugin</artifactId> |
| 739 | <version>${cobertura-maven-plugin.version}</version> |
| 740 | <configuration> |
| 741 | <formats> |
| 742 | <format>xml</format> |
| 743 | </formats> |
Yuta HIGUCHI | 2d624d3 | 2014-06-03 00:09:10 -0700 | [diff] [blame] | 744 | <quiet>true</quiet> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 745 | </configuration> |
| 746 | <executions> |
| 747 | <execution> |
| 748 | <phase>package</phase> |
| 749 | <goals> |
| 750 | <goal>cobertura</goal> |
| 751 | </goals> |
| 752 | </execution> |
| 753 | </executions> |
| 754 | </plugin> |
| 755 | </plugins> |
| 756 | </build> |
| 757 | </profile> |
Yuta HIGUCHI | cd2eb11 | 2014-07-21 23:20:23 -0700 | [diff] [blame] | 758 | <profile> |
| 759 | <id>all-tests</id> |
| 760 | <build> |
| 761 | <plugins> |
| 762 | <plugin> |
| 763 | <groupId>org.apache.maven.plugins</groupId> |
| 764 | <artifactId>maven-surefire-plugin</artifactId> |
| 765 | <version>${maven.surefire.plugin.version}</version> |
| 766 | <configuration combine.self="merge"> |
| 767 | <excludedGroups></excludedGroups> |
| 768 | </configuration> |
| 769 | </plugin> |
| 770 | </plugins> |
| 771 | </build> |
| 772 | </profile> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 773 | </profiles> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 774 | </project> |