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> |
| 17 | <module>net</module> |
| 18 | <module>web</module> |
| 19 | <module>cli</module> |
| 20 | <module>providers</module> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 21 | <module>of</module> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 22 | <module>features</module> |
| 23 | </modules> |
| 24 | |
| 25 | <url>http://onlab.us/</url> |
| 26 | |
| 27 | <licenses> |
| 28 | <license> |
| 29 | <!-- TODO: Is this really our license scheme? --> |
| 30 | <name>Apache License, Version 2.0</name> |
| 31 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 32 | </license> |
| 33 | </licenses> |
| 34 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 35 | <dependencyManagement> |
| 36 | <dependencies> |
| 37 | <dependency> |
| 38 | <groupId>junit</groupId> |
| 39 | <artifactId>junit</artifactId> |
| 40 | <version>4.11</version> |
| 41 | <scope>test</scope> |
| 42 | </dependency> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 43 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 44 | <dependency> |
| 45 | <groupId>org.slf4j</groupId> |
| 46 | <artifactId>slf4j-api</artifactId> |
| 47 | <version>1.7.6</version> |
| 48 | <scope>provided</scope> |
| 49 | </dependency> |
| 50 | |
| 51 | <dependency> |
| 52 | <groupId>org.slf4j</groupId> |
| 53 | <artifactId>slf4j-jdk14</artifactId> |
| 54 | <version>1.7.6</version> |
| 55 | <scope>test</scope> |
| 56 | </dependency> |
| 57 | |
| 58 | <dependency> |
| 59 | <groupId>com.google.guava</groupId> |
| 60 | <artifactId>guava</artifactId> |
| 61 | <version>17.0</version> |
| 62 | </dependency> |
| 63 | |
tom | de8d968 | 2014-08-27 01:11:43 -0700 | [diff] [blame] | 64 | <dependency> |
| 65 | <groupId>com.google.guava</groupId> |
| 66 | <artifactId>guava-testlib</artifactId> |
| 67 | <version>17.0</version> |
| 68 | <scope>test</scope> |
| 69 | </dependency> |
| 70 | |
| 71 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 72 | <!-- Web related --> |
| 73 | <dependency> |
| 74 | <groupId>com.sun.jersey</groupId> |
| 75 | <artifactId>jersey-servlet</artifactId> |
| 76 | <version>1.18.1</version> |
| 77 | <scope>provided</scope> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>com.fasterxml.jackson.core</groupId> |
| 81 | <artifactId>jackson-databind</artifactId> |
| 82 | <version>2.4.2</version> |
| 83 | <scope>provided</scope> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>com.fasterxml.jackson.core</groupId> |
| 87 | <artifactId>jackson-annotations</artifactId> |
| 88 | <version>2.4.2</version> |
| 89 | <scope>provided</scope> |
| 90 | </dependency> |
| 91 | |
| 92 | <!-- OSGi related --> |
| 93 | <dependency> |
| 94 | <groupId>org.osgi</groupId> |
| 95 | <artifactId>org.osgi.core</artifactId> |
| 96 | <version>4.3.1</version> |
| 97 | <scope>provided</scope> |
| 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>org.apache.felix</groupId> |
| 101 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 102 | <version>1.9.8</version> |
| 103 | <scope>provided</scope> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.apache.karaf.shell</groupId> |
| 107 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 108 | <version>3.0.1</version> |
| 109 | <scope>provided</scope> |
| 110 | </dependency> |
| 111 | |
| 112 | <!-- ONOS related --> |
| 113 | <dependency> |
| 114 | <groupId>org.onlab.onos</groupId> |
tom | 5f38b3a | 2014-08-27 23:50:54 -0700 | [diff] [blame] | 115 | <artifactId>onlab-misc</artifactId> |
| 116 | <version>${project.version}</version> |
| 117 | </dependency> |
| 118 | |
| 119 | <dependency> |
| 120 | <groupId>org.onlab.onos</groupId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 121 | <artifactId>onos-api</artifactId> |
| 122 | <version>${project.version}</version> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>org.onlab.onos</groupId> |
| 126 | <artifactId>onos-of-api</artifactId> |
| 127 | <version>${project.version}</version> |
| 128 | </dependency> |
| 129 | |
| 130 | </dependencies> |
| 131 | </dependencyManagement> |
| 132 | |
| 133 | <dependencies> |
| 134 | <dependency> |
| 135 | <groupId>junit</groupId> |
| 136 | <artifactId>junit</artifactId> |
| 137 | </dependency> |
| 138 | <dependency> |
| 139 | <groupId>org.slf4j</groupId> |
| 140 | <artifactId>slf4j-jdk14</artifactId> |
| 141 | </dependency> |
| 142 | </dependencies> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 143 | |
| 144 | <build> |
| 145 | <pluginManagement> |
| 146 | <plugins> |
| 147 | <plugin> |
| 148 | <groupId>org.apache.maven.plugins</groupId> |
| 149 | <artifactId>maven-compiler-plugin</artifactId> |
| 150 | <version>3.1</version> |
| 151 | <configuration> |
| 152 | <source>1.7</source> |
| 153 | <target>1.7</target> |
| 154 | </configuration> |
| 155 | </plugin> |
| 156 | |
| 157 | <plugin> |
| 158 | <groupId>org.apache.maven.plugins</groupId> |
| 159 | <artifactId>maven-surefire-plugin</artifactId> |
| 160 | <version>2.17</version> |
tom | 6488812 | 2014-08-27 21:47:46 -0700 | [diff] [blame] | 161 | <configuration> |
| 162 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 163 | <printSummary>true</printSummary> |
| 164 | </configuration> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 165 | </plugin> |
| 166 | |
| 167 | <plugin> |
| 168 | <groupId>org.apache.maven.plugins</groupId> |
| 169 | <artifactId>maven-jar-plugin</artifactId> |
| 170 | <version>2.3.1</version> |
| 171 | <executions> |
| 172 | <execution> |
| 173 | <phase>package</phase> |
| 174 | <goals> |
| 175 | <goal>test-jar</goal> |
| 176 | </goals> |
| 177 | </execution> |
| 178 | </executions> |
| 179 | </plugin> |
| 180 | |
| 181 | <plugin> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 182 | <groupId>org.apache.maven.plugins</groupId> |
| 183 | <artifactId>maven-resources-plugin</artifactId> |
| 184 | <version>2.6</version> |
| 185 | </plugin> |
| 186 | |
| 187 | <plugin> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 188 | <groupId>org.apache.felix</groupId> |
| 189 | <artifactId>maven-bundle-plugin</artifactId> |
| 190 | <version>2.3.7</version> |
| 191 | <extensions>true</extensions> |
| 192 | </plugin> |
| 193 | |
| 194 | <plugin> |
| 195 | <groupId>org.apache.felix</groupId> |
| 196 | <artifactId>maven-scr-plugin</artifactId> |
| 197 | <version>1.15.0</version> |
| 198 | <executions> |
| 199 | <execution> |
| 200 | <id>generate-scr-srcdescriptor</id> |
| 201 | <goals> |
| 202 | <goal>scr</goal> |
| 203 | </goals> |
| 204 | </execution> |
| 205 | </executions> |
| 206 | <configuration> |
| 207 | <supportedProjectTypes> |
| 208 | <supportedProjectType>bundle</supportedProjectType> |
| 209 | <supportedProjectType>war</supportedProjectType> |
| 210 | </supportedProjectTypes> |
| 211 | </configuration> |
| 212 | </plugin> |
| 213 | |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 214 | <!-- TODO: add jacoco plugin for unit test coverage; for explicit invocation only --> |
| 215 | <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only --> |
| 216 | <!-- TODO: add sonarqube plugin for code analysis; for explicit invocation only --> |
| 217 | |
| 218 | </plugins> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 219 | </pluginManagement> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 220 | |
| 221 | <plugins> |
| 222 | <plugin> |
| 223 | <groupId>org.apache.maven.plugins</groupId> |
tom | e33cc1a | 2014-08-25 21:59:41 -0700 | [diff] [blame] | 224 | <artifactId>maven-jar-plugin</artifactId> |
| 225 | </plugin> |
| 226 | |
| 227 | <plugin> |
| 228 | <groupId>org.apache.maven.plugins</groupId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 229 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 230 | <version>2.12.1</version> |
| 231 | <dependencies> |
| 232 | <dependency> |
| 233 | <groupId>org.onlab.tools</groupId> |
| 234 | <artifactId>onos-build-conf</artifactId> |
| 235 | <version>1.0</version> |
| 236 | </dependency> |
| 237 | </dependencies> |
| 238 | <configuration> |
| 239 | <configLocation>onos/checkstyle.xml</configLocation> |
| 240 | <suppressionsLocation>onos/suppressions.xml |
| 241 | </suppressionsLocation> |
| 242 | <failsOnError>false</failsOnError> |
| 243 | <logViolationsToConsole>true</logViolationsToConsole> |
| 244 | <includeTestSourceDirectory>true |
| 245 | </includeTestSourceDirectory> |
| 246 | </configuration> |
| 247 | <executions> |
| 248 | <execution> |
| 249 | <id>validate-checkstyle</id> |
| 250 | <phase>verify</phase> |
| 251 | <goals> |
| 252 | <goal>check</goal> |
| 253 | </goals> |
| 254 | </execution> |
| 255 | </executions> |
| 256 | </plugin> |
| 257 | |
| 258 | <plugin> |
tom | 4f3b18b | 2014-08-28 14:38:47 -0700 | [diff] [blame] | 259 | <groupId>org.jacoco</groupId> |
| 260 | <artifactId>jacoco-maven-plugin</artifactId> |
| 261 | <version>0.7.1.201405082137</version> |
| 262 | <executions> |
| 263 | <execution> |
| 264 | <id>default-prepare-agent</id> |
| 265 | <goals> |
| 266 | <goal>prepare-agent</goal> |
| 267 | </goals> |
| 268 | </execution> |
| 269 | <execution> |
| 270 | <id>default-report</id> |
| 271 | <phase>prepare-package</phase> |
| 272 | <goals> |
| 273 | <goal>report</goal> |
| 274 | </goals> |
| 275 | </execution> |
| 276 | </executions> |
| 277 | </plugin> |
| 278 | |
| 279 | <plugin> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 280 | <groupId>org.apache.maven.plugins</groupId> |
| 281 | <artifactId>maven-javadoc-plugin</artifactId> |
| 282 | <version>2.9.1</version> |
| 283 | <configuration> |
| 284 | <docfilessubdirs>true</docfilessubdirs> |
| 285 | <doctitle>ONOS Java API</doctitle> |
| 286 | <groups> |
| 287 | <group> |
| 288 | <title>Network Model & Services</title> |
| 289 | <packages> |
tom | 5f38b3a | 2014-08-27 23:50:54 -0700 | [diff] [blame] | 290 | org.onlab.onos:org.onlab.onos.* |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 291 | </packages> |
| 292 | </group> |
| 293 | <group> |
| 294 | <title>Core Subsystems</title> |
| 295 | <packages> |
tom | 5f38b3a | 2014-08-27 23:50:54 -0700 | [diff] [blame] | 296 | org.onlab.onos.net.trivial.impl:org.onlab.onos.net.*.impl:org.onlab.onos.impl:org.onlab.onos.event.impl |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 297 | </packages> |
| 298 | </group> |
| 299 | <group> |
| 300 | <title>OpenFlow Providers & Controller |
| 301 | </title> |
| 302 | <packages> |
tom | e06f855 | 2014-08-26 16:58:42 -0700 | [diff] [blame] | 303 | org.onlab.onos.provider.of.*:org.onlab.onos.of.* |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 304 | </packages> |
| 305 | </group> |
| 306 | <group> |
| 307 | <title>Utilities</title> |
| 308 | <packages> |
| 309 | org.onlab.util:org.onlab.util.* |
| 310 | </packages> |
| 311 | </group> |
| 312 | <group> |
| 313 | <title>GUI, REST & Command-Line</title> |
| 314 | <packages> |
| 315 | org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.* |
| 316 | </packages> |
| 317 | </group> |
| 318 | </groups> |
| 319 | </configuration> |
| 320 | </plugin> |
| 321 | |
| 322 | </plugins> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 323 | </build> |
alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 324 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 325 | <reporting> |
| 326 | <plugins> |
| 327 | <plugin> |
| 328 | <groupId>org.apache.maven.plugins</groupId> |
| 329 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 330 | <version>2.12.1</version> |
| 331 | <configuration> |
| 332 | <configLocation>onos/checkstyle.xml</configLocation> |
| 333 | </configuration> |
| 334 | </plugin> |
| 335 | </plugins> |
| 336 | |
| 337 | </reporting> |
| 338 | |
alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 339 | </project> |