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