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> |
Brian O'Connor | 1e82b4b | 2015-06-08 17:58:28 -0700 | [diff] [blame] | 13 | <version>0.4.1.onos-SNAPSHOT</version> |
Andreas Wundsam | cbb7277 | 2013-09-10 18:17:41 -0700 | [diff] [blame] | 14 | <packaging>jar</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> |
| 17 | <description>OpenFlowJ API supporting OpenFlow versions 1.0 through 1.3.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> |
| 44 | <dependency> |
xinwu | 3203443 | 2013-09-18 17:17:50 -0700 | [diff] [blame] | 45 | <groupId>com.google.code.findbugs</groupId> |
| 46 | <artifactId>annotations</artifactId> |
Rob Vaterlaus | 6d5832a | 2013-10-18 19:40:04 -0700 | [diff] [blame] | 47 | <version>2.0.2</version> |
xinwu | 3203443 | 2013-09-18 17:17:50 -0700 | [diff] [blame] | 48 | </dependency> |
| 49 | <dependency> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 50 | <groupId>junit</groupId> |
| 51 | <artifactId>junit</artifactId> |
Rob Vaterlaus | 6d5832a | 2013-10-18 19:40:04 -0700 | [diff] [blame] | 52 | <version>4.11</version> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 53 | <scope>test</scope> |
| 54 | </dependency> |
| 55 | <dependency> |
Rob Vaterlaus | 0bea4e0 | 2013-11-25 12:02:55 -0800 | [diff] [blame] | 56 | <groupId>org.hamcrest</groupId> |
| 57 | <artifactId>hamcrest-integration</artifactId> |
| 58 | <version>1.3</version> |
| 59 | <scope>test</scope> |
| 60 | </dependency> |
| 61 | <dependency> |
Andreas Wundsam | 598d43e | 2014-02-06 19:20:18 -0800 | [diff] [blame] | 62 | <groupId>io.netty</groupId> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 63 | <artifactId>netty</artifactId> |
Andreas Wundsam | 598d43e | 2014-02-06 19:20:18 -0800 | [diff] [blame] | 64 | <version>3.9.0.Final</version> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>com.google.guava</groupId> |
| 68 | <artifactId>guava</artifactId> |
Andreas Wundsam | 2df1c23 | 2014-07-01 12:24:04 -0700 | [diff] [blame] | 69 | <version>17.0</version> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 70 | </dependency> |
Andreas Wundsam | 70aa549 | 2013-10-23 15:26:53 -0700 | [diff] [blame] | 71 | <dependency> |
| 72 | <groupId>org.slf4j</groupId> |
| 73 | <artifactId>slf4j-api</artifactId> |
| 74 | <version>1.7.5</version> |
| 75 | </dependency> |
Andreas Wundsam | a8757ea | 2013-11-15 13:54:29 -0800 | [diff] [blame] | 76 | <dependency> |
| 77 | <groupId>ch.qos.logback</groupId> |
| 78 | <artifactId>logback-core</artifactId> |
| 79 | <version>1.0.13</version> |
| 80 | </dependency> |
| 81 | <dependency> |
| 82 | <groupId>ch.qos.logback</groupId> |
| 83 | <artifactId>logback-classic</artifactId> |
| 84 | <version>1.0.13</version> |
| 85 | </dependency> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 86 | </dependencies> |
| 87 | <build> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 88 | <plugins> |
| 89 | <plugin> |
| 90 | <groupId>org.apache.maven.plugins</groupId> |
| 91 | <artifactId>maven-compiler-plugin</artifactId> |
| 92 | <version>3.1</version> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 93 | <configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 94 | <source>1.7</source> |
| 95 | <target>1.7</target> |
Andreas Wundsam | d458199 | 2013-09-11 11:12:58 -0700 | [diff] [blame] | 96 | </configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 97 | </plugin> |
| 98 | <plugin> |
| 99 | <!-- pick up sources from gen-src --> |
| 100 | <groupId>org.codehaus.mojo</groupId> |
| 101 | <artifactId>build-helper-maven-plugin</artifactId> |
| 102 | <version>1.8</version> |
| 103 | <executions> |
| 104 | <execution> |
| 105 | <id>gen-src-add-source</id> |
| 106 | <phase>generate-sources</phase> |
| 107 | <goals><goal>add-source</goal></goals> |
| 108 | <configuration> |
| 109 | <sources> |
| 110 | <source>gen-src/main/java</source> |
| 111 | </sources> |
| 112 | </configuration> |
| 113 | </execution> |
| 114 | <execution> |
| 115 | <id>add-gen-src-test-source</id> |
| 116 | <!-- note: purposefully not using phase generate-test-sources, because that is not picked up by eclipse:eclipse --> |
| 117 | <phase>validate</phase> |
| 118 | <goals><goal>add-test-source</goal></goals> |
| 119 | <configuration> |
| 120 | <sources> |
| 121 | <source>gen-src/test/java</source> |
| 122 | </sources> |
| 123 | </configuration> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | </plugin> |
| 127 | <!-- attach sources --> |
| 128 | <plugin> |
| 129 | <groupId>org.apache.maven.plugins</groupId> |
| 130 | <artifactId>maven-source-plugin</artifactId> |
| 131 | <version>2.2.1</version> |
| 132 | <executions> |
| 133 | <execution> |
| 134 | <id>attach-sources</id> |
| 135 | <goals> |
| 136 | <goal>jar</goal> |
| 137 | </goals> |
| 138 | </execution> |
| 139 | </executions> |
| 140 | </plugin> |
| 141 | <!-- attach javadoc --> |
| 142 | <plugin> |
| 143 | <groupId>org.apache.maven.plugins</groupId> |
| 144 | <artifactId>maven-javadoc-plugin</artifactId> |
| 145 | <version>2.9.1</version> |
| 146 | <executions> |
| 147 | <execution> |
| 148 | <id>attach-javadocs</id> |
| 149 | <goals> |
| 150 | <goal>jar</goal> |
| 151 | </goals> |
| 152 | </execution> |
| 153 | </executions> |
| 154 | </plugin> |
| 155 | <plugin> |
| 156 | <groupId>org.apache.maven.plugins</groupId> |
| 157 | <artifactId>maven-eclipse-plugin</artifactId> |
| 158 | <version>2.9</version> |
Andreas Wundsam | d458199 | 2013-09-11 11:12:58 -0700 | [diff] [blame] | 159 | <configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 160 | <downloadSources>true</downloadSources> |
| 161 | <downloadJavadocs>true</downloadJavadocs> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 162 | </configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 163 | </plugin> |
Andreas Wundsam | 84bdf5d | 2013-11-20 15:16:06 -0800 | [diff] [blame] | 164 | <!-- use maven git-commit-id plugin to provide vcs metadata --> |
| 165 | <plugin> |
| 166 | <groupId>pl.project13.maven</groupId> |
| 167 | <artifactId>git-commit-id-plugin</artifactId> |
| 168 | <version>2.1.5</version> |
| 169 | <executions> |
| 170 | <execution> |
| 171 | <goals> |
| 172 | <goal>revision</goal> |
| 173 | </goals> |
| 174 | </execution> |
| 175 | </executions> |
| 176 | |
| 177 | <configuration> |
| 178 | <!-- our BuildInfoManager expects dates to be in ISO-8601 format --> |
| 179 | <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat> |
| 180 | |
| 181 | <verbose>true</verbose> |
| 182 | |
| 183 | <skipPoms>true</skipPoms> |
| 184 | <generateGitPropertiesFile>false</generateGitPropertiesFile> |
| 185 | <dotGitDirectory>${project.basedir}/../../.git</dotGitDirectory> |
| 186 | <failOnNoGitDirectory>false</failOnNoGitDirectory> |
| 187 | |
| 188 | <gitDescribe> |
Andreas Wundsam | 133db45 | 2014-04-03 13:17:48 -0700 | [diff] [blame] | 189 | <skip>true</skip> |
Andreas Wundsam | 84bdf5d | 2013-11-20 15:16:06 -0800 | [diff] [blame] | 190 | <always>true</always> |
| 191 | <abbrev>7</abbrev> |
| 192 | <dirty>-dirty</dirty> |
| 193 | <forceLongFormat>false</forceLongFormat> |
| 194 | </gitDescribe> |
| 195 | </configuration> |
| 196 | </plugin> |
| 197 | <!-- include git info in generated jars --> |
| 198 | <plugin> |
| 199 | <groupId>org.apache.maven.plugins</groupId> |
| 200 | <artifactId>maven-jar-plugin</artifactId> |
| 201 | <version>2.4</version> |
| 202 | <executions> |
| 203 | <execution> |
| 204 | <goals> |
| 205 | <goal>test-jar</goal> |
| 206 | </goals> |
| 207 | </execution> |
| 208 | </executions> |
| 209 | <configuration> |
| 210 | <archive> |
| 211 | <manifest> |
| 212 | <mainClass>org.projectfloodlight.core.Main</mainClass> |
| 213 | </manifest> |
| 214 | <manifestSections> |
| 215 | <manifestSection> |
| 216 | <name>Floodlight-buildinfo</name> |
| 217 | <manifestEntries> |
| 218 | <projectName>${project.name}</projectName> |
| 219 | <version>${project.version}</version> |
| 220 | <vcsRevision>${git.commit.id.abbrev}</vcsRevision> |
Andreas Wundsam | 133db45 | 2014-04-03 13:17:48 -0700 | [diff] [blame] | 221 | <!-- note: git.branch does not work in jenkins, because jenkins |
| 222 | builds the system in 'detached head' state. Because we mostly |
| 223 | about jenkins builds, we instead use the environment variable |
| 224 | GIT_BRANCH set by jenkins here --> |
| 225 | <vcsBranch>${env.GIT_BRANCH}</vcsBranch> |
Andreas Wundsam | 84bdf5d | 2013-11-20 15:16:06 -0800 | [diff] [blame] | 226 | <buildUser>${user.name}</buildUser> |
| 227 | <buildDate>${git.build.time}</buildDate> |
Andreas Wundsam | 133db45 | 2014-04-03 13:17:48 -0700 | [diff] [blame] | 228 | <!-- continuous integration information from jenkins env variables: |
| 229 | https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-below --> |
| 230 | <ciBuildNumber>${env.BUILD_NUMBER}</ciBuildNumber> |
| 231 | <ciBuildId>${env.BUILD_ID}</ciBuildId> |
| 232 | <ciBuildTag>${env.BUILD_TAG}</ciBuildTag> |
| 233 | <ciJobName>${env.JOB_NAME}</ciJobName> |
Brian O'Connor | 19ba9fc | 2014-12-03 19:29:53 -0800 | [diff] [blame] | 234 | <ciNodeName>${env.NODE_NAME}</ciNodeName> |
Andreas Wundsam | 84bdf5d | 2013-11-20 15:16:06 -0800 | [diff] [blame] | 235 | </manifestEntries> |
| 236 | </manifestSection> |
| 237 | </manifestSections> |
| 238 | </archive> |
| 239 | </configuration> |
| 240 | </plugin> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 241 | </plugins> |
| 242 | <resources> |
| 243 | <resource> |
| 244 | <directory>${basedir}</directory> |
| 245 | <filtering>false</filtering> |
| 246 | <includes> |
| 247 | <include>LICENSE.txt</include> |
| 248 | </includes> |
| 249 | </resource> |
| 250 | </resources> |
| 251 | </build> |
Brian O'Connor | 19ba9fc | 2014-12-03 19:29:53 -0800 | [diff] [blame] | 252 | <profiles> |
| 253 | <profile> |
| 254 | <id>release</id> |
| 255 | <build> |
| 256 | <plugins> |
| 257 | <plugin> |
| 258 | <groupId>org.apache.maven.plugins</groupId> |
| 259 | <artifactId>maven-source-plugin</artifactId> |
| 260 | <version>2.2.1</version> |
| 261 | <executions> |
| 262 | <execution> |
| 263 | <id>attach-sources</id> |
| 264 | <goals> |
| 265 | <goal>jar-no-fork</goal> |
| 266 | </goals> |
| 267 | </execution> |
| 268 | </executions> |
| 269 | </plugin> |
| 270 | <plugin> |
| 271 | <groupId>org.apache.maven.plugins</groupId> |
| 272 | <artifactId>maven-javadoc-plugin</artifactId> |
| 273 | <version>2.9.1</version> |
| 274 | <executions> |
| 275 | <execution> |
| 276 | <id>attach-javadocs</id> |
| 277 | <goals> |
| 278 | <goal>jar</goal> |
| 279 | </goals> |
| 280 | </execution> |
| 281 | </executions> |
| 282 | </plugin> |
| 283 | <plugin> |
| 284 | <groupId>org.apache.maven.plugins</groupId> |
| 285 | <artifactId>maven-gpg-plugin</artifactId> |
| 286 | <version>1.5</version> |
| 287 | <executions> |
| 288 | <execution> |
| 289 | <id>sign-artifacts</id> |
| 290 | <phase>verify</phase> |
| 291 | <goals> |
| 292 | <goal>sign</goal> |
| 293 | </goals> |
| 294 | </execution> |
| 295 | </executions> |
| 296 | </plugin> |
| 297 | <plugin> |
| 298 | <groupId>org.sonatype.plugins</groupId> |
| 299 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 300 | <version>1.6.5</version> |
| 301 | <extensions>true</extensions> |
| 302 | <configuration> |
| 303 | <serverId>ossrh</serverId> |
| 304 | <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 305 | <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 306 | </configuration> |
| 307 | </plugin> |
| 308 | </plugins> |
| 309 | </build> |
| 310 | </profile> |
| 311 | </profiles> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 312 | </project> |