Extensibility support (serialization part)
[openflowjava.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2     <modelVersion>4.0.0</modelVersion>
3     <groupId>org.opendaylight.openflowjava</groupId>
4     <artifactId>openflow-protocol-parent</artifactId>
5     <version>0.5-SNAPSHOT</version>
6     <packaging>pom</packaging>
7     <modules>
8         <module>openflow-protocol-api</module>
9         <module>openflow-protocol-spi</module>
10         <module>openflow-protocol-impl</module>
11         <module>openflow-protocol-it</module>
12         <module>simple-client</module>
13     </modules>
14     <scm>
15         <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
16         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
17         <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
18       <tag>HEAD</tag>
19     </scm>
20
21     <properties>
22         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
23         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
24         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
25         <siteplugin>3.2</siteplugin>
26         <projectinfo>2.6</projectinfo>
27         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28         <compiler.version>2.3.2</compiler.version>
29         <surefire.version>2.13</surefire.version>
30         <exam.version>3.0.0</exam.version>
31         <url.version>1.5.0</url.version>
32         <enunciate.version>1.26.2</enunciate.version>
33         <sonar.branch>${user.name}-private-view</sonar.branch>
34         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
35         <logback.version>1.0.9</logback.version>
36         <slf4j.version>1.7.2</slf4j.version>
37         <yang.prototype.version>1.1-SNAPSHOT</yang.prototype.version>
38         <ietf.model.version>2010.09.24.4-SNAPSHOT</ietf.model.version>
39         <maven.bundle.version>2.4.0</maven.bundle.version>
40         <guava.version>14.0.1</guava.version> 
41         <netty.version>4.0.17.Final</netty.version>
42         <releaseplugin.version>2.3.2</releaseplugin.version>
43         <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
44         <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
45         <config.version>0.2.5-SNAPSHOT</config.version>
46     </properties>
47
48     <pluginRepositories>
49         <!-- Opendaylight public group -->
50         <pluginRepository>
51             <id>odlPublic</id>
52             <name>odlPublic</name>
53             <url>${nexusproxy}/groups/public/</url>
54             <snapshots>
55               <enabled>false</enabled>
56             </snapshots>
57         </pluginRepository>
58         <!-- OpenDayLight Snapshot artifact -->
59         <pluginRepository>
60             <id>opendaylight-snapshot</id>
61             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
62             <releases>
63               <enabled>false</enabled>
64             </releases>
65         </pluginRepository>
66     </pluginRepositories>
67
68
69     <repositories>
70         <!-- Opendaylight public group -->
71         <repository>
72             <id>odlPublic</id>
73             <name>odlPublic</name>
74             <url>${nexusproxy}/groups/public/</url>
75             <snapshots>
76               <enabled>false</enabled>
77             </snapshots>
78         </repository>
79         <!-- OpenDayLight Snapshot artifact -->
80         <repository>
81             <id>opendaylight-snapshot</id>
82             <name>opendaylight-snapshot</name>
83             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
84             <releases>
85               <enabled>false</enabled>
86             </releases>
87         </repository>
88     </repositories>
89     <distributionManagement>
90         <!-- OpenDayLight Released artifact -->
91         <repository>
92             <id>opendaylight-release</id>
93             <url>${nexusproxy}/repositories/opendaylight.release/</url>
94         </repository>
95         <!-- OpenDayLight Snapshot artifact -->
96         <snapshotRepository>
97             <id>opendaylight-snapshot</id>
98             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
99         </snapshotRepository>
100         <!-- Site deployment -->
101         <!-- site>
102             <id>website</id>
103             <url>${sitedeploy}</url>
104         </site -->
105     </distributionManagement>
106
107
108     <dependencyManagement>
109         <dependencies>
110             <dependency>
111                 <groupId>org.slf4j</groupId>
112                 <artifactId>slf4j-api</artifactId>
113                 <version>${slf4j.version}</version>
114             </dependency>
115             <dependency>
116                 <groupId>io.netty</groupId>
117                 <artifactId>netty-buffer</artifactId>
118                 <version>${netty.version}</version>
119             </dependency>
120             <dependency>
121                 <groupId>io.netty</groupId>
122                 <artifactId>netty-handler</artifactId>
123                 <version>${netty.version}</version>
124             </dependency>
125             <dependency>
126                 <groupId>com.google.guava</groupId>
127                 <artifactId>guava</artifactId>
128                 <version>${guava.version}</version>
129             </dependency>
130             <dependency>
131                 <groupId>org.opendaylight.yangtools.model</groupId>
132                 <artifactId>ietf-inet-types</artifactId>
133                 <version>${ietf.model.version}</version>
134             </dependency>
135             <dependency>
136                 <groupId>org.opendaylight.yangtools.model</groupId>
137                 <artifactId>ietf-yang-types</artifactId>
138                 <version>${ietf.model.version}</version>
139             </dependency>
140             <dependency>
141                 <groupId>org.osgi</groupId>
142                 <artifactId>org.osgi.core</artifactId>
143                 <version>5.0.0</version>
144             </dependency>
145             <dependency>
146                 <groupId>org.opendaylight.controller.model</groupId>
147                 <artifactId>model-flow-service</artifactId>
148                 <version>1.1-SNAPSHOT</version>
149             </dependency>
150             <dependency>
151                 <groupId>junit</groupId>
152                 <artifactId>junit</artifactId>
153                 <version>4.10</version>
154                 <scope>test</scope>
155                 <optional>true</optional>
156             </dependency>
157             <dependency>
158                 <groupId>org.mockito</groupId>
159                 <artifactId>mockito-all</artifactId>
160                 <version>1.9.5</version>
161                 <scope>test</scope>
162             </dependency>
163         </dependencies>
164     </dependencyManagement>
165     <build>
166         <plugins>
167             <plugin>
168                 <groupId>org.apache.maven.plugins</groupId>
169                 <artifactId>maven-compiler-plugin</artifactId>
170                 <version>${compiler.version}</version>
171                 <inherited>true</inherited>
172                 <configuration>
173                     <source>1.7</source>
174                     <target>1.7</target>
175                 </configuration>
176             </plugin>
177             <plugin>
178                 <artifactId>maven-source-plugin</artifactId>
179                 <executions>
180                     <execution>
181                         <id>attach-sources</id>
182                         <phase>deploy</phase>
183                         <goals>
184                             <goal>jar-no-fork</goal>
185                         </goals> 
186                     </execution>
187                 </executions>
188             </plugin>
189             <plugin>
190               <groupId>org.apache.felix</groupId>
191               <artifactId>maven-bundle-plugin</artifactId>
192               <version>${maven.bundle.version}</version>
193               <extensions>true</extensions>
194               <configuration>
195                 <instructions>
196                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
197                 </instructions>
198                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
199               </configuration>
200             </plugin>
201         </plugins>
202         <pluginManagement>
203             <plugins>
204                 <plugin>
205                     <groupId>org.apache.maven.plugins</groupId>
206                     <artifactId>maven-source-plugin</artifactId>
207                     <version>2.2.1</version>
208                 </plugin>
209                 <plugin>
210                     <groupId>org.apache.maven.plugins</groupId>
211                     <artifactId>maven-deploy-plugin</artifactId>
212                     <version>2.7</version>
213                 </plugin>
214                 <plugin>
215                     <groupId>org.apache.maven.plugins</groupId>
216                     <artifactId>maven-jar-plugin</artifactId>
217                     <version>2.4</version>
218                 </plugin>
219                 <plugin>
220                     <groupId>org.apache.maven.plugins</groupId>
221                     <artifactId>maven-release-plugin</artifactId>
222                     <version>${releaseplugin.version}</version>
223                 </plugin>
224                 <plugin>
225                     <groupId>org.opendaylight.yangtools</groupId>
226                     <artifactId>yang-maven-plugin</artifactId>
227                     <version>${yangtools.version}</version>
228                 </plugin>
229                 <plugin>
230                     <groupId>org.apache.felix</groupId>
231                     <artifactId>maven-bundle-plugin</artifactId>
232                     <version>${maven.bundle.version}</version>
233                 </plugin>
234             </plugins>
235         </pluginManagement>
236     </build>
237     <reporting>
238         <plugins>
239             <plugin>
240                 <groupId>org.codehaus.mojo</groupId>
241                 <artifactId>findbugs-maven-plugin</artifactId>
242                 <version>2.5.2</version>
243                 <configuration>
244                     <effort>Max</effort>
245                     <threshold>Low</threshold>
246                     <goal>site</goal>
247                 </configuration>
248             </plugin>
249             <plugin>
250               <artifactId>maven-jxr-plugin</artifactId>
251               <version>2.3</version>
252               <configuration>
253                 <aggregate>true</aggregate>
254                 <linkJavadoc>true</linkJavadoc>
255               </configuration>
256             </plugin>
257
258             <plugin>
259                 <groupId>org.codehaus.mojo</groupId>
260                 <artifactId>jdepend-maven-plugin</artifactId>
261                 <version>2.0-beta-2</version>
262             </plugin>
263         </plugins>
264     </reporting>
265     <profiles>
266         <profile>
267             <id>viewbuild</id>
268             <activation>
269                 <activeByDefault>true</activeByDefault>
270             </activation>
271             <properties>
272                 <build.suffix>${project.version}</build.suffix>
273             </properties>
274         </profile>
275         <profile>
276             <id>jenkins</id>
277             <activation>
278                 <property>
279                     <name>BUILDSUFFIX</name>
280                 </property>
281             </activation>
282             <properties>
283                 <build.suffix>${BUILDSUFFIX}</build.suffix>
284             </properties>
285         </profile>
286         <profile>
287             <id>repoBuild</id>
288             <build>
289                 <plugins>
290                     <plugin>
291                         <groupId>org.apache.maven.plugins</groupId>
292                         <artifactId>maven-javadoc-plugin</artifactId>
293                         <version>2.8.1</version>
294                         <executions>
295                             <execution>
296                                 <goals>
297                                     <goal>aggregate</goal>
298                                 </goals>
299                                 <phase>site</phase>
300                             </execution>
301                             <execution>
302                                 <id>attach-javadocs</id>
303                                 <goals>
304                                     <goal>jar</goal>
305                                 </goals>
306                             </execution>
307                         </executions>
308                     </plugin>
309                     <plugin>
310                         <groupId>org.apache.maven.plugins</groupId>
311                         <artifactId>maven-source-plugin</artifactId>
312                         <executions>
313                             <execution>
314                                 <id>attach-sources</id>
315                                 <phase>package</phase>
316                                 <goals>
317                                     <goal>jar-no-fork</goal>
318                                 </goals>
319                             </execution>
320                         </executions>
321                     </plugin>
322                 </plugins>
323             </build>
324         </profile>
325     </profiles>
326 </project>