Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | 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 | |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 5 | <parent> |
| 6 | <groupId>org.sonatype.oss</groupId> |
| 7 | <artifactId>oss-parent</artifactId> |
| 8 | <version>7</version> |
| 9 | </parent> |
| 10 | |
Brian O'Connor | 3efb663 | 2014-12-03 14:00:13 -0800 | [diff] [blame] | 11 | <groupId>org.onosproject</groupId> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 12 | <artifactId>openflowj</artifactId> |
Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame^] | 13 | <version>3.2.0.onos-SNAPSHOT</version> |
Brian O'Connor | 28e0563 | 2016-04-04 17:22:44 -0700 | [diff] [blame] | 14 | <packaging>bundle</packaging> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 15 | |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 16 | <name>OpenFlowJ-Loxi</name> |
Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame^] | 17 | <description>OpenFlowJ API supporting OpenFlow versions 1.0 through 1.5.1, generated by LoxiGen</description> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 18 | <url>http://www.projectfloodlight.org/projects/</url> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 19 | <licenses> |
| 20 | <license> |
| 21 | <name>The Apache Software License, Version 2.0</name> |
| 22 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 23 | <distribution>repo</distribution> |
| 24 | </license> |
| 25 | </licenses> |
| 26 | <scm> |
| 27 | <connection>scm:git:git@github.com:floodlight/loxigen.git</connection> |
| 28 | <developerConnection>scm:git:git@github.com:floodlight/loxigen.git</developerConnection> |
| 29 | <url>git@github.com:floodlight/loxigen.git</url> |
| 30 | </scm> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 31 | |
| 32 | <properties> |
| 33 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 34 | </properties> |
| 35 | |
Brian O'Connor | 5fde105 | 2015-07-24 16:07:07 -0700 | [diff] [blame] | 36 | <distributionManagement> |
| 37 | <snapshotRepository> |
| 38 | <id>ossrh</id> |
| 39 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 40 | </snapshotRepository> |
| 41 | </distributionManagement> |
| 42 | |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 43 | <dependencies> |
Brian O'Connor | 28e0563 | 2016-04-04 17:22:44 -0700 | [diff] [blame] | 44 | <!-- This is only needed for compile-time annotations --> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 45 | <dependency> |
xinwu | 3203443 | 2013-09-18 17:17:50 -0700 | [diff] [blame] | 46 | <groupId>com.google.code.findbugs</groupId> |
| 47 | <artifactId>annotations</artifactId> |
Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame^] | 48 | <version>3.0.1u2</version> |
xinwu | 3203443 | 2013-09-18 17:17:50 -0700 | [diff] [blame] | 49 | </dependency> |
| 50 | <dependency> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 51 | <groupId>junit</groupId> |
| 52 | <artifactId>junit</artifactId> |
Andreas Wundsam | b126d12 | 2015-08-24 07:58:19 -0700 | [diff] [blame] | 53 | <version>4.12</version> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 54 | <scope>test</scope> |
| 55 | </dependency> |
| 56 | <dependency> |
Rob Vaterlaus | 0bea4e0 | 2013-11-25 12:02:55 -0800 | [diff] [blame] | 57 | <groupId>org.hamcrest</groupId> |
| 58 | <artifactId>hamcrest-integration</artifactId> |
| 59 | <version>1.3</version> |
| 60 | <scope>test</scope> |
| 61 | </dependency> |
| 62 | <dependency> |
Andreas Wundsam | 598d43e | 2014-02-06 19:20:18 -0800 | [diff] [blame] | 63 | <groupId>io.netty</groupId> |
Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame^] | 64 | <artifactId>netty-all</artifactId> |
| 65 | <version>4.0.31.Final</version> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>com.google.guava</groupId> |
| 69 | <artifactId>guava</artifactId> |
Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame^] | 70 | <version>20.0</version> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 71 | </dependency> |
Andreas Wundsam | 70aa549 | 2013-10-23 15:26:53 -0700 | [diff] [blame] | 72 | <dependency> |
| 73 | <groupId>org.slf4j</groupId> |
| 74 | <artifactId>slf4j-api</artifactId> |
Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame^] | 75 | <version>1.7.22</version> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>ch.qos.logback</groupId> |
| 79 | <artifactId>logback-core</artifactId> |
| 80 | <version>1.1.10</version> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>ch.qos.logback</groupId> |
| 84 | <artifactId>logback-classic</artifactId> |
| 85 | <version>1.1.10</version> |
Andreas Wundsam | a8757ea | 2013-11-15 13:54:29 -0800 | [diff] [blame] | 86 | </dependency> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 87 | </dependencies> |
| 88 | <build> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 89 | <plugins> |
| 90 | <plugin> |
| 91 | <groupId>org.apache.maven.plugins</groupId> |
| 92 | <artifactId>maven-compiler-plugin</artifactId> |
| 93 | <version>3.1</version> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 94 | <configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 95 | <source>1.7</source> |
| 96 | <target>1.7</target> |
Andreas Wundsam | d458199 | 2013-09-11 11:12:58 -0700 | [diff] [blame] | 97 | </configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 98 | </plugin> |
| 99 | <plugin> |
| 100 | <!-- pick up sources from gen-src --> |
| 101 | <groupId>org.codehaus.mojo</groupId> |
| 102 | <artifactId>build-helper-maven-plugin</artifactId> |
| 103 | <version>1.8</version> |
| 104 | <executions> |
| 105 | <execution> |
| 106 | <id>gen-src-add-source</id> |
| 107 | <phase>generate-sources</phase> |
| 108 | <goals><goal>add-source</goal></goals> |
| 109 | <configuration> |
| 110 | <sources> |
| 111 | <source>gen-src/main/java</source> |
| 112 | </sources> |
| 113 | </configuration> |
| 114 | </execution> |
| 115 | <execution> |
| 116 | <id>add-gen-src-test-source</id> |
| 117 | <!-- note: purposefully not using phase generate-test-sources, because that is not picked up by eclipse:eclipse --> |
| 118 | <phase>validate</phase> |
| 119 | <goals><goal>add-test-source</goal></goals> |
| 120 | <configuration> |
| 121 | <sources> |
| 122 | <source>gen-src/test/java</source> |
| 123 | </sources> |
| 124 | </configuration> |
| 125 | </execution> |
| 126 | </executions> |
| 127 | </plugin> |
| 128 | <!-- attach sources --> |
| 129 | <plugin> |
| 130 | <groupId>org.apache.maven.plugins</groupId> |
| 131 | <artifactId>maven-source-plugin</artifactId> |
| 132 | <version>2.2.1</version> |
| 133 | <executions> |
| 134 | <execution> |
| 135 | <id>attach-sources</id> |
| 136 | <goals> |
| 137 | <goal>jar</goal> |
| 138 | </goals> |
| 139 | </execution> |
| 140 | </executions> |
| 141 | </plugin> |
| 142 | <!-- attach javadoc --> |
| 143 | <plugin> |
| 144 | <groupId>org.apache.maven.plugins</groupId> |
| 145 | <artifactId>maven-javadoc-plugin</artifactId> |
| 146 | <version>2.9.1</version> |
Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame^] | 147 | <configuration> |
| 148 | <maxmemory>1024m</maxmemory> |
| 149 | </configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 150 | <executions> |
| 151 | <execution> |
| 152 | <id>attach-javadocs</id> |
| 153 | <goals> |
| 154 | <goal>jar</goal> |
| 155 | </goals> |
Brian O'Connor | cfdd172 | 2015-09-03 15:34:43 -0700 | [diff] [blame] | 156 | <!-- |
| 157 | The following configuration turns of DocLint which is enabled in Java 8. |
| 158 | FIXME This can be removed if/when Javadoc comments pass DocLint. |
| 159 | --> |
| 160 | <configuration> |
| 161 | <additionalparam>-Xdoclint:none</additionalparam> |
| 162 | </configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 163 | </execution> |
| 164 | </executions> |
| 165 | </plugin> |
| 166 | <plugin> |
| 167 | <groupId>org.apache.maven.plugins</groupId> |
| 168 | <artifactId>maven-eclipse-plugin</artifactId> |
| 169 | <version>2.9</version> |
Andreas Wundsam | d458199 | 2013-09-11 11:12:58 -0700 | [diff] [blame] | 170 | <configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 171 | <downloadSources>true</downloadSources> |
| 172 | <downloadJavadocs>true</downloadJavadocs> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 173 | </configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 174 | </plugin> |
Andreas Wundsam | 84bdf5d | 2013-11-20 15:16:06 -0800 | [diff] [blame] | 175 | <!-- use maven git-commit-id plugin to provide vcs metadata --> |
| 176 | <plugin> |
| 177 | <groupId>pl.project13.maven</groupId> |
| 178 | <artifactId>git-commit-id-plugin</artifactId> |
| 179 | <version>2.1.5</version> |
| 180 | <executions> |
| 181 | <execution> |
| 182 | <goals> |
| 183 | <goal>revision</goal> |
| 184 | </goals> |
| 185 | </execution> |
| 186 | </executions> |
| 187 | |
| 188 | <configuration> |
| 189 | <!-- our BuildInfoManager expects dates to be in ISO-8601 format --> |
| 190 | <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat> |
| 191 | |
| 192 | <verbose>true</verbose> |
| 193 | |
| 194 | <skipPoms>true</skipPoms> |
| 195 | <generateGitPropertiesFile>false</generateGitPropertiesFile> |
| 196 | <dotGitDirectory>${project.basedir}/../../.git</dotGitDirectory> |
| 197 | <failOnNoGitDirectory>false</failOnNoGitDirectory> |
| 198 | |
| 199 | <gitDescribe> |
Andreas Wundsam | 133db45 | 2014-04-03 13:17:48 -0700 | [diff] [blame] | 200 | <skip>true</skip> |
Andreas Wundsam | 84bdf5d | 2013-11-20 15:16:06 -0800 | [diff] [blame] | 201 | <always>true</always> |
| 202 | <abbrev>7</abbrev> |
| 203 | <dirty>-dirty</dirty> |
| 204 | <forceLongFormat>false</forceLongFormat> |
| 205 | </gitDescribe> |
| 206 | </configuration> |
| 207 | </plugin> |
| 208 | <!-- include git info in generated jars --> |
| 209 | <plugin> |
| 210 | <groupId>org.apache.maven.plugins</groupId> |
| 211 | <artifactId>maven-jar-plugin</artifactId> |
| 212 | <version>2.4</version> |
| 213 | <executions> |
| 214 | <execution> |
| 215 | <goals> |
| 216 | <goal>test-jar</goal> |
| 217 | </goals> |
| 218 | </execution> |
| 219 | </executions> |
| 220 | <configuration> |
| 221 | <archive> |
| 222 | <manifest> |
| 223 | <mainClass>org.projectfloodlight.core.Main</mainClass> |
| 224 | </manifest> |
| 225 | <manifestSections> |
| 226 | <manifestSection> |
| 227 | <name>Floodlight-buildinfo</name> |
| 228 | <manifestEntries> |
| 229 | <projectName>${project.name}</projectName> |
| 230 | <version>${project.version}</version> |
| 231 | <vcsRevision>${git.commit.id.abbrev}</vcsRevision> |
Andreas Wundsam | 133db45 | 2014-04-03 13:17:48 -0700 | [diff] [blame] | 232 | <!-- note: git.branch does not work in jenkins, because jenkins |
| 233 | builds the system in 'detached head' state. Because we mostly |
| 234 | about jenkins builds, we instead use the environment variable |
| 235 | GIT_BRANCH set by jenkins here --> |
| 236 | <vcsBranch>${env.GIT_BRANCH}</vcsBranch> |
Andreas Wundsam | 84bdf5d | 2013-11-20 15:16:06 -0800 | [diff] [blame] | 237 | <buildUser>${user.name}</buildUser> |
| 238 | <buildDate>${git.build.time}</buildDate> |
Andreas Wundsam | 133db45 | 2014-04-03 13:17:48 -0700 | [diff] [blame] | 239 | <!-- continuous integration information from jenkins env variables: |
| 240 | https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-below --> |
| 241 | <ciBuildNumber>${env.BUILD_NUMBER}</ciBuildNumber> |
| 242 | <ciBuildId>${env.BUILD_ID}</ciBuildId> |
| 243 | <ciBuildTag>${env.BUILD_TAG}</ciBuildTag> |
| 244 | <ciJobName>${env.JOB_NAME}</ciJobName> |
Brian O'Connor | 19ba9fc | 2014-12-03 19:29:53 -0800 | [diff] [blame] | 245 | <ciNodeName>${env.NODE_NAME}</ciNodeName> |
Andreas Wundsam | 84bdf5d | 2013-11-20 15:16:06 -0800 | [diff] [blame] | 246 | </manifestEntries> |
| 247 | </manifestSection> |
| 248 | </manifestSections> |
| 249 | </archive> |
| 250 | </configuration> |
| 251 | </plugin> |
Brian O'Connor | 28e0563 | 2016-04-04 17:22:44 -0700 | [diff] [blame] | 252 | <!-- include OSGi headers in MANIFEST --> |
| 253 | <plugin> |
| 254 | <groupId>org.apache.felix</groupId> |
| 255 | <artifactId>maven-bundle-plugin</artifactId> |
| 256 | <version>3.0.1</version> |
| 257 | <extensions>true</extensions> |
Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame^] | 258 | <configuration> |
| 259 | <niceManifest>true</niceManifest> |
| 260 | <instructions> |
| 261 | <!-- Compile-time dependency can be optional--> |
| 262 | <!-- Any Guava version 20.0 or later--> |
| 263 | <Import-Package> |
| 264 | javax.annotation;resolution:=optional, |
| 265 | com.google.*;version=20.0, |
| 266 | * |
| 267 | </Import-Package> |
| 268 | </instructions> |
| 269 | </configuration> |
Brian O'Connor | 28e0563 | 2016-04-04 17:22:44 -0700 | [diff] [blame] | 270 | </plugin> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 271 | </plugins> |
| 272 | <resources> |
| 273 | <resource> |
| 274 | <directory>${basedir}</directory> |
| 275 | <filtering>false</filtering> |
| 276 | <includes> |
| 277 | <include>LICENSE.txt</include> |
| 278 | </includes> |
| 279 | </resource> |
| 280 | </resources> |
| 281 | </build> |
Brian O'Connor | 19ba9fc | 2014-12-03 19:29:53 -0800 | [diff] [blame] | 282 | <profiles> |
| 283 | <profile> |
| 284 | <id>release</id> |
| 285 | <build> |
| 286 | <plugins> |
| 287 | <plugin> |
| 288 | <groupId>org.apache.maven.plugins</groupId> |
| 289 | <artifactId>maven-source-plugin</artifactId> |
| 290 | <version>2.2.1</version> |
| 291 | <executions> |
| 292 | <execution> |
| 293 | <id>attach-sources</id> |
| 294 | <goals> |
| 295 | <goal>jar-no-fork</goal> |
| 296 | </goals> |
| 297 | </execution> |
| 298 | </executions> |
| 299 | </plugin> |
| 300 | <plugin> |
| 301 | <groupId>org.apache.maven.plugins</groupId> |
| 302 | <artifactId>maven-javadoc-plugin</artifactId> |
| 303 | <version>2.9.1</version> |
Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame^] | 304 | <configuration> |
| 305 | <maxmemory>1024m</maxmemory> |
| 306 | </configuration> |
Brian O'Connor | 19ba9fc | 2014-12-03 19:29:53 -0800 | [diff] [blame] | 307 | <executions> |
| 308 | <execution> |
| 309 | <id>attach-javadocs</id> |
| 310 | <goals> |
| 311 | <goal>jar</goal> |
| 312 | </goals> |
| 313 | </execution> |
| 314 | </executions> |
| 315 | </plugin> |
| 316 | <plugin> |
| 317 | <groupId>org.apache.maven.plugins</groupId> |
| 318 | <artifactId>maven-gpg-plugin</artifactId> |
| 319 | <version>1.5</version> |
| 320 | <executions> |
| 321 | <execution> |
| 322 | <id>sign-artifacts</id> |
| 323 | <phase>verify</phase> |
| 324 | <goals> |
| 325 | <goal>sign</goal> |
| 326 | </goals> |
| 327 | </execution> |
| 328 | </executions> |
| 329 | </plugin> |
| 330 | <plugin> |
| 331 | <groupId>org.sonatype.plugins</groupId> |
| 332 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 333 | <version>1.6.5</version> |
| 334 | <extensions>true</extensions> |
| 335 | <configuration> |
| 336 | <serverId>ossrh</serverId> |
| 337 | <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 338 | <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 339 | </configuration> |
| 340 | </plugin> |
| 341 | </plugins> |
| 342 | </build> |
| 343 | </profile> |
| 344 | </profiles> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 345 | </project> |