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 --> |
Yuta HIGUCHI | 0fe749a | 2014-05-27 09:35:16 -0700 | [diff] [blame] | 38 | <findbugs.version>2.0.3</findbugs.version> |
| 39 | <findbugs-plugin.version>2.5.4</findbugs-plugin.version> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 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> |
Ray Milkey | ff73514 | 2014-05-22 19:06:02 -0700 | [diff] [blame] | 100 | <arg>-Werror</arg> |
Yuta HIGUCHI | 593ee4c | 2014-05-12 21:31:39 -0700 | [diff] [blame] | 101 | </compilerArgs> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 102 | </configuration> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 103 | <executions> |
| 104 | </executions> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 105 | </plugin> |
| 106 | <!-- test --> |
| 107 | <plugin> |
| 108 | <groupId>org.apache.maven.plugins</groupId> |
| 109 | <artifactId>maven-surefire-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame] | 110 | <version>2.16</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 111 | <configuration> |
HIGUCHI Yuta | 71c96dd | 2013-10-20 17:15:56 -0700 | [diff] [blame] | 112 | <argLine>-XX:MaxPermSize=256m</argLine> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 113 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 114 | </configuration> |
| 115 | </plugin> |
| 116 | <!-- exec:java --> |
| 117 | <plugin> |
| 118 | <groupId>org.codehaus.mojo</groupId> |
| 119 | <artifactId>exec-maven-plugin</artifactId> |
| 120 | <version>1.2.1</version> |
| 121 | <configuration> |
Jonathan Hart | 51f6f5b | 2014-04-03 10:32:10 -0700 | [diff] [blame] | 122 | <mainClass>net.onrc.onos.core.main.Main</mainClass> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 123 | </configuration> |
| 124 | <executions> |
| 125 | </executions> |
| 126 | </plugin> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 127 | <!-- |
| 128 | <plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 129 | <groupId>org.codehaus.mojo</groupId> |
| 130 | <artifactId>build-helper-maven-plugin</artifactId> |
| 131 | <version>1.7</version> |
| 132 | <executions> |
| 133 | <execution> |
| 134 | <id>add-source</id> |
| 135 | <phase>generate-sources</phase> |
| 136 | <goals> |
| 137 | <goal>add-source</goal> |
| 138 | </goals> |
| 139 | <configuration> |
| 140 | <sources> |
| 141 | <source>lib/gen-java</source> |
| 142 | </sources> |
| 143 | </configuration> |
| 144 | </execution> |
| 145 | </executions> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 146 | </plugin> |
| 147 | --> |
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> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 371 | <!-- for getting visualization reporting --> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 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 | --> |
Yuta HIGUCHI | cbbaed3 | 2014-05-14 20:27:43 -0700 | [diff] [blame] | 424 | <propertiesLocation>${basedir}/conf/checkstyle/checkstyle_maven.properties</propertiesLocation> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 425 | </configuration> |
| 426 | <reportSets> |
| 427 | <reportSet> |
| 428 | <reports> |
| 429 | <report>checkstyle</report> |
| 430 | </reports> |
| 431 | </reportSet> |
| 432 | </reportSets> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 433 | </plugin> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 434 | <!-- Note: the findbugs configuration is also in the build section --> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 435 | <plugin> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 436 | <groupId>org.codehaus.mojo</groupId> |
| 437 | <artifactId>findbugs-maven-plugin</artifactId> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 438 | <version>${findbugs-plugin.version}</version> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 439 | <configuration> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 440 | <effort>${findbugs.effort}</effort> |
| 441 | <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 442 | <reportPlugins> |
| 443 | <plugin> |
| 444 | <groupId>org.codehaus.mojo</groupId> |
| 445 | <artifactId>findbugs-maven-plugin</artifactId> |
| 446 | </plugin> |
| 447 | </reportPlugins> |
| 448 | </configuration> |
| 449 | </plugin> |
| 450 | <plugin> |
| 451 | <groupId>org.apache.maven.plugins</groupId> |
| 452 | <artifactId>maven-pmd-plugin</artifactId> |
Yuta HIGUCHI | 01c5ed9 | 2014-03-18 11:08:22 -0700 | [diff] [blame] | 453 | <version>3.1</version> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 454 | <configuration> |
| 455 | <!-- |
| 456 | Note: Exclusion definition exists in multiple places. |
| 457 | - In file ${findbugs.excludeFilterFile} defined at top of pom.xml |
Yuta HIGUCHI | 057f7bc | 2014-04-16 17:37:41 -0700 | [diff] [blame] | 458 | - In file conf/checkstyle/onos_suppressions.xml |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 459 | - maven-pmd-plugin configuration in pom.xml |
Yuta HIGUCHI | abdb356 | 2014-03-27 13:37:36 -0700 | [diff] [blame] | 460 | (under build and reporting) |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 461 | --> |
| 462 | <excludes> |
Yuta HIGUCHI | 1cd9029 | 2014-04-03 14:31:10 -0700 | [diff] [blame] | 463 | <exclude>**/datastore/serializers/**</exclude> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 464 | <exclude>**/edu/stanford/**</exclude> |
| 465 | <exclude>**/net/floodlightcontroller/**</exclude> |
| 466 | <exclude>**/org/openflow/**</exclude> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 467 | </excludes> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 468 | <rulesets> |
| 469 | <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset> |
| 470 | </rulesets> |
Yuta HIGUCHI | 6cab638 | 2014-03-17 13:47:38 -0700 | [diff] [blame] | 471 | </configuration> |
Ray Milkey | 8d3a2f0 | 2014-03-10 18:13:35 -0700 | [diff] [blame] | 472 | </plugin> |
| 473 | <plugin> |
Ray Milkey | b5716c5 | 2014-04-07 11:38:27 -0700 | [diff] [blame] | 474 | <groupId>org.apache.maven.plugins</groupId> |
| 475 | <artifactId>maven-jxr-plugin</artifactId> |
| 476 | <version>2.4</version> |
Pavlin Radoslavov | 4f090a8 | 2013-12-13 18:45:45 -0800 | [diff] [blame] | 477 | </plugin> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 478 | <plugin> |
| 479 | <groupId>org.codehaus.mojo</groupId> |
| 480 | <artifactId>cobertura-maven-plugin</artifactId> |
| 481 | <version>${cobertura-maven-plugin.version}</version> |
| 482 | </plugin> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 483 | </plugins> |
| 484 | </reporting> |
| 485 | <dependencies> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 486 | <!-- ONOS's direct dependencies --> |
Yuta HIGUCHI | 5548a49 | 2013-10-24 00:39:23 -0700 | [diff] [blame] | 487 | <dependency> |
| 488 | <groupId>com.esotericsoftware.kryo</groupId> |
| 489 | <artifactId>kryo</artifactId> |
Yuta HIGUCHI | 6a518df | 2014-05-07 20:40:23 -0700 | [diff] [blame] | 490 | <version>2.24.0</version> |
Yuta HIGUCHI | 5548a49 | 2013-10-24 00:39:23 -0700 | [diff] [blame] | 491 | </dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 492 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 493 | <groupId>com.google.protobuf</groupId> |
| 494 | <artifactId>protobuf-java</artifactId> |
| 495 | <version>2.5.0</version> |
yoshi | 28bac13 | 2014-01-22 11:00:17 -0800 | [diff] [blame] | 496 | </dependency> |
| 497 | <dependency> |
yoshi | 2fd4c7e | 2013-11-22 15:47:55 -0800 | [diff] [blame] | 498 | <groupId>com.hazelcast</groupId> |
| 499 | <artifactId>hazelcast</artifactId> |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 500 | <version>${hazelcast.version}</version> |
| 501 | </dependency> |
| 502 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 503 | <!-- Required for backend datastore as Hazelcast --> |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 504 | <groupId>com.hazelcast</groupId> |
| 505 | <artifactId>hazelcast-client</artifactId> |
| 506 | <version>${hazelcast.version}</version> |
yoshi | 2fd4c7e | 2013-11-22 15:47:55 -0800 | [diff] [blame] | 507 | </dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 508 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 509 | <groupId>net.sf.json-lib</groupId> |
| 510 | <artifactId>json-lib</artifactId> |
| 511 | <version>2.4</version> |
| 512 | <classifier>jdk15</classifier> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 513 | </dependency> |
| 514 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 515 | <groupId>org.restlet.jse</groupId> |
| 516 | <artifactId>org.restlet</artifactId> |
| 517 | <version>${restlet.version}</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 518 | </dependency> |
| 519 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 520 | <groupId>org.restlet.jse</groupId> |
| 521 | <artifactId>org.restlet.ext.slf4j</artifactId> |
| 522 | <version>${restlet.version}</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 523 | </dependency> |
| 524 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 525 | <groupId>org.restlet.jse</groupId> |
Ray Milkey | 3aeda4f | 2014-05-21 14:38:58 -0700 | [diff] [blame] | 526 | <artifactId>org.restlet.ext.json</artifactId> |
| 527 | <version>${restlet.version}</version> |
| 528 | </dependency> |
| 529 | <dependency> |
| 530 | <groupId>org.restlet.jse</groupId> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 531 | <artifactId>org.restlet.ext.jackson</artifactId> |
| 532 | <version>${restlet.version}</version> |
| 533 | </dependency> |
| 534 | <dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 535 | <groupId>org.codehaus.jackson</groupId> |
| 536 | <artifactId>jackson-core-asl</artifactId> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 537 | <version>1.9.13</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 538 | </dependency> |
| 539 | <dependency> |
| 540 | <groupId>org.codehaus.jackson</groupId> |
| 541 | <artifactId>jackson-mapper-asl</artifactId> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 542 | <version>1.9.13</version> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 543 | </dependency> |
| 544 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 545 | <groupId>org.restlet.jse</groupId> |
| 546 | <artifactId>org.restlet.ext.simple</artifactId> |
| 547 | <version>${restlet.version}</version> |
| 548 | </dependency> |
| 549 | <dependency> |
| 550 | <groupId>org.simpleframework</groupId> |
| 551 | <artifactId>simple</artifactId> |
| 552 | <version>4.1.21</version> |
| 553 | </dependency> |
| 554 | <dependency> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 555 | <groupId>ch.qos.logback</groupId> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 556 | <artifactId>logback-classic</artifactId> |
Pankaj Berde | 9847842 | 2013-09-10 13:53:26 -0700 | [diff] [blame] | 557 | <version>1.0.13</version> |
HIGUCHI Yuta | 9f5c5a7 | 2013-06-11 13:21:43 -0700 | [diff] [blame] | 558 | <scope>runtime</scope> |
| 559 | </dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 560 | <dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 561 | <groupId>org.slf4j</groupId> |
| 562 | <artifactId>slf4j-api</artifactId> |
| 563 | <version>1.7.5</version> |
| 564 | </dependency> |
| 565 | <dependency> |
| 566 | <groupId>com.google.guava</groupId> |
| 567 | <artifactId>guava</artifactId> |
| 568 | <version>16.0.1</version> |
| 569 | </dependency> |
| 570 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 571 | <groupId>commons-configuration</groupId> |
| 572 | <artifactId>commons-configuration</artifactId> |
| 573 | <version>1.6</version> |
| 574 | </dependency> |
| 575 | <dependency> |
Yuta HIGUCHI | 850b004 | 2014-04-16 15:10:31 -0700 | [diff] [blame] | 576 | <groupId>commons-lang</groupId> |
| 577 | <artifactId>commons-lang</artifactId> |
| 578 | <version>2.6</version> |
| 579 | </dependency> |
| 580 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 581 | <groupId>commons-httpclient</groupId> |
| 582 | <artifactId>commons-httpclient</artifactId> |
| 583 | <version>3.1</version> |
| 584 | </dependency> |
| 585 | <dependency> |
Yuta HIGUCHI | d395b93 | 2014-05-01 15:15:20 -0700 | [diff] [blame] | 586 | <groupId>commons-collections</groupId> |
| 587 | <artifactId>commons-collections</artifactId> |
| 588 | <version>3.2.1</version> |
| 589 | </dependency> |
| 590 | <dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 591 | <groupId>org.apache.zookeeper</groupId> |
| 592 | <artifactId>zookeeper</artifactId> |
| 593 | <version>3.4.5</version> |
Yuta HIGUCHI | 6d935e5 | 2014-03-28 10:34:26 -0700 | [diff] [blame] | 594 | <scope>runtime</scope> |
| 595 | <!-- Following workaround exclusions can be removed, |
| 596 | when we're ready to switch to ZooKeeper 3.4.6 --> |
| 597 | <exclusions> |
| 598 | <exclusion> |
| 599 | <groupId>com.sun.jmx</groupId> |
| 600 | <artifactId>jmxri</artifactId> |
| 601 | </exclusion> |
| 602 | <exclusion> |
| 603 | <groupId>com.sun.jdmk</groupId> |
| 604 | <artifactId>jmxtools</artifactId> |
| 605 | </exclusion> |
| 606 | <exclusion> |
| 607 | <groupId>javax.jms</groupId> |
| 608 | <artifactId>jms</artifactId> |
| 609 | </exclusion> |
| 610 | </exclusions> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 611 | </dependency> |
Yuta HIGUCHI | 824552a | 2014-03-07 13:01:06 -0800 | [diff] [blame] | 612 | <dependency> |
Jonathan Hart | 116b1fe | 2014-03-14 18:53:47 -0700 | [diff] [blame] | 613 | <groupId>org.apache.curator</groupId> |
| 614 | <artifactId>curator-framework</artifactId> |
| 615 | <version>2.4.1</version> |
| 616 | </dependency> |
| 617 | <dependency> |
| 618 | <groupId>org.apache.curator</groupId> |
| 619 | <artifactId>curator-client</artifactId> |
| 620 | <version>2.4.1</version> |
| 621 | </dependency> |
| 622 | <dependency> |
| 623 | <groupId>org.apache.curator</groupId> |
| 624 | <artifactId>curator-recipes</artifactId> |
| 625 | <version>2.4.1</version> |
| 626 | </dependency> |
| 627 | <dependency> |
| 628 | <groupId>org.apache.curator</groupId> |
| 629 | <artifactId>curator-x-discovery</artifactId> |
| 630 | <version>2.4.1</version> |
| 631 | </dependency> |
Yuta HIGUCHI | 6ee1918 | 2014-04-11 09:48:35 -0700 | [diff] [blame] | 632 | <dependency> |
Yuta HIGUCHI | 042e82a | 2014-04-25 22:37:03 -0700 | [diff] [blame] | 633 | <!-- findbugs suppression annotation --> |
| 634 | <groupId>com.google.code.findbugs</groupId> |
| 635 | <artifactId>findbugs</artifactId> |
| 636 | <version>${findbugs.version}</version> |
Yuta HIGUCHI | 6ee1918 | 2014-04-11 09:48:35 -0700 | [diff] [blame] | 637 | </dependency> |
Yuta HIGUCHI | d209c0b | 2014-04-25 23:33:27 -0700 | [diff] [blame] | 638 | <!-- Floodlight's dependencies --> |
| 639 | <dependency> |
| 640 | <groupId>args4j</groupId> |
| 641 | <artifactId>args4j</artifactId> |
| 642 | <version>2.0.25</version> |
| 643 | </dependency> |
| 644 | <dependency> |
| 645 | <groupId>com.googlecode.concurrentlinkedhashmap</groupId> |
| 646 | <artifactId>concurrentlinkedhashmap-lru</artifactId> |
| 647 | <version>1.4</version> |
| 648 | </dependency> |
| 649 | <dependency> |
| 650 | <!-- dependency to old version of netty? --> |
| 651 | <groupId>org.jboss.netty</groupId> |
| 652 | <artifactId>netty</artifactId> |
| 653 | <version>3.2.7.Final</version> |
| 654 | </dependency> |
| 655 | <!-- Dependency for libraries used for testing --> |
| 656 | <dependency> |
| 657 | <groupId>junit</groupId> |
| 658 | <artifactId>junit</artifactId> |
| 659 | <version>4.11</version> |
| 660 | <scope>test</scope> |
| 661 | </dependency> |
| 662 | <dependency> |
| 663 | <groupId>org.hamcrest</groupId> |
| 664 | <artifactId>hamcrest-core</artifactId> |
| 665 | <version>1.3</version> |
| 666 | <scope>test</scope> |
| 667 | </dependency> |
| 668 | <dependency> |
| 669 | <groupId>org.hamcrest</groupId> |
| 670 | <artifactId>hamcrest-library</artifactId> |
| 671 | <version>1.3</version> |
| 672 | <scope>test</scope> |
| 673 | </dependency> |
| 674 | <dependency> |
| 675 | <groupId>org.easymock</groupId> |
| 676 | <artifactId>easymock</artifactId> |
| 677 | <version>3.1</version> |
| 678 | <scope>test</scope> |
| 679 | </dependency> |
| 680 | <dependency> |
| 681 | <groupId>org.powermock</groupId> |
| 682 | <artifactId>powermock-module-junit4</artifactId> |
| 683 | <version>${powermock.version}</version> |
| 684 | <scope>test</scope> |
| 685 | </dependency> |
| 686 | <dependency> |
| 687 | <groupId>org.powermock</groupId> |
| 688 | <artifactId>powermock-api-easymock</artifactId> |
| 689 | <version>${powermock.version}</version> |
| 690 | <scope>test</scope> |
| 691 | </dependency> |
HIGUCHI Yuta | e7aa925 | 2013-06-06 14:54:21 -0700 | [diff] [blame] | 692 | </dependencies> |
Yuta HIGUCHI | 889958b | 2014-03-12 12:05:47 -0700 | [diff] [blame] | 693 | <profiles> |
| 694 | <!-- Jenkins by default defines a property BUILD_NUMBER which is used to |
| 695 | enable the profile. --> |
| 696 | <profile> |
| 697 | <id>jenkins</id> |
| 698 | <activation> |
| 699 | <property> |
| 700 | <name>env.BUILD_NUMBER</name> |
| 701 | </property> |
| 702 | </activation> |
| 703 | <build> |
| 704 | <plugins> |
| 705 | <plugin> |
| 706 | <groupId>org.codehaus.mojo</groupId> |
| 707 | <artifactId>cobertura-maven-plugin</artifactId> |
| 708 | <version>${cobertura-maven-plugin.version}</version> |
| 709 | <configuration> |
| 710 | <formats> |
| 711 | <format>xml</format> |
| 712 | </formats> |
| 713 | </configuration> |
| 714 | <executions> |
| 715 | <execution> |
| 716 | <phase>package</phase> |
| 717 | <goals> |
| 718 | <goal>cobertura</goal> |
| 719 | </goals> |
| 720 | </execution> |
| 721 | </executions> |
| 722 | </plugin> |
| 723 | </plugins> |
| 724 | </build> |
| 725 | </profile> |
| 726 | </profiles> |
Pankaj Berde | 85c58f9 | 2013-10-03 18:26:08 -0700 | [diff] [blame] | 727 | </project> |