alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 6 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 7 | <groupId>org.onlab.onos</groupId> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 8 | <artifactId>onos</artifactId> |
| 9 | <packaging>pom</packaging> |
| 10 | <version>1.0.0-SNAPSHOT</version> |
alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 11 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 12 | <description>Open Networking Operating System root project</description> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 13 | |
| 14 | <modules> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 15 | <module>tools/build/conf</module> |
| 16 | <module>utils</module> |
tom | e2dc27a | 2014-09-09 12:41:21 -0700 | [diff] [blame] | 17 | <module>core</module> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 18 | <module>web</module> |
| 19 | <module>cli</module> |
| 20 | <module>providers</module> |
tom | f8b8d67 | 2014-09-17 13:07:23 -0700 | [diff] [blame] | 21 | <module>openflow</module> |
tom | 8bb1606 | 2014-09-12 14:47:46 -0700 | [diff] [blame] | 22 | <module>apps</module> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 23 | <module>features</module> |
tom | aa49a1e | 2014-09-12 23:11:46 -0700 | [diff] [blame] | 24 | <module>tools/package/branding</module> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 25 | </modules> |
| 26 | |
| 27 | <url>http://onlab.us/</url> |
| 28 | |
| 29 | <licenses> |
| 30 | <license> |
| 31 | <!-- TODO: Is this really our license scheme? --> |
| 32 | <name>Apache License, Version 2.0</name> |
| 33 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 34 | </license> |
| 35 | </licenses> |
| 36 | |
Yuta HIGUCHI | e2efe72 | 2014-09-19 14:37:34 -0700 | [diff] [blame] | 37 | <properties> |
| 38 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 39 | </properties> |
| 40 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 41 | <dependencyManagement> |
| 42 | <dependencies> |
| 43 | <dependency> |
| 44 | <groupId>junit</groupId> |
| 45 | <artifactId>junit</artifactId> |
| 46 | <version>4.11</version> |
| 47 | <scope>test</scope> |
| 48 | </dependency> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 49 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 50 | <dependency> |
Brian O'Connor | f3d0616 | 2014-10-02 15:54:12 -0700 | [diff] [blame] | 51 | <groupId>org.hamcrest</groupId> |
| 52 | <artifactId>hamcrest-core</artifactId> |
| 53 | <version>1.3</version> |
| 54 | <scope>test</scope> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>org.hamcrest</groupId> |
| 58 | <artifactId>hamcrest-library</artifactId> |
| 59 | <version>1.3</version> |
| 60 | <scope>test</scope> |
| 61 | </dependency> |
| 62 | |
| 63 | <dependency> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 64 | <groupId>org.slf4j</groupId> |
| 65 | <artifactId>slf4j-api</artifactId> |
| 66 | <version>1.7.6</version> |
| 67 | <scope>provided</scope> |
| 68 | </dependency> |
| 69 | |
| 70 | <dependency> |
| 71 | <groupId>org.slf4j</groupId> |
| 72 | <artifactId>slf4j-jdk14</artifactId> |
| 73 | <version>1.7.6</version> |
| 74 | <scope>test</scope> |
| 75 | </dependency> |
| 76 | |
| 77 | <dependency> |
| 78 | <groupId>com.google.guava</groupId> |
| 79 | <artifactId>guava</artifactId> |
tom | eadbb46 | 2014-09-07 16:10:19 -0700 | [diff] [blame] | 80 | <version>18.0</version> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 81 | </dependency> |
| 82 | |
alshabib | df652ad | 2014-09-09 11:53:19 -0700 | [diff] [blame] | 83 | <dependency> |
| 84 | <groupId>io.netty</groupId> |
Madan Jampani | a185d86 | 2014-09-30 11:32:31 -0700 | [diff] [blame] | 85 | <artifactId>netty-all</artifactId> |
| 86 | <version>4.0.23.Final</version> |
| 87 | </dependency> |
| 88 | |
| 89 | <dependency> |
| 90 | <groupId>io.netty</groupId> |
alshabib | df652ad | 2014-09-09 11:53:19 -0700 | [diff] [blame] | 91 | <artifactId>netty</artifactId> |
| 92 | <version>3.9.0.Final</version> |
| 93 | </dependency> |
| 94 | |
tom | de8d968 | 2014-08-27 01:11:43 -0700 | [diff] [blame] | 95 | <dependency> |
| 96 | <groupId>com.google.guava</groupId> |
| 97 | <artifactId>guava-testlib</artifactId> |
tom | eadbb46 | 2014-09-07 16:10:19 -0700 | [diff] [blame] | 98 | <version>18.0</version> |
tom | de8d968 | 2014-08-27 01:11:43 -0700 | [diff] [blame] | 99 | <scope>test</scope> |
| 100 | </dependency> |
| 101 | |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 102 | <dependency> |
| 103 | <groupId>commons-lang</groupId> |
| 104 | <artifactId>commons-lang</artifactId> |
| 105 | <version>2.6</version> |
| 106 | </dependency> |
tom | de8d968 | 2014-08-27 01:11:43 -0700 | [diff] [blame] | 107 | |
tom | 66a7eb2 | 2014-09-22 11:58:56 -0700 | [diff] [blame] | 108 | <dependency> |
| 109 | <groupId>org.apache.commons</groupId> |
| 110 | <artifactId>commons-lang3</artifactId> |
| 111 | <version>3.3.2</version> |
| 112 | </dependency> |
| 113 | |
Brian O'Connor | f3d0616 | 2014-10-02 15:54:12 -0700 | [diff] [blame] | 114 | <dependency> |
| 115 | <groupId>org.codehaus.jackson</groupId> |
| 116 | <artifactId>jackson-core-asl</artifactId> |
| 117 | <version>1.9.13</version> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>org.codehaus.jackson</groupId> |
| 121 | <artifactId>jackson-mapper-asl</artifactId> |
| 122 | <version>1.9.13</version> |
| 123 | </dependency> |
Jonathan Hart | 74f9c3b | 2014-09-29 20:03:50 -0700 | [diff] [blame] | 124 | |
tom | 66a7eb2 | 2014-09-22 11:58:56 -0700 | [diff] [blame] | 125 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 126 | <!-- Web related --> |
| 127 | <dependency> |
| 128 | <groupId>com.sun.jersey</groupId> |
| 129 | <artifactId>jersey-servlet</artifactId> |
| 130 | <version>1.18.1</version> |
| 131 | <scope>provided</scope> |
| 132 | </dependency> |
| 133 | <dependency> |
| 134 | <groupId>com.fasterxml.jackson.core</groupId> |
| 135 | <artifactId>jackson-databind</artifactId> |
| 136 | <version>2.4.2</version> |
| 137 | <scope>provided</scope> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>com.fasterxml.jackson.core</groupId> |
| 141 | <artifactId>jackson-annotations</artifactId> |
| 142 | <version>2.4.2</version> |
| 143 | <scope>provided</scope> |
| 144 | </dependency> |
| 145 | |
| 146 | <!-- OSGi related --> |
| 147 | <dependency> |
| 148 | <groupId>org.osgi</groupId> |
| 149 | <artifactId>org.osgi.core</artifactId> |
| 150 | <version>4.3.1</version> |
| 151 | <scope>provided</scope> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>org.apache.felix</groupId> |
| 155 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 156 | <version>1.9.8</version> |
| 157 | <scope>provided</scope> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>org.apache.karaf.shell</groupId> |
| 161 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 162 | <version>3.0.1</version> |
| 163 | <scope>provided</scope> |
| 164 | </dependency> |
| 165 | |
Yuta HIGUCHI | 24a086b | 2014-09-21 23:28:41 -0700 | [diff] [blame] | 166 | <dependency> |
tom | 14dc4d0 | 2014-09-26 12:43:14 -0700 | [diff] [blame] | 167 | <groupId>org.livetribe.slp</groupId> |
| 168 | <artifactId>livetribe-slp</artifactId> |
| 169 | <version>2.2.1</version> |
| 170 | </dependency> |
| 171 | |
| 172 | <dependency> |
Yuta HIGUCHI | 24a086b | 2014-09-21 23:28:41 -0700 | [diff] [blame] | 173 | <groupId>com.hazelcast</groupId> |
| 174 | <artifactId>hazelcast</artifactId> |
| 175 | <version>3.3</version> |
| 176 | </dependency> |
| 177 | <dependency> |
tom | dc66b38 | 2014-09-22 17:05:47 -0700 | [diff] [blame] | 178 | <groupId>com.eclipsesource.minimal-json</groupId> |
| 179 | <artifactId>minimal-json</artifactId> |
| 180 | <version>0.9.1</version> |
| 181 | </dependency> |
| 182 | <dependency> |
Yuta HIGUCHI | 24a086b | 2014-09-21 23:28:41 -0700 | [diff] [blame] | 183 | <groupId>com.esotericsoftware.kryo</groupId> |
| 184 | <artifactId>kryo</artifactId> |
| 185 | <version>2.24.0</version> |
| 186 | </dependency> |
| 187 | <dependency> |
tom | 66a7eb2 | 2014-09-22 11:58:56 -0700 | [diff] [blame] | 188 | <groupId>com.esotericsoftware</groupId> |
| 189 | <artifactId>minlog</artifactId> |
| 190 | <version>1.3.0</version> |
| 191 | </dependency> |
| 192 | <dependency> |
| 193 | <groupId>org.objenesis</groupId> |
| 194 | <artifactId>objenesis</artifactId> |
| 195 | <version>2.1</version> |
| 196 | </dependency> |
| 197 | <dependency> |
Yuta HIGUCHI | 24a086b | 2014-09-21 23:28:41 -0700 | [diff] [blame] | 198 | <groupId>de.javakaffee</groupId> |
| 199 | <artifactId>kryo-serializers</artifactId> |
| 200 | <version>0.27</version> |
| 201 | </dependency> |
| 202 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 203 | <!-- ONOS related --> |
| 204 | <dependency> |
| 205 | <groupId>org.onlab.onos</groupId> |
tom | 5f38b3a | 2014-08-27 23:50:54 -0700 | [diff] [blame] | 206 | <artifactId>onlab-misc</artifactId> |
| 207 | <version>${project.version}</version> |
| 208 | </dependency> |
tom | 931af4e | 2014-09-13 12:00:57 -0700 | [diff] [blame] | 209 | <dependency> |
| 210 | <groupId>org.onlab.onos</groupId> |
tom | f110fff | 2014-09-26 00:38:18 -0700 | [diff] [blame] | 211 | <artifactId>onlab-nio</artifactId> |
| 212 | <version>${project.version}</version> |
| 213 | </dependency> |
| 214 | <dependency> |
| 215 | <groupId>org.onlab.onos</groupId> |
tom | 0872a17 | 2014-09-23 11:24:26 -0700 | [diff] [blame] | 216 | <artifactId>onlab-osgi</artifactId> |
| 217 | <version>${project.version}</version> |
| 218 | </dependency> |
| 219 | <dependency> |
| 220 | <groupId>org.onlab.onos</groupId> |
tom | 931af4e | 2014-09-13 12:00:57 -0700 | [diff] [blame] | 221 | <artifactId>onlab-junit</artifactId> |
| 222 | <version>1.0.0-SNAPSHOT</version> |
| 223 | <scope>test</scope> |
| 224 | </dependency> |
tom | 5f38b3a | 2014-08-27 23:50:54 -0700 | [diff] [blame] | 225 | |
| 226 | <dependency> |
| 227 | <groupId>org.onlab.onos</groupId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 228 | <artifactId>onos-api</artifactId> |
| 229 | <version>${project.version}</version> |
| 230 | </dependency> |
| 231 | <dependency> |
| 232 | <groupId>org.onlab.onos</groupId> |
tom | 61359e9 | 2014-09-16 15:50:27 -0700 | [diff] [blame] | 233 | <artifactId>onos-api</artifactId> |
| 234 | <version>${project.version}</version> |
| 235 | <classifier>tests</classifier> |
| 236 | <scope>test</scope> |
| 237 | </dependency> |
| 238 | |
| 239 | <dependency> |
| 240 | <groupId>org.onlab.onos</groupId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 241 | <artifactId>onos-of-api</artifactId> |
| 242 | <version>${project.version}</version> |
| 243 | </dependency> |
tom | 61359e9 | 2014-09-16 15:50:27 -0700 | [diff] [blame] | 244 | <dependency> |
| 245 | <groupId>org.onlab.onos</groupId> |
| 246 | <artifactId>onos-of-api</artifactId> |
| 247 | <version>${project.version}</version> |
| 248 | <classifier>tests</classifier> |
| 249 | <scope>test</scope> |
| 250 | </dependency> |
Yuta HIGUCHI | 707a7e6 | 2014-10-02 16:35:49 -0700 | [diff] [blame] | 251 | <dependency> |
| 252 | <groupId>commons-pool</groupId> |
| 253 | <artifactId>commons-pool</artifactId> |
| 254 | <version>1.6</version> |
| 255 | </dependency> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 256 | </dependencies> |
| 257 | </dependencyManagement> |
| 258 | |
| 259 | <dependencies> |
| 260 | <dependency> |
| 261 | <groupId>junit</groupId> |
| 262 | <artifactId>junit</artifactId> |
| 263 | </dependency> |
| 264 | <dependency> |
Brian O'Connor | f3d0616 | 2014-10-02 15:54:12 -0700 | [diff] [blame] | 265 | <groupId>org.hamcrest</groupId> |
| 266 | <artifactId>hamcrest-core</artifactId> |
| 267 | </dependency> |
| 268 | <dependency> |
| 269 | <groupId>org.hamcrest</groupId> |
| 270 | <artifactId>hamcrest-library</artifactId> |
| 271 | </dependency> |
| 272 | <dependency> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 273 | <groupId>org.slf4j</groupId> |
| 274 | <artifactId>slf4j-jdk14</artifactId> |
| 275 | </dependency> |
| 276 | </dependencies> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 277 | |
| 278 | <build> |
| 279 | <pluginManagement> |
| 280 | <plugins> |
| 281 | <plugin> |
| 282 | <groupId>org.apache.maven.plugins</groupId> |
| 283 | <artifactId>maven-compiler-plugin</artifactId> |
| 284 | <version>3.1</version> |
| 285 | <configuration> |
| 286 | <source>1.7</source> |
| 287 | <target>1.7</target> |
| 288 | </configuration> |
| 289 | </plugin> |
| 290 | |
| 291 | <plugin> |
| 292 | <groupId>org.apache.maven.plugins</groupId> |
| 293 | <artifactId>maven-surefire-plugin</artifactId> |
| 294 | <version>2.17</version> |
tom | 6488812 | 2014-08-27 21:47:46 -0700 | [diff] [blame] | 295 | <configuration> |
| 296 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 297 | <printSummary>true</printSummary> |
| 298 | </configuration> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 299 | </plugin> |
| 300 | |
| 301 | <plugin> |
| 302 | <groupId>org.apache.maven.plugins</groupId> |
| 303 | <artifactId>maven-jar-plugin</artifactId> |
| 304 | <version>2.3.1</version> |
| 305 | <executions> |
| 306 | <execution> |
| 307 | <phase>package</phase> |
| 308 | <goals> |
| 309 | <goal>test-jar</goal> |
| 310 | </goals> |
| 311 | </execution> |
| 312 | </executions> |
| 313 | </plugin> |
| 314 | |
| 315 | <plugin> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 316 | <groupId>org.apache.maven.plugins</groupId> |
| 317 | <artifactId>maven-resources-plugin</artifactId> |
| 318 | <version>2.6</version> |
| 319 | </plugin> |
| 320 | |
| 321 | <plugin> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 322 | <groupId>org.apache.felix</groupId> |
| 323 | <artifactId>maven-bundle-plugin</artifactId> |
| 324 | <version>2.3.7</version> |
| 325 | <extensions>true</extensions> |
| 326 | </plugin> |
| 327 | |
| 328 | <plugin> |
| 329 | <groupId>org.apache.felix</groupId> |
| 330 | <artifactId>maven-scr-plugin</artifactId> |
| 331 | <version>1.15.0</version> |
| 332 | <executions> |
| 333 | <execution> |
| 334 | <id>generate-scr-srcdescriptor</id> |
| 335 | <goals> |
| 336 | <goal>scr</goal> |
| 337 | </goals> |
| 338 | </execution> |
| 339 | </executions> |
| 340 | <configuration> |
| 341 | <supportedProjectTypes> |
| 342 | <supportedProjectType>bundle</supportedProjectType> |
| 343 | <supportedProjectType>war</supportedProjectType> |
| 344 | </supportedProjectTypes> |
| 345 | </configuration> |
| 346 | </plugin> |
| 347 | |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 348 | <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only --> |
Brian O'Connor | f3d0616 | 2014-10-02 15:54:12 -0700 | [diff] [blame] | 349 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 350 | <plugin> |
| 351 | <groupId>org.eclipse.m2e</groupId> |
| 352 | <artifactId>lifecycle-mapping</artifactId> |
| 353 | <version>1.0.0</version> |
| 354 | <configuration> |
| 355 | <lifecycleMappingMetadata> |
| 356 | <pluginExecutions> |
| 357 | <pluginExecution> |
| 358 | <pluginExecutionFilter> |
| 359 | <groupId>org.jacoco</groupId> |
| 360 | <artifactId> |
| 361 | jacoco-maven-plugin |
| 362 | </artifactId> |
| 363 | <versionRange> |
| 364 | [0.7.1.201405082137,) |
| 365 | </versionRange> |
| 366 | <goals> |
| 367 | <goal>prepare-agent</goal> |
| 368 | </goals> |
| 369 | </pluginExecutionFilter> |
| 370 | <action> |
| 371 | <ignore></ignore> |
| 372 | </action> |
| 373 | </pluginExecution> |
| 374 | </pluginExecutions> |
| 375 | </lifecycleMappingMetadata> |
| 376 | </configuration> |
| 377 | </plugin> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 378 | </plugins> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 379 | </pluginManagement> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 380 | |
| 381 | <plugins> |
| 382 | <plugin> |
| 383 | <groupId>org.apache.maven.plugins</groupId> |
tom | e33cc1a | 2014-08-25 21:59:41 -0700 | [diff] [blame] | 384 | <artifactId>maven-jar-plugin</artifactId> |
| 385 | </plugin> |
| 386 | |
| 387 | <plugin> |
| 388 | <groupId>org.apache.maven.plugins</groupId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 389 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 390 | <version>2.12.1</version> |
| 391 | <dependencies> |
| 392 | <dependency> |
| 393 | <groupId>org.onlab.tools</groupId> |
| 394 | <artifactId>onos-build-conf</artifactId> |
| 395 | <version>1.0</version> |
| 396 | </dependency> |
| 397 | </dependencies> |
| 398 | <configuration> |
| 399 | <configLocation>onos/checkstyle.xml</configLocation> |
| 400 | <suppressionsLocation>onos/suppressions.xml |
| 401 | </suppressionsLocation> |
| 402 | <failsOnError>false</failsOnError> |
| 403 | <logViolationsToConsole>true</logViolationsToConsole> |
| 404 | <includeTestSourceDirectory>true |
| 405 | </includeTestSourceDirectory> |
| 406 | </configuration> |
| 407 | <executions> |
| 408 | <execution> |
| 409 | <id>validate-checkstyle</id> |
| 410 | <phase>verify</phase> |
| 411 | <goals> |
| 412 | <goal>check</goal> |
| 413 | </goals> |
| 414 | </execution> |
| 415 | </executions> |
| 416 | </plugin> |
| 417 | |
| 418 | <plugin> |
tom | 50a76dd | 2014-09-02 15:18:35 -0700 | [diff] [blame] | 419 | <groupId>org.apache.maven.plugins</groupId> |
| 420 | <artifactId>maven-pmd-plugin</artifactId> |
| 421 | <version>3.2</version> |
| 422 | <configuration> |
| 423 | <excludes> |
| 424 | <exclude>**/datastore/serializers/**</exclude> |
| 425 | <exclude>**/edu/stanford/**</exclude> |
| 426 | <exclude>**/net/floodlightcontroller/**</exclude> |
| 427 | </excludes> |
| 428 | <rulesets> |
| 429 | <ruleset>onos/pmd.xml</ruleset> |
| 430 | </rulesets> |
| 431 | </configuration> |
| 432 | <executions> |
| 433 | <execution> |
| 434 | <id>validate-pmd</id> |
| 435 | <phase>verify</phase> |
| 436 | <goals> |
| 437 | <!-- Uncomment this goal to make the build fail on pmd errors --> |
| 438 | <!--<goal>check</goal>--> |
| 439 | </goals> |
| 440 | </execution> |
| 441 | </executions> |
| 442 | </plugin> |
| 443 | |
| 444 | <plugin> |
tom | 4f3b18b | 2014-08-28 14:38:47 -0700 | [diff] [blame] | 445 | <groupId>org.jacoco</groupId> |
| 446 | <artifactId>jacoco-maven-plugin</artifactId> |
| 447 | <version>0.7.1.201405082137</version> |
| 448 | <executions> |
| 449 | <execution> |
| 450 | <id>default-prepare-agent</id> |
| 451 | <goals> |
| 452 | <goal>prepare-agent</goal> |
| 453 | </goals> |
| 454 | </execution> |
| 455 | <execution> |
| 456 | <id>default-report</id> |
| 457 | <phase>prepare-package</phase> |
| 458 | <goals> |
| 459 | <goal>report</goal> |
| 460 | </goals> |
| 461 | </execution> |
| 462 | </executions> |
| 463 | </plugin> |
| 464 | |
| 465 | <plugin> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 466 | <groupId>org.apache.maven.plugins</groupId> |
| 467 | <artifactId>maven-javadoc-plugin</artifactId> |
| 468 | <version>2.9.1</version> |
| 469 | <configuration> |
tom | 578ebdc | 2014-09-11 11:12:51 -0700 | [diff] [blame] | 470 | <show>package</show> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 471 | <docfilessubdirs>true</docfilessubdirs> |
| 472 | <doctitle>ONOS Java API</doctitle> |
| 473 | <groups> |
| 474 | <group> |
| 475 | <title>Network Model & Services</title> |
| 476 | <packages> |
tom | 5d4e73c | 2014-09-24 18:38:24 -0700 | [diff] [blame] | 477 | org.onlab.onos:org.onlab.onos.* |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 478 | </packages> |
| 479 | </group> |
| 480 | <group> |
| 481 | <title>Core Subsystems</title> |
| 482 | <packages> |
tom | a1d16b6 | 2014-10-02 23:45:11 -0700 | [diff] [blame] | 483 | org.onlab.onos.cluster.impl:org.onlab.onos.net.device.impl:org.onlab.onos.net.link.impl:org.onlab.onos.net.host.impl:org.onlab.onos.net.topology.impl:org.onlab.onos.net.packet.impl:org.onlab.onos.net.flow.impl:org.onlab.onos.store.trivial.*:org.onlab.onos.net.*.impl:org.onlab.onos.event.impl:org.onlab.onos.store.*:org.onlab.onos.net.intent.impl |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 484 | </packages> |
| 485 | </group> |
| 486 | <group> |
| 487 | <title>OpenFlow Providers & Controller |
| 488 | </title> |
| 489 | <packages> |
tom | 9c94c5b | 2014-09-17 13:14:42 -0700 | [diff] [blame] | 490 | org.onlab.onos.provider.of.*:org.onlab.onos.openflow.* |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 491 | </packages> |
| 492 | </group> |
| 493 | <group> |
| 494 | <title>Utilities</title> |
| 495 | <packages> |
tom | 984d782 | 2014-08-29 12:02:59 -0700 | [diff] [blame] | 496 | org.onlab.* |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 497 | </packages> |
| 498 | </group> |
| 499 | <group> |
| 500 | <title>GUI, REST & Command-Line</title> |
| 501 | <packages> |
| 502 | org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.* |
| 503 | </packages> |
| 504 | </group> |
tom | 8bb1606 | 2014-09-12 14:47:46 -0700 | [diff] [blame] | 505 | <group> |
| 506 | <title>Sample Applications</title> |
| 507 | <packages> |
tom | 5d4e73c | 2014-09-24 18:38:24 -0700 | [diff] [blame] | 508 | org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.foo |
tom | 8bb1606 | 2014-09-12 14:47:46 -0700 | [diff] [blame] | 509 | </packages> |
| 510 | </group> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 511 | </groups> |
| 512 | </configuration> |
| 513 | </plugin> |
| 514 | |
| 515 | </plugins> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 516 | </build> |
alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 517 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 518 | <reporting> |
| 519 | <plugins> |
| 520 | <plugin> |
| 521 | <groupId>org.apache.maven.plugins</groupId> |
| 522 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 523 | <version>2.12.1</version> |
| 524 | <configuration> |
| 525 | <configLocation>onos/checkstyle.xml</configLocation> |
| 526 | </configuration> |
| 527 | </plugin> |
tom | 50a76dd | 2014-09-02 15:18:35 -0700 | [diff] [blame] | 528 | |
| 529 | <plugin> |
| 530 | <groupId>org.apache.maven.plugins</groupId> |
| 531 | <artifactId>maven-pmd-plugin</artifactId> |
| 532 | <version>3.2</version> |
| 533 | <configuration> |
| 534 | <excludes> |
| 535 | <exclude>**/datastore/serializers/**</exclude> |
| 536 | <exclude>**/edu/stanford/**</exclude> |
| 537 | <exclude>**/net/floodlightcontroller/**</exclude> |
| 538 | </excludes> |
| 539 | <rulesets> |
| 540 | <ruleset>onos/pmd.xml</ruleset> |
| 541 | </rulesets> |
| 542 | </configuration> |
| 543 | </plugin> |
| 544 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 545 | </plugins> |
| 546 | |
| 547 | </reporting> |
| 548 | |
alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 549 | </project> |