blob: 9845e8723317bf1077a9421efd91ab5f3cae35aa [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>
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>
Andreas Wundsam22ba3af2013-10-04 16:00:30 -070056 <version>15.0</version>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070057 </dependency>
Andreas Wundsam70aa5492013-10-23 15:26:53 -070058 <dependency>
59 <groupId>org.slf4j</groupId>
60 <artifactId>slf4j-api</artifactId>
61 <version>1.7.5</version>
62 </dependency>
Andreas Wundsama8757ea2013-11-15 13:54:29 -080063 <dependency>
64 <groupId>ch.qos.logback</groupId>
65 <artifactId>logback-core</artifactId>
66 <version>1.0.13</version>
67 </dependency>
68 <dependency>
69 <groupId>ch.qos.logback</groupId>
70 <artifactId>logback-classic</artifactId>
71 <version>1.0.13</version>
72 </dependency>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070073 </dependencies>
74 <build>
Andreas Wundsambaf058d2013-09-12 15:58:17 -070075 <plugins>
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-compiler-plugin</artifactId>
79 <version>3.1</version>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070080 <configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -070081 <source>1.7</source>
82 <target>1.7</target>
Andreas Wundsamd4581992013-09-11 11:12:58 -070083 </configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -070084 </plugin>
85 <plugin>
86 <!-- pick up sources from gen-src -->
87 <groupId>org.codehaus.mojo</groupId>
88 <artifactId>build-helper-maven-plugin</artifactId>
89 <version>1.8</version>
90 <executions>
91 <execution>
92 <id>gen-src-add-source</id>
93 <phase>generate-sources</phase>
94 <goals><goal>add-source</goal></goals>
95 <configuration>
96 <sources>
97 <source>gen-src/main/java</source>
98 </sources>
99 </configuration>
100 </execution>
101 <execution>
102 <id>add-gen-src-test-source</id>
103 <!-- note: purposefully not using phase generate-test-sources, because that is not picked up by eclipse:eclipse -->
104 <phase>validate</phase>
105 <goals><goal>add-test-source</goal></goals>
106 <configuration>
107 <sources>
108 <source>gen-src/test/java</source>
109 </sources>
110 </configuration>
111 </execution>
112 </executions>
113 </plugin>
114 <!-- attach sources -->
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-source-plugin</artifactId>
118 <version>2.2.1</version>
119 <executions>
120 <execution>
121 <id>attach-sources</id>
122 <goals>
123 <goal>jar</goal>
124 </goals>
125 </execution>
126 </executions>
127 </plugin>
128 <!-- attach javadoc -->
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-javadoc-plugin</artifactId>
132 <version>2.9.1</version>
133 <executions>
134 <execution>
135 <id>attach-javadocs</id>
136 <goals>
137 <goal>jar</goal>
138 </goals>
139 </execution>
140 </executions>
141 </plugin>
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-eclipse-plugin</artifactId>
145 <version>2.9</version>
Andreas Wundsamd4581992013-09-11 11:12:58 -0700146 <configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -0700147 <downloadSources>true</downloadSources>
148 <downloadJavadocs>true</downloadJavadocs>
Andreas Wundsamac285ba2013-07-24 20:29:42 -0700149 </configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -0700150 </plugin>
Andreas Wundsam84bdf5d2013-11-20 15:16:06 -0800151 <!-- use maven git-commit-id plugin to provide vcs metadata -->
152 <plugin>
153 <groupId>pl.project13.maven</groupId>
154 <artifactId>git-commit-id-plugin</artifactId>
155 <version>2.1.5</version>
156 <executions>
157 <execution>
158 <goals>
159 <goal>revision</goal>
160 </goals>
161 </execution>
162 </executions>
163
164 <configuration>
165 <!-- our BuildInfoManager expects dates to be in ISO-8601 format -->
166 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
167
168 <verbose>true</verbose>
169
170 <skipPoms>true</skipPoms>
171 <generateGitPropertiesFile>false</generateGitPropertiesFile>
172 <dotGitDirectory>${project.basedir}/../../.git</dotGitDirectory>
173 <failOnNoGitDirectory>false</failOnNoGitDirectory>
174
175 <gitDescribe>
176 <skip>false</skip>
177 <always>true</always>
178 <abbrev>7</abbrev>
179 <dirty>-dirty</dirty>
180 <forceLongFormat>false</forceLongFormat>
181 </gitDescribe>
182 </configuration>
183 </plugin>
184 <!-- include git info in generated jars -->
185 <plugin>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-jar-plugin</artifactId>
188 <version>2.4</version>
189 <executions>
190 <execution>
191 <goals>
192 <goal>test-jar</goal>
193 </goals>
194 </execution>
195 </executions>
196 <configuration>
197 <archive>
198 <manifest>
199 <mainClass>org.projectfloodlight.core.Main</mainClass>
200 </manifest>
201 <manifestSections>
202 <manifestSection>
203 <name>Floodlight-buildinfo</name>
204 <manifestEntries>
205 <projectName>${project.name}</projectName>
206 <version>${project.version}</version>
207 <vcsRevision>${git.commit.id.abbrev}</vcsRevision>
208 <vcsBranch>${git.branch}</vcsBranch>
209 <vcsDirty>${git.commit.id.describe}</vcsDirty>
210 <buildUser>${user.name}</buildUser>
211 <buildDate>${git.build.time}</buildDate>
212 </manifestEntries>
213 </manifestSection>
214 </manifestSections>
215 </archive>
216 </configuration>
217 </plugin>
218
Andreas Wundsambaf058d2013-09-12 15:58:17 -0700219 <!--
220 <plugin>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-gpg-plugin</artifactId>
223 <version>1.4</version>
224 <executions>
225 <execution>
226 <id>sign-artifacts</id>
227 <phase>verify</phase>
228 <goals>
229 <goal>sign</goal>
230 </goals>
231 </execution>
232 </executions>
233 </plugin>
234 -->
235 </plugins>
236 <resources>
237 <resource>
238 <directory>${basedir}</directory>
239 <filtering>false</filtering>
240 <includes>
241 <include>LICENSE.txt</include>
242 </includes>
243 </resource>
244 </resources>
245 </build>
Andreas Wundsamac285ba2013-07-24 20:29:42 -0700246</project>