blob: 0cb42ac5944f05f62a1b9c8f6387d86c0e340caa [file] [log] [blame]
Andreas Wundsamac285ba2013-07-24 20:29:42 -07001<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 Wundsambaf058d2013-09-12 15:58:17 -07005 <parent>
6 <groupId>org.sonatype.oss</groupId>
7 <artifactId>oss-parent</artifactId>
8 <version>7</version>
9 </parent>
10
Andreas Wundsam11f63842013-09-10 18:01:43 -070011 <groupId>org.projectfloodlight</groupId>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070012 <artifactId>openflowj</artifactId>
Andreas Wundsam98a18632013-11-05 11:34:24 -080013 <version>0.3.1-SNAPSHOT</version>
Andreas Wundsamcbb72772013-09-10 18:17:41 -070014 <packaging>jar</packaging>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070015
Andreas Wundsambaf058d2013-09-12 15:58:17 -070016 <name>OpenFlowJ-Loxi</name>
17 <description>OpenFlowJ API supporting OpenFlow versions 1.0 through 1.3.1, generated by LoxiGen</description>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070018 <url>http://www.projectfloodlight.org/projects/</url>
Andreas Wundsambaf058d2013-09-12 15:58:17 -070019 <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 Wundsamac285ba2013-07-24 20:29:42 -070031
32 <properties>
33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 </properties>
35
36 <dependencies>
37 <dependency>
xinwu32034432013-09-18 17:17:50 -070038 <groupId>com.google.code.findbugs</groupId>
39 <artifactId>annotations</artifactId>
Rob Vaterlaus6d5832a2013-10-18 19:40:04 -070040 <version>2.0.2</version>
xinwu32034432013-09-18 17:17:50 -070041 </dependency>
42 <dependency>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070043 <groupId>junit</groupId>
44 <artifactId>junit</artifactId>
Rob Vaterlaus6d5832a2013-10-18 19:40:04 -070045 <version>4.11</version>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070046 <scope>test</scope>
47 </dependency>
48 <dependency>
Rob Vaterlaus0bea4e02013-11-25 12:02:55 -080049 <groupId>org.hamcrest</groupId>
50 <artifactId>hamcrest-integration</artifactId>
51 <version>1.3</version>
52 <scope>test</scope>
53 </dependency>
54 <dependency>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070055 <groupId>org.jboss.netty</groupId>
56 <artifactId>netty</artifactId>
57 <version>3.2.9.Final</version>
58 </dependency>
59 <dependency>
60 <groupId>com.google.guava</groupId>
61 <artifactId>guava</artifactId>
Andreas Wundsam22ba3af2013-10-04 16:00:30 -070062 <version>15.0</version>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070063 </dependency>
Andreas Wundsam70aa5492013-10-23 15:26:53 -070064 <dependency>
65 <groupId>org.slf4j</groupId>
66 <artifactId>slf4j-api</artifactId>
67 <version>1.7.5</version>
68 </dependency>
Andreas Wundsama8757ea2013-11-15 13:54:29 -080069 <dependency>
70 <groupId>ch.qos.logback</groupId>
71 <artifactId>logback-core</artifactId>
72 <version>1.0.13</version>
73 </dependency>
74 <dependency>
75 <groupId>ch.qos.logback</groupId>
76 <artifactId>logback-classic</artifactId>
77 <version>1.0.13</version>
78 </dependency>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070079 </dependencies>
80 <build>
Andreas Wundsambaf058d2013-09-12 15:58:17 -070081 <plugins>
82 <plugin>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-compiler-plugin</artifactId>
85 <version>3.1</version>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070086 <configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -070087 <source>1.7</source>
88 <target>1.7</target>
Andreas Wundsamd4581992013-09-11 11:12:58 -070089 </configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -070090 </plugin>
91 <plugin>
92 <!-- pick up sources from gen-src -->
93 <groupId>org.codehaus.mojo</groupId>
94 <artifactId>build-helper-maven-plugin</artifactId>
95 <version>1.8</version>
96 <executions>
97 <execution>
98 <id>gen-src-add-source</id>
99 <phase>generate-sources</phase>
100 <goals><goal>add-source</goal></goals>
101 <configuration>
102 <sources>
103 <source>gen-src/main/java</source>
104 </sources>
105 </configuration>
106 </execution>
107 <execution>
108 <id>add-gen-src-test-source</id>
109 <!-- note: purposefully not using phase generate-test-sources, because that is not picked up by eclipse:eclipse -->
110 <phase>validate</phase>
111 <goals><goal>add-test-source</goal></goals>
112 <configuration>
113 <sources>
114 <source>gen-src/test/java</source>
115 </sources>
116 </configuration>
117 </execution>
118 </executions>
119 </plugin>
120 <!-- attach sources -->
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-source-plugin</artifactId>
124 <version>2.2.1</version>
125 <executions>
126 <execution>
127 <id>attach-sources</id>
128 <goals>
129 <goal>jar</goal>
130 </goals>
131 </execution>
132 </executions>
133 </plugin>
134 <!-- attach javadoc -->
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-javadoc-plugin</artifactId>
138 <version>2.9.1</version>
139 <executions>
140 <execution>
141 <id>attach-javadocs</id>
142 <goals>
143 <goal>jar</goal>
144 </goals>
145 </execution>
146 </executions>
147 </plugin>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-eclipse-plugin</artifactId>
151 <version>2.9</version>
Andreas Wundsamd4581992013-09-11 11:12:58 -0700152 <configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -0700153 <downloadSources>true</downloadSources>
154 <downloadJavadocs>true</downloadJavadocs>
Andreas Wundsamac285ba2013-07-24 20:29:42 -0700155 </configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -0700156 </plugin>
Andreas Wundsam84bdf5d2013-11-20 15:16:06 -0800157 <!-- use maven git-commit-id plugin to provide vcs metadata -->
158 <plugin>
159 <groupId>pl.project13.maven</groupId>
160 <artifactId>git-commit-id-plugin</artifactId>
161 <version>2.1.5</version>
162 <executions>
163 <execution>
164 <goals>
165 <goal>revision</goal>
166 </goals>
167 </execution>
168 </executions>
169
170 <configuration>
171 <!-- our BuildInfoManager expects dates to be in ISO-8601 format -->
172 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
173
174 <verbose>true</verbose>
175
176 <skipPoms>true</skipPoms>
177 <generateGitPropertiesFile>false</generateGitPropertiesFile>
178 <dotGitDirectory>${project.basedir}/../../.git</dotGitDirectory>
179 <failOnNoGitDirectory>false</failOnNoGitDirectory>
180
181 <gitDescribe>
182 <skip>false</skip>
183 <always>true</always>
184 <abbrev>7</abbrev>
185 <dirty>-dirty</dirty>
186 <forceLongFormat>false</forceLongFormat>
187 </gitDescribe>
188 </configuration>
189 </plugin>
190 <!-- include git info in generated jars -->
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-jar-plugin</artifactId>
194 <version>2.4</version>
195 <executions>
196 <execution>
197 <goals>
198 <goal>test-jar</goal>
199 </goals>
200 </execution>
201 </executions>
202 <configuration>
203 <archive>
204 <manifest>
205 <mainClass>org.projectfloodlight.core.Main</mainClass>
206 </manifest>
207 <manifestSections>
208 <manifestSection>
209 <name>Floodlight-buildinfo</name>
210 <manifestEntries>
211 <projectName>${project.name}</projectName>
212 <version>${project.version}</version>
213 <vcsRevision>${git.commit.id.abbrev}</vcsRevision>
214 <vcsBranch>${git.branch}</vcsBranch>
215 <vcsDirty>${git.commit.id.describe}</vcsDirty>
216 <buildUser>${user.name}</buildUser>
217 <buildDate>${git.build.time}</buildDate>
218 </manifestEntries>
219 </manifestSection>
220 </manifestSections>
221 </archive>
222 </configuration>
223 </plugin>
224
Andreas Wundsambaf058d2013-09-12 15:58:17 -0700225 <!--
226 <plugin>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-gpg-plugin</artifactId>
229 <version>1.4</version>
230 <executions>
231 <execution>
232 <id>sign-artifacts</id>
233 <phase>verify</phase>
234 <goals>
235 <goal>sign</goal>
236 </goals>
237 </execution>
238 </executions>
239 </plugin>
240 -->
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>
Andreas Wundsamac285ba2013-07-24 20:29:42 -0700252</project>