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