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