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> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 9 | <version>0.1.0</version> |
| 10 | <packaging>jar</packaging> |
Yuta HIGUCHI | b561efa | 2013-12-20 01:35:04 -0800 | [diff] [blame] | 11 | <name>ONOS-RAMCloud</name> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 12 | <url>http://onlab.us/</url> |
| 13 | <repositories> |
Yuta HIGUCHI | d62fb87 | 2014-01-02 10:40:32 -0800 | [diff] [blame] | 14 | <!-- In Project repository --> |
| 15 | <repository> |
| 16 | <id>in-project</id> |
| 17 | <name>In Project Repo</name> |
| 18 | <url>file://${project.basedir}/repo</url> |
| 19 | </repository> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 20 | <repository> |
| 21 | <id>central</id> |
| 22 | <name>Maven Central repository</name> |
| 23 | <url>http://repo1.maven.org/maven2</url> |
| 24 | </repository> |
| 25 | <repository> |
| 26 | <id>maven-restlet</id> |
| 27 | <name>Public online Restlet repository</name> |
| 28 | <url>http://maven.restlet.org</url> |
| 29 | </repository> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 30 | </repositories> |
| 31 | <properties> |
| 32 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
yoshi | 2fd4c7e | 2013-11-22 15:47:55 -0800 | [diff] [blame] | 33 | <powermock.version>1.5.1</powermock.version> |
Pankaj Berde | 37d6d4d | 2013-12-03 10:12:56 -0800 | [diff] [blame] | 34 | <restlet.version>2.1.4</restlet.version> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 35 | <cobertura-maven-plugin.version>2.6</cobertura-maven-plugin.version> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 36 | <findbugs-plugin.version>2.5.3</findbugs-plugin.version> |
| 37 | <findbugs.effort>Max</findbugs.effort> |
| 38 | <findbugs.excludeFilterFile>conf/findbugs/exclude.xml</findbugs.excludeFilterFile> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 39 | <checkstyle-plugin.version>2.12</checkstyle-plugin.version> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 40 | <!-- To publish javadoc to github, |
| 41 | uncomment com.github.github site-maven-plugin and |
| 42 | see https://github.com/OPENNETWORKINGLAB/ONOS/pull/425 |
| 43 | <github.global.server>github</github.global.server> |
| 44 | --> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 45 | </properties> |
| 46 | <build> |
| 47 | <plugins> |
| 48 | <plugin> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 49 | <!-- Note: the checkstyle configuration is also in the reporting section --> |
| 50 | <groupId>org.apache.maven.plugins</groupId> |
| 51 | <artifactId>maven-checkstyle-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 52 | <version>${checkstyle-plugin.version}</version> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 53 | <configuration> |
| 54 | <configLocation>conf/checkstyle/sun_checks.xml</configLocation> |
| 55 | </configuration> |
| 56 | </plugin> |
| 57 | <plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 58 | <groupId>org.apache.maven.plugins</groupId> |
| 59 | <artifactId>maven-install-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 60 | <version>2.5.1</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 61 | <executions> |
| 62 | </executions> |
| 63 | </plugin> |
| 64 | <!-- guice maven plugin for dependency injection inside maven --> |
| 65 | <plugin> |
| 66 | <groupId>org.apache.camel</groupId> |
| 67 | <artifactId>guice-maven-plugin</artifactId> |
| 68 | <version>2.11.0</version> |
| 69 | </plugin> |
| 70 | <!-- compile --> |
| 71 | <plugin> |
| 72 | <groupId>org.apache.maven.plugins</groupId> |
| 73 | <artifactId>maven-compiler-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 74 | <version>3.1</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 75 | <configuration> |
Yuta HIGUCHI | 641d999 | 2013-12-18 16:40:45 -0800 | [diff] [blame] | 76 | <source>1.7</source> |
| 77 | <target>1.7</target> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 78 | <encoding>UTF-8</encoding> |
| 79 | </configuration> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 80 | <executions> |
| 81 | </executions> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 82 | </plugin> |
| 83 | <!-- test --> |
| 84 | <plugin> |
| 85 | <groupId>org.apache.maven.plugins</groupId> |
| 86 | <artifactId>maven-surefire-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 87 | <version>2.16</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 88 | <configuration> |
| 89 | <excludes> |
| 90 | <!-- exclude all test cases for now --> |
| 91 | <!-- <exclude>**/storage/tests/StorageTest.java</exclude> --> |
| 92 | <!-- <exclude>**/test/*</exclude> --> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 93 | <!-- |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 94 | <exclude>**/test/*</exclude> |
| 95 | <exclude>**/Test*.java</exclude> |
| 96 | <exclude>**/*Test.java</exclude> |
| 97 | <exclude>**/*TestCase.java</exclude> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 98 | --> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 99 | </excludes> |
HIGUCHI Yuta | 71c96dd | 2013-10-20 17:15:56 -0700 | [diff] [blame] | 100 | <argLine>-XX:MaxPermSize=256m</argLine> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 101 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 102 | </configuration> |
| 103 | </plugin> |
| 104 | <!-- exec:java --> |
| 105 | <plugin> |
| 106 | <groupId>org.codehaus.mojo</groupId> |
| 107 | <artifactId>exec-maven-plugin</artifactId> |
| 108 | <version>1.2.1</version> |
| 109 | <configuration> |
HIGUCHI Yuta | 49cf4d2 | 2013-06-17 12:15:17 -0700 | [diff] [blame] | 110 | <mainClass>net.onrc.onos.ofcontroller.core.Main</mainClass> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 111 | </configuration> |
| 112 | <executions> |
| 113 | </executions> |
| 114 | </plugin> |
Jonathan Hart | 72f72f6 | 2013-06-12 09:54:19 +1200 | [diff] [blame] | 115 | <!--<plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 116 | <groupId>org.codehaus.mojo</groupId> |
| 117 | <artifactId>build-helper-maven-plugin</artifactId> |
| 118 | <version>1.7</version> |
| 119 | <executions> |
| 120 | <execution> |
| 121 | <id>add-source</id> |
| 122 | <phase>generate-sources</phase> |
| 123 | <goals> |
| 124 | <goal>add-source</goal> |
| 125 | </goals> |
| 126 | <configuration> |
| 127 | <sources> |
| 128 | <source>lib/gen-java</source> |
| 129 | </sources> |
| 130 | </configuration> |
| 131 | </execution> |
| 132 | </executions> |
Jonathan Hart | 72f72f6 | 2013-06-12 09:54:19 +1200 | [diff] [blame] | 133 | </plugin>--> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 134 | <plugin> |
| 135 | <groupId>org.apache.maven.plugins</groupId> |
| 136 | <artifactId>maven-javadoc-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 137 | <version>2.9.1</version> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 138 | <configuration> |
| 139 | <charset>UTF-8</charset> |
| 140 | <locale>en</locale> |
| 141 | </configuration> |
| 142 | </plugin> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 143 | <!-- Remove me when we're sure that system test no longer need JaCoCo |
timlindberg | 8b13e70 | 2013-07-17 14:45:50 -0700 | [diff] [blame] | 144 | <plugin> |
| 145 | <groupId>org.jacoco</groupId> |
| 146 | <artifactId>jacoco-maven-plugin</artifactId> |
| 147 | <version>0.6.3.201306030806</version> |
timlindberg | 8b13e70 | 2013-07-17 14:45:50 -0700 | [diff] [blame] | 148 | <executions> |
| 149 | <execution> |
| 150 | <id>jacoco-initialize</id> |
| 151 | <goals> |
| 152 | <goal>prepare-agent</goal> |
| 153 | </goals> |
| 154 | </execution> |
| 155 | <execution> |
| 156 | <id>jacoco-site</id> |
| 157 | <phase>package</phase> |
| 158 | <goals> |
| 159 | <goal>report</goal> |
| 160 | </goals> |
| 161 | </execution> |
| 162 | </executions> |
| 163 | </plugin> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 164 | --> |
Pavlin Radoslavov | a463e46 | 2013-12-13 15:18:50 -0800 | [diff] [blame] | 165 | <!-- |
HIGUCHI Yuta | 842b6f7 | 2013-10-08 14:19:48 -0700 | [diff] [blame] | 166 | <plugin> |
| 167 | <groupId>com.github.github</groupId> |
| 168 | <artifactId>site-maven-plugin</artifactId> |
| 169 | <version>0.8</version> |
| 170 | <configuration> |
| 171 | <message>Creating site for ${project.version}</message> |
| 172 | <dryRun>true</dryRun> |
| 173 | <repositoryName>ONOS</repositoryName> |
| 174 | <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 175 | <path>javadoc/${project.version}/</path> |
HIGUCHI Yuta | 842b6f7 | 2013-10-08 14:19:48 -0700 | [diff] [blame] | 176 | </configuration> |
| 177 | <executions> |
| 178 | <execution> |
| 179 | <goals> |
| 180 | <goal>site</goal> |
| 181 | </goals> |
| 182 | <phase>site</phase> |
| 183 | </execution> |
| 184 | </executions> |
| 185 | </plugin> |
Pavlin Radoslavov | a463e46 | 2013-12-13 15:18:50 -0800 | [diff] [blame] | 186 | --> |
Jonathan Hart | 2c61a50 | 2013-10-18 18:12:26 -0700 | [diff] [blame] | 187 | <plugin> |
| 188 | <artifactId>maven-assembly-plugin</artifactId> |
| 189 | <configuration> |
| 190 | <descriptorRefs> |
| 191 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 192 | </descriptorRefs> |
| 193 | </configuration> |
| 194 | </plugin> |
Yuta HIGUCHI | b561efa | 2013-12-20 01:35:04 -0800 | [diff] [blame] | 195 | <plugin> |
| 196 | <groupId>org.apache.maven.plugins</groupId> |
| 197 | <artifactId>maven-dependency-plugin</artifactId> |
| 198 | <version>2.8</version> |
| 199 | <executions> |
| 200 | <execution> |
| 201 | <id>build-classpath</id> |
| 202 | <phase>generate-sources</phase> |
| 203 | <goals> |
| 204 | <goal>build-classpath</goal> |
| 205 | </goals> |
| 206 | <configuration> |
Yuta HIGUCHI | b561efa | 2013-12-20 01:35:04 -0800 | [diff] [blame] | 207 | <outputFile>${project.basedir}/.javacp</outputFile> |
| 208 | </configuration> |
| 209 | </execution> |
| 210 | </executions> |
| 211 | </plugin> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 212 | <plugin> |
| 213 | <groupId>org.codehaus.mojo</groupId> |
| 214 | <artifactId>cobertura-maven-plugin</artifactId> |
| 215 | <version>${cobertura-maven-plugin.version}</version> |
| 216 | <configuration> |
| 217 | <instrumentation> |
| 218 | <ignores> |
| 219 | <ignore>org.slf4j.*</ignore> |
| 220 | <ignore>com.tinkerpop.*</ignore> |
| 221 | </ignores> |
| 222 | <excludes> |
| 223 | <exclude>org/openflow/**/*.class</exclude> |
| 224 | <exclude>net/floodlightcontroller/**/web/**/*.class</exclude> |
| 225 | </excludes> |
| 226 | </instrumentation> |
| 227 | </configuration> |
| 228 | <executions> |
| 229 | <execution> |
| 230 | <goals> |
| 231 | <goal>clean</goal> |
| 232 | </goals> |
| 233 | </execution> |
| 234 | </executions> |
| 235 | </plugin> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 236 | <!-- Note: the findbugs configuration is also in the reporting section --> |
| 237 | <plugin> |
| 238 | <groupId>org.codehaus.mojo</groupId> |
| 239 | <artifactId>findbugs-maven-plugin</artifactId> |
| 240 | <version>${findbugs-plugin.version}</version> |
| 241 | <configuration> |
| 242 | <effort>${findbugs.effort}</effort> |
| 243 | <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile> |
| 244 | </configuration> |
| 245 | </plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 246 | </plugins> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 247 | <pluginManagement> |
| 248 | <plugins> |
| 249 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 250 | only. It has no influence on the Maven build itself. --> |
| 251 | <plugin> |
| 252 | <groupId>org.eclipse.m2e</groupId> |
| 253 | <artifactId>lifecycle-mapping</artifactId> |
| 254 | <version>1.0.0</version> |
| 255 | <configuration> |
| 256 | <lifecycleMappingMetadata> |
| 257 | <pluginExecutions> |
| 258 | <pluginExecution> |
| 259 | <pluginExecutionFilter> |
| 260 | <groupId> |
| 261 | org.apache.maven.plugins |
| 262 | </groupId> |
| 263 | <artifactId> |
| 264 | maven-dependency-plugin |
| 265 | </artifactId> |
| 266 | <versionRange>[2.8,)</versionRange> |
| 267 | <goals> |
| 268 | <goal>build-classpath</goal> |
| 269 | </goals> |
| 270 | </pluginExecutionFilter> |
| 271 | <action> |
| 272 | <ignore></ignore> |
| 273 | </action> |
| 274 | </pluginExecution> |
| 275 | </pluginExecutions> |
| 276 | </lifecycleMappingMetadata> |
| 277 | </configuration> |
| 278 | </plugin> |
| 279 | </plugins> |
| 280 | </pluginManagement> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 281 | </build> |
| 282 | <!-- for getting visualization reporting --> |
| 283 | <reporting> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 284 | <excludeDefaults>true</excludeDefaults> |
| 285 | <outputDirectory>${project.build.directory}/site</outputDirectory> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 286 | <plugins> |
HIGUCHI Yuta | 842b6f7 | 2013-10-08 14:19:48 -0700 | [diff] [blame] | 287 | <!-- |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 288 | <plugin> |
| 289 | <groupId>org.apache.camel</groupId> |
| 290 | <artifactId>guice-maven-plugin</artifactId> |
| 291 | <version>2.11.0</version> |
| 292 | </plugin> |
HIGUCHI Yuta | 842b6f7 | 2013-10-08 14:19:48 -0700 | [diff] [blame] | 293 | --> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 294 | <plugin> |
| 295 | <groupId>org.apache.maven.plugins</groupId> |
| 296 | <artifactId>maven-project-info-reports-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 297 | <version>2.7</version> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 298 | <configuration> |
| 299 | <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| 300 | <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| 301 | </configuration> |
| 302 | <reportSets> |
| 303 | <reportSet> |
| 304 | <reports> |
| 305 | <report>dependencies</report> |
HIGUCHI Yuta | 842b6f7 | 2013-10-08 14:19:48 -0700 | [diff] [blame] | 306 | <!--report>maven-emma-plugin</report--> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 307 | <report>scm</report> |
| 308 | </reports> |
| 309 | </reportSet> |
| 310 | </reportSets> |
| 311 | </plugin> |
| 312 | <plugin> |
| 313 | <groupId>org.apache.maven.plugins</groupId> |
| 314 | <artifactId>maven-javadoc-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 315 | <version>2.9.1</version> |
Naoki Shiota | 1c393ce | 2013-06-28 22:55:14 -0700 | [diff] [blame] | 316 | <configuration> |
| 317 | <charset>UTF-8</charset> |
| 318 | <locale>en</locale> |
| 319 | </configuration> |
| 320 | </plugin> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 321 | <plugin> |
| 322 | <!-- Note: the checkstyle configuration is also in the build section --> |
| 323 | <groupId>org.apache.maven.plugins</groupId> |
| 324 | <artifactId>maven-checkstyle-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 325 | <version>${checkstyle-plugin.version}</version> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 326 | <configuration> |
| 327 | <configLocation>conf/checkstyle/sun_checks.xml</configLocation> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 328 | <!-- |
| 329 | Note: Exclusion definition exists in multiple places. |
| 330 | - In file ${findbugs.excludeFilterFile} defined at top of pom.xml |
| 331 | - maven-checkstyle-plugin configuration in pom.xml |
| 332 | - maven-pmd-plugin configuration in pom.xml |
| 333 | --> |
| 334 | <excludes>**/RCProtos.java,**/RamCloudGraphProtos.java</excludes> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 335 | </configuration> |
| 336 | <reportSets> |
| 337 | <reportSet> |
| 338 | <reports> |
| 339 | <report>checkstyle</report> |
| 340 | </reports> |
| 341 | </reportSet> |
| 342 | </reportSets> |
| 343 | </plugin> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 344 | <!-- Note: the findbugs configuration is also in the build section --> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 345 | <plugin> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 346 | <groupId>org.codehaus.mojo</groupId> |
| 347 | <artifactId>findbugs-maven-plugin</artifactId> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 348 | <version>${findbugs-plugin.version}</version> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 349 | <configuration> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 350 | <effort>${findbugs.effort}</effort> |
| 351 | <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 352 | <reportPlugins> |
| 353 | <plugin> |
| 354 | <groupId>org.codehaus.mojo</groupId> |
| 355 | <artifactId>findbugs-maven-plugin</artifactId> |
| 356 | </plugin> |
| 357 | </reportPlugins> |
| 358 | </configuration> |
| 359 | </plugin> |
| 360 | <plugin> |
| 361 | <groupId>org.apache.maven.plugins</groupId> |
| 362 | <artifactId>maven-pmd-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 363 | <version>3.1</version> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 364 | <configuration> |
| 365 | <!-- |
| 366 | Note: Exclusion definition exists in multiple places. |
| 367 | - In file ${findbugs.excludeFilterFile} defined at top of pom.xml |
| 368 | - maven-checkstyle-plugin configuration in pom.xml |
| 369 | - maven-pmd-plugin configuration in pom.xml |
| 370 | --> |
| 371 | <excludes> |
| 372 | <exclude>**/RCProtos.java</exclude> |
| 373 | <exclude>**/RamCloudGraphProtos.java</exclude> |
| 374 | </excludes> |
| 375 | </configuration> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 376 | </plugin> |
| 377 | <plugin> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 378 | <groupId>org.apache.maven.plugins</groupId> |
| 379 | <artifactId>maven-jxr-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame^] | 380 | <version>2.4</version> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 381 | </plugin> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 382 | <plugin> |
| 383 | <groupId>org.codehaus.mojo</groupId> |
| 384 | <artifactId>cobertura-maven-plugin</artifactId> |
| 385 | <version>${cobertura-maven-plugin.version}</version> |
| 386 | </plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 387 | </plugins> |
| 388 | </reporting> |
| 389 | <dependencies> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 390 | <!-- ONOS's direct dependencies --> |
Yuta HIGUCHI | 5548a49 | 2013-10-24 00:39:23 -0700 | [diff] [blame] | 391 | <dependency> |
| 392 | <groupId>com.esotericsoftware.kryo</groupId> |
| 393 | <artifactId>kryo</artifactId> |
| 394 | <version>2.22</version> |
| 395 | </dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 396 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 397 | <!-- remove me after BluePrint clean up --> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 398 | <groupId>com.thinkaurelius.titan</groupId> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 399 | <artifactId>titan-core</artifactId> |
Jonathan Hart | f371e98 | 2014-01-15 10:02:50 -0800 | [diff] [blame] | 400 | <version>0.4.2</version> |
Jonathan Hart | 2818249 | 2013-06-13 15:22:03 +1200 | [diff] [blame] | 401 | <exclusions> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 402 | <exclusion> |
Jonathan Hart | 2818249 | 2013-06-13 15:22:03 +1200 | [diff] [blame] | 403 | <groupId>org.slf4j</groupId> |
| 404 | <artifactId>slf4j-log4j12</artifactId> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 405 | </exclusion> |
Jonathan Hart | 2818249 | 2013-06-13 15:22:03 +1200 | [diff] [blame] | 406 | </exclusions> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 407 | </dependency> |
| 408 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 409 | <!-- remove me after BluePrint clean up --> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 410 | <groupId>com.tinkerpop</groupId> |
| 411 | <artifactId>frames</artifactId> |
Jonathan Hart | f371e98 | 2014-01-15 10:02:50 -0800 | [diff] [blame] | 412 | <version>2.4.0</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 413 | </dependency> |
| 414 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 415 | <!-- remove me after BluePrint clean up --> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 416 | <groupId>com.tinkerpop.blueprints</groupId> |
| 417 | <artifactId>blueprints-core</artifactId> |
Yuta HIGUCHI | cc8b101 | 2014-01-24 09:14:39 -0800 | [diff] [blame] | 418 | <version>2.4.0</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 419 | </dependency> |
yoshi | 2fd4c7e | 2013-11-22 15:47:55 -0800 | [diff] [blame] | 420 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 421 | <!-- remove me after BluePrint clean up --> |
| 422 | <groupId>com.tinkerpop.rexster</groupId> |
| 423 | <artifactId>rexster-core</artifactId> |
| 424 | <version>2.4.0</version> |
yoshi | 28bac13 | 2014-01-22 11:00:17 -0800 | [diff] [blame] | 425 | </dependency> |
| 426 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 427 | <groupId>com.google.protobuf</groupId> |
| 428 | <artifactId>protobuf-java</artifactId> |
| 429 | <version>2.5.0</version> |
yoshi | 28bac13 | 2014-01-22 11:00:17 -0800 | [diff] [blame] | 430 | </dependency> |
| 431 | <dependency> |
yoshi | 2fd4c7e | 2013-11-22 15:47:55 -0800 | [diff] [blame] | 432 | <groupId>com.hazelcast</groupId> |
| 433 | <artifactId>hazelcast</artifactId> |
| 434 | <version>3.0.2</version> |
| 435 | </dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 436 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 437 | <groupId>net.sf.json-lib</groupId> |
| 438 | <artifactId>json-lib</artifactId> |
| 439 | <version>2.4</version> |
| 440 | <classifier>jdk15</classifier> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 441 | </dependency> |
| 442 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 443 | <groupId>org.restlet.jse</groupId> |
| 444 | <artifactId>org.restlet</artifactId> |
| 445 | <version>${restlet.version}</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 446 | </dependency> |
| 447 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 448 | <groupId>org.restlet.jse</groupId> |
| 449 | <artifactId>org.restlet.ext.slf4j</artifactId> |
| 450 | <version>${restlet.version}</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 451 | </dependency> |
| 452 | <dependency> |
| 453 | <groupId>org.codehaus.jackson</groupId> |
| 454 | <artifactId>jackson-core-asl</artifactId> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 455 | <version>1.9.13</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 456 | </dependency> |
| 457 | <dependency> |
| 458 | <groupId>org.codehaus.jackson</groupId> |
| 459 | <artifactId>jackson-mapper-asl</artifactId> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 460 | <version>1.9.13</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 461 | </dependency> |
| 462 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 463 | <groupId>ch.qos.logback</groupId> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 464 | <artifactId>logback-classic</artifactId> |
Pankaj Berde | 9847842 | 2013-09-10 13:53:26 -0700 | [diff] [blame] | 465 | <version>1.0.13</version> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 466 | <scope>runtime</scope> |
| 467 | </dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 468 | <dependency> |
| 469 | <groupId>commons-configuration</groupId> |
| 470 | <artifactId>commons-configuration</artifactId> |
| 471 | <version>1.6</version> |
| 472 | </dependency> |
| 473 | <dependency> |
| 474 | <groupId>com.google.guava</groupId> |
| 475 | <artifactId>guava</artifactId> |
| 476 | <version>14.0.1</version> |
| 477 | </dependency> |
| 478 | <dependency> |
| 479 | <!-- Used in net.onrc.onos.ofcontroller.bgproute.RestClient.get(String), but not sure if it is really required --> |
| 480 | <groupId>commons-httpclient</groupId> |
| 481 | <artifactId>commons-httpclient</artifactId> |
| 482 | <version>3.1</version> |
| 483 | </dependency> |
| 484 | <dependency> |
| 485 | <groupId>org.apache.zookeeper</groupId> |
| 486 | <artifactId>zookeeper</artifactId> |
| 487 | <version>3.4.5</version> |
| 488 | </dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 489 | <!-- Floodlight's dependencies --> |
| 490 | <dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 491 | <groupId>org.slf4j</groupId> |
| 492 | <artifactId>slf4j-api</artifactId> |
Pankaj Berde | 9847842 | 2013-09-10 13:53:26 -0700 | [diff] [blame] | 493 | <version>1.7.5</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 494 | </dependency> |
| 495 | <dependency> |
| 496 | <groupId>org.restlet.jse</groupId> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 497 | <artifactId>org.restlet.ext.jackson</artifactId> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 498 | <version>${restlet.version}</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 499 | </dependency> |
| 500 | <dependency> |
| 501 | <groupId>org.restlet.jse</groupId> |
| 502 | <artifactId>org.restlet.ext.simple</artifactId> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 503 | <version>${restlet.version}</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 504 | </dependency> |
| 505 | <dependency> |
| 506 | <groupId>org.simpleframework</groupId> |
| 507 | <artifactId>simple</artifactId> |
| 508 | <version>4.1.21</version> |
| 509 | </dependency> |
| 510 | <dependency> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 511 | <groupId>io.netty</groupId> |
| 512 | <artifactId>netty-all</artifactId> |
| 513 | <version>4.0.8.Final</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 514 | </dependency> |
| 515 | <dependency> |
| 516 | <groupId>args4j</groupId> |
| 517 | <artifactId>args4j</artifactId> |
Pankaj Berde | 9847842 | 2013-09-10 13:53:26 -0700 | [diff] [blame] | 518 | <version>2.0.25</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 519 | </dependency> |
| 520 | <dependency> |
| 521 | <groupId>com.googlecode.concurrentlinkedhashmap</groupId> |
| 522 | <artifactId>concurrentlinkedhashmap-lru</artifactId> |
Pankaj Berde | 9847842 | 2013-09-10 13:53:26 -0700 | [diff] [blame] | 523 | <version>1.4</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 524 | </dependency> |
Jonathan Hart | a37f9c3 | 2013-06-12 09:13:58 +1200 | [diff] [blame] | 525 | <!--<dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 526 | <groupId>org.python</groupId> |
| 527 | <artifactId>jython-standalone</artifactId> |
| 528 | <version>2.5.2</version> |
Jonathan Hart | a37f9c3 | 2013-06-12 09:13:58 +1200 | [diff] [blame] | 529 | </dependency>--> |
Jonathan Hart | 72f72f6 | 2013-06-12 09:54:19 +1200 | [diff] [blame] | 530 | <!--<dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 531 | <groupId>org.apache.thrift</groupId> |
| 532 | <artifactId>libthrift</artifactId> |
| 533 | <version>0.7.0</version> |
Jonathan Hart | 72f72f6 | 2013-06-12 09:54:19 +1200 | [diff] [blame] | 534 | </dependency>--> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 535 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 536 | <groupId>com.google.inject</groupId> |
| 537 | <artifactId>guice</artifactId> |
| 538 | <version>3.0</version> |
| 539 | </dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 540 | <dependency> |
| 541 | <!-- dependency to old version of netty? --> |
| 542 | <groupId>org.jboss.netty</groupId> |
| 543 | <artifactId>netty</artifactId> |
| 544 | <version>3.2.7.Final</version> |
| 545 | </dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 546 | <!-- Dependency for libraries used for testing --> |
| 547 | <dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 548 | <groupId>junit</groupId> |
| 549 | <artifactId>junit</artifactId> |
HIGUCHI Yuta | e4b0722 | 2013-06-08 02:17:30 -0700 | [diff] [blame] | 550 | <version>4.11</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 551 | <scope>test</scope> |
| 552 | </dependency> |
| 553 | <dependency> |
Ray Milkey | 6688cd8 | 2014-03-11 16:40:46 -0700 | [diff] [blame] | 554 | <groupId>org.hamcrest</groupId> |
| 555 | <artifactId>hamcrest-core</artifactId> |
| 556 | <version>1.3</version> |
| 557 | <scope>test</scope> |
| 558 | </dependency> |
| 559 | <dependency> |
| 560 | <groupId>org.hamcrest</groupId> |
| 561 | <artifactId>hamcrest-library</artifactId> |
| 562 | <version>1.3</version> |
| 563 | <scope>test</scope> |
| 564 | </dependency> |
| 565 | <dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 566 | <groupId>org.easymock</groupId> |
| 567 | <artifactId>easymock</artifactId> |
yoshi | f5a6a50 | 2013-11-25 09:30:35 -0800 | [diff] [blame] | 568 | <version>3.1</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 569 | <scope>test</scope> |
| 570 | </dependency> |
| 571 | <dependency> |
HIGUCHI Yuta | e4b0722 | 2013-06-08 02:17:30 -0700 | [diff] [blame] | 572 | <groupId>org.powermock</groupId> |
| 573 | <artifactId>powermock-module-junit4</artifactId> |
| 574 | <version>${powermock.version}</version> |
| 575 | <scope>test</scope> |
| 576 | </dependency> |
| 577 | <dependency> |
| 578 | <groupId>org.powermock</groupId> |
| 579 | <artifactId>powermock-api-easymock</artifactId> |
| 580 | <version>${powermock.version}</version> |
| 581 | <scope>test</scope> |
| 582 | </dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 583 | <dependency> |
| 584 | <groupId>commons-io</groupId> |
| 585 | <artifactId>commons-io</artifactId> |
| 586 | <version>2.1</version> |
| 587 | <scope>test</scope> |
| 588 | </dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 589 | <!-- |
| 590 | <dependency> |
| 591 | <groupId>org.objenesis</groupId> |
| 592 | <artifactId>objenesis</artifactId> |
| 593 | <version>1.2</version> |
| 594 | <scope>test</scope> |
| 595 | </dependency> |
HIGUCHI Yuta | e4b0722 | 2013-06-08 02:17:30 -0700 | [diff] [blame] | 596 | <dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 597 | <groupId>cglib</groupId> |
| 598 | <artifactId>cglib-nodep</artifactId> |
| 599 | <version>2.2.2</version> |
| 600 | </dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 601 | --> |
HIGUCHI Yuta | 1ec484a | 2013-06-06 15:34:01 -0700 | [diff] [blame] | 602 | <!-- dependency to locally modified version --> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 603 | <dependency> |
| 604 | <groupId>com.netflix.curator</groupId> |
| 605 | <artifactId>curator-framework</artifactId> |
| 606 | <version>1.3.5-SNAPSHOT</version> |
| 607 | </dependency> |
| 608 | <dependency> |
| 609 | <groupId>com.netflix.curator</groupId> |
| 610 | <artifactId>curator-client</artifactId> |
| 611 | <version>1.3.5-SNAPSHOT</version> |
| 612 | </dependency> |
| 613 | <dependency> |
| 614 | <groupId>com.netflix.curator</groupId> |
| 615 | <artifactId>curator-recipes</artifactId> |
| 616 | <version>1.3.5-SNAPSHOT</version> |
| 617 | </dependency> |
| 618 | <dependency> |
| 619 | <groupId>com.netflix.curator</groupId> |
| 620 | <artifactId>curator-x-discovery</artifactId> |
| 621 | <version>1.3.5-SNAPSHOT</version> |
| 622 | </dependency> |
| 623 | <!-- |
| 624 | <dependency> |
| 625 | <groupId>net.floodlightcontroller</groupId> |
| 626 | <artifactId>packetstreamer-thrift</artifactId> |
| 627 | <version>0.1.0</version> |
| 628 | </dependency> |
| 629 | --> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 630 | </dependencies> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 631 | <profiles> |
| 632 | <!-- Jenkins by default defines a property BUILD_NUMBER which is used to |
| 633 | enable the profile. --> |
| 634 | <profile> |
| 635 | <id>jenkins</id> |
| 636 | <activation> |
| 637 | <property> |
| 638 | <name>env.BUILD_NUMBER</name> |
| 639 | </property> |
| 640 | </activation> |
| 641 | <build> |
| 642 | <plugins> |
| 643 | <plugin> |
| 644 | <groupId>org.codehaus.mojo</groupId> |
| 645 | <artifactId>cobertura-maven-plugin</artifactId> |
| 646 | <version>${cobertura-maven-plugin.version}</version> |
| 647 | <configuration> |
| 648 | <formats> |
| 649 | <format>xml</format> |
| 650 | </formats> |
| 651 | </configuration> |
| 652 | <executions> |
| 653 | <execution> |
| 654 | <phase>package</phase> |
| 655 | <goals> |
| 656 | <goal>cobertura</goal> |
| 657 | </goals> |
| 658 | </execution> |
| 659 | </executions> |
| 660 | </plugin> |
| 661 | </plugins> |
| 662 | </build> |
| 663 | </profile> |
| 664 | </profiles> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 665 | </project> |