blob: d50fce49f2a683a35c5b74ba7e68f9fe5c8845e6 [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 Wundsambaf058d2013-09-12 15:58:17 -070013 <version>0.1.0-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>
38 <groupId>junit</groupId>
39 <artifactId>junit</artifactId>
40 <version>4.8.2</version>
41 <scope>test</scope>
42 </dependency>
43 <dependency>
44 <groupId>org.jboss.netty</groupId>
45 <artifactId>netty</artifactId>
46 <version>3.2.9.Final</version>
47 </dependency>
48 <dependency>
49 <groupId>com.google.guava</groupId>
50 <artifactId>guava</artifactId>
51 <version>14.0.1</version>
52 </dependency>
53 </dependencies>
54 <build>
Andreas Wundsambaf058d2013-09-12 15:58:17 -070055 <plugins>
56 <plugin>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-compiler-plugin</artifactId>
59 <version>3.1</version>
Andreas Wundsamac285ba2013-07-24 20:29:42 -070060 <configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -070061 <source>1.7</source>
62 <target>1.7</target>
Andreas Wundsamd4581992013-09-11 11:12:58 -070063 </configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -070064 </plugin>
65 <plugin>
66 <!-- pick up sources from gen-src -->
67 <groupId>org.codehaus.mojo</groupId>
68 <artifactId>build-helper-maven-plugin</artifactId>
69 <version>1.8</version>
70 <executions>
71 <execution>
72 <id>gen-src-add-source</id>
73 <phase>generate-sources</phase>
74 <goals><goal>add-source</goal></goals>
75 <configuration>
76 <sources>
77 <source>gen-src/main/java</source>
78 </sources>
79 </configuration>
80 </execution>
81 <execution>
82 <id>add-gen-src-test-source</id>
83 <!-- note: purposefully not using phase generate-test-sources, because that is not picked up by eclipse:eclipse -->
84 <phase>validate</phase>
85 <goals><goal>add-test-source</goal></goals>
86 <configuration>
87 <sources>
88 <source>gen-src/test/java</source>
89 </sources>
90 </configuration>
91 </execution>
92 </executions>
93 </plugin>
94 <!-- attach sources -->
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-source-plugin</artifactId>
98 <version>2.2.1</version>
99 <executions>
100 <execution>
101 <id>attach-sources</id>
102 <goals>
103 <goal>jar</goal>
104 </goals>
105 </execution>
106 </executions>
107 </plugin>
108 <!-- attach javadoc -->
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-javadoc-plugin</artifactId>
112 <version>2.9.1</version>
113 <executions>
114 <execution>
115 <id>attach-javadocs</id>
116 <goals>
117 <goal>jar</goal>
118 </goals>
119 </execution>
120 </executions>
121 </plugin>
122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-eclipse-plugin</artifactId>
125 <version>2.9</version>
Andreas Wundsamd4581992013-09-11 11:12:58 -0700126 <configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -0700127 <downloadSources>true</downloadSources>
128 <downloadJavadocs>true</downloadJavadocs>
Andreas Wundsamac285ba2013-07-24 20:29:42 -0700129 </configuration>
Andreas Wundsambaf058d2013-09-12 15:58:17 -0700130 </plugin>
131 <!--
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-gpg-plugin</artifactId>
135 <version>1.4</version>
136 <executions>
137 <execution>
138 <id>sign-artifacts</id>
139 <phase>verify</phase>
140 <goals>
141 <goal>sign</goal>
142 </goals>
143 </execution>
144 </executions>
145 </plugin>
146 -->
147 </plugins>
148 <resources>
149 <resource>
150 <directory>${basedir}</directory>
151 <filtering>false</filtering>
152 <includes>
153 <include>LICENSE.txt</include>
154 </includes>
155 </resource>
156 </resources>
157 </build>
Andreas Wundsamac285ba2013-07-24 20:29:42 -0700158</project>