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