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