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 | |
Andreas Wundsam | 11f6384 | 2013-09-10 18:01:43 -0700 | [diff] [blame] | 11 | <groupId>org.projectfloodlight</groupId> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 12 | <artifactId>openflowj</artifactId> |
Andreas Wundsam | 3796c04 | 2013-09-24 11:20:05 -0700 | [diff] [blame] | 13 | <version>0.2.0-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 | |
| 36 | <dependencies> |
| 37 | <dependency> |
xinwu | 3203443 | 2013-09-18 17:17:50 -0700 | [diff] [blame] | 38 | <groupId>com.google.code.findbugs</groupId> |
| 39 | <artifactId>annotations</artifactId> |
| 40 | <version>2.0.1</version> |
| 41 | </dependency> |
| 42 | <dependency> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 43 | <groupId>junit</groupId> |
| 44 | <artifactId>junit</artifactId> |
| 45 | <version>4.8.2</version> |
| 46 | <scope>test</scope> |
| 47 | </dependency> |
| 48 | <dependency> |
| 49 | <groupId>org.jboss.netty</groupId> |
| 50 | <artifactId>netty</artifactId> |
| 51 | <version>3.2.9.Final</version> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>com.google.guava</groupId> |
| 55 | <artifactId>guava</artifactId> |
| 56 | <version>14.0.1</version> |
| 57 | </dependency> |
| 58 | </dependencies> |
| 59 | <build> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 60 | <plugins> |
| 61 | <plugin> |
| 62 | <groupId>org.apache.maven.plugins</groupId> |
| 63 | <artifactId>maven-compiler-plugin</artifactId> |
| 64 | <version>3.1</version> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 65 | <configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 66 | <source>1.7</source> |
| 67 | <target>1.7</target> |
Andreas Wundsam | d458199 | 2013-09-11 11:12:58 -0700 | [diff] [blame] | 68 | </configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 69 | </plugin> |
| 70 | <plugin> |
| 71 | <!-- pick up sources from gen-src --> |
| 72 | <groupId>org.codehaus.mojo</groupId> |
| 73 | <artifactId>build-helper-maven-plugin</artifactId> |
| 74 | <version>1.8</version> |
| 75 | <executions> |
| 76 | <execution> |
| 77 | <id>gen-src-add-source</id> |
| 78 | <phase>generate-sources</phase> |
| 79 | <goals><goal>add-source</goal></goals> |
| 80 | <configuration> |
| 81 | <sources> |
| 82 | <source>gen-src/main/java</source> |
| 83 | </sources> |
| 84 | </configuration> |
| 85 | </execution> |
| 86 | <execution> |
| 87 | <id>add-gen-src-test-source</id> |
| 88 | <!-- note: purposefully not using phase generate-test-sources, because that is not picked up by eclipse:eclipse --> |
| 89 | <phase>validate</phase> |
| 90 | <goals><goal>add-test-source</goal></goals> |
| 91 | <configuration> |
| 92 | <sources> |
| 93 | <source>gen-src/test/java</source> |
| 94 | </sources> |
| 95 | </configuration> |
| 96 | </execution> |
| 97 | </executions> |
| 98 | </plugin> |
| 99 | <!-- attach sources --> |
| 100 | <plugin> |
| 101 | <groupId>org.apache.maven.plugins</groupId> |
| 102 | <artifactId>maven-source-plugin</artifactId> |
| 103 | <version>2.2.1</version> |
| 104 | <executions> |
| 105 | <execution> |
| 106 | <id>attach-sources</id> |
| 107 | <goals> |
| 108 | <goal>jar</goal> |
| 109 | </goals> |
| 110 | </execution> |
| 111 | </executions> |
| 112 | </plugin> |
| 113 | <!-- attach javadoc --> |
| 114 | <plugin> |
| 115 | <groupId>org.apache.maven.plugins</groupId> |
| 116 | <artifactId>maven-javadoc-plugin</artifactId> |
| 117 | <version>2.9.1</version> |
| 118 | <executions> |
| 119 | <execution> |
| 120 | <id>attach-javadocs</id> |
| 121 | <goals> |
| 122 | <goal>jar</goal> |
| 123 | </goals> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | </plugin> |
| 127 | <plugin> |
| 128 | <groupId>org.apache.maven.plugins</groupId> |
| 129 | <artifactId>maven-eclipse-plugin</artifactId> |
| 130 | <version>2.9</version> |
Andreas Wundsam | d458199 | 2013-09-11 11:12:58 -0700 | [diff] [blame] | 131 | <configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 132 | <downloadSources>true</downloadSources> |
| 133 | <downloadJavadocs>true</downloadJavadocs> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 134 | </configuration> |
Andreas Wundsam | baf058d | 2013-09-12 15:58:17 -0700 | [diff] [blame] | 135 | </plugin> |
| 136 | <!-- |
| 137 | <plugin> |
| 138 | <groupId>org.apache.maven.plugins</groupId> |
| 139 | <artifactId>maven-gpg-plugin</artifactId> |
| 140 | <version>1.4</version> |
| 141 | <executions> |
| 142 | <execution> |
| 143 | <id>sign-artifacts</id> |
| 144 | <phase>verify</phase> |
| 145 | <goals> |
| 146 | <goal>sign</goal> |
| 147 | </goals> |
| 148 | </execution> |
| 149 | </executions> |
| 150 | </plugin> |
| 151 | --> |
| 152 | </plugins> |
| 153 | <resources> |
| 154 | <resource> |
| 155 | <directory>${basedir}</directory> |
| 156 | <filtering>false</filtering> |
| 157 | <includes> |
| 158 | <include>LICENSE.txt</include> |
| 159 | </includes> |
| 160 | </resource> |
| 161 | </resources> |
| 162 | </build> |
Andreas Wundsam | ac285ba | 2013-07-24 20:29:42 -0700 | [diff] [blame] | 163 | </project> |