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