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