gitreview: update default branch to stable/hydrogen
[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.4-1-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-handler</artifactId>
118                 <version>${netty.version}</version>
119             </dependency>
120             <dependency>
121                 <groupId>com.google.guava</groupId>
122                 <artifactId>guava</artifactId>
123                 <version>${guava.version}</version>
124             </dependency>
125             <dependency>
126                 <groupId>org.opendaylight.yangtools.model</groupId>
127                 <artifactId>ietf-inet-types</artifactId>
128                 <version>${ietf.model.version}</version>
129             </dependency>
130             <dependency>
131                 <groupId>org.opendaylight.yangtools.model</groupId>
132                 <artifactId>ietf-yang-types</artifactId>
133                 <version>${ietf.model.version}</version>
134             </dependency>
135             <dependency>
136                 <groupId>org.osgi</groupId>
137                 <artifactId>org.osgi.core</artifactId>
138                 <version>5.0.0</version>
139             </dependency>
140             <dependency>
141                 <groupId>org.opendaylight.controller.model</groupId>
142                 <artifactId>model-flow-service</artifactId>
143                 <version>1.1-SNAPSHOT</version>
144             </dependency>
145             <dependency>
146                 <groupId>junit</groupId>
147                 <artifactId>junit</artifactId>
148                 <version>4.10</version>
149                 <scope>test</scope>
150                 <optional>true</optional>
151             </dependency>
152             <dependency>
153                 <groupId>org.mockito</groupId>
154                 <artifactId>mockito-all</artifactId>
155                 <version>1.9.5</version>
156                 <scope>test</scope>
157             </dependency>
158         </dependencies>
159     </dependencyManagement>
160     <build>
161         <plugins>
162             <plugin>
163                 <groupId>org.apache.maven.plugins</groupId>
164                 <artifactId>maven-compiler-plugin</artifactId>
165                 <version>${compiler.version}</version>
166                 <inherited>true</inherited>
167                 <configuration>
168                     <source>1.7</source>
169                     <target>1.7</target>
170                 </configuration>
171             </plugin>
172             <plugin>
173                 <artifactId>maven-source-plugin</artifactId>
174                 <executions>
175                     <execution>
176                         <id>attach-sources</id>
177                         <phase>deploy</phase>
178                         <goals>
179                             <goal>jar-no-fork</goal>
180                         </goals> 
181                     </execution>
182                 </executions>
183             </plugin>
184             <plugin>
185               <groupId>org.apache.felix</groupId>
186               <artifactId>maven-bundle-plugin</artifactId>
187               <version>${maven.bundle.version}</version>
188               <extensions>true</extensions>
189               <configuration>
190                 <instructions>
191                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
192                 </instructions>
193                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
194               </configuration>
195             </plugin>
196         </plugins>
197         <pluginManagement>
198             <plugins>
199                 <plugin>
200                     <groupId>org.apache.maven.plugins</groupId>
201                     <artifactId>maven-source-plugin</artifactId>
202                     <version>2.2.1</version>
203                 </plugin>
204                 <plugin>
205                     <groupId>org.apache.maven.plugins</groupId>
206                     <artifactId>maven-deploy-plugin</artifactId>
207                     <version>2.7</version>
208                 </plugin>
209                 <plugin>
210                     <groupId>org.apache.maven.plugins</groupId>
211                     <artifactId>maven-jar-plugin</artifactId>
212                     <version>2.4</version>
213                 </plugin>
214                 <plugin>
215                     <groupId>org.apache.maven.plugins</groupId>
216                     <artifactId>maven-release-plugin</artifactId>
217                     <version>${releaseplugin.version}</version>
218                 </plugin>
219                 <plugin>
220                     <groupId>org.opendaylight.yangtools</groupId>
221                     <artifactId>yang-maven-plugin</artifactId>
222                     <version>${yangtools.version}</version>
223                 </plugin>
224                 <plugin>
225                     <groupId>org.apache.felix</groupId>
226                     <artifactId>maven-bundle-plugin</artifactId>
227                     <version>${maven.bundle.version}</version>
228                 </plugin>
229             </plugins>
230         </pluginManagement>
231     </build>
232     <reporting>
233         <plugins>
234             <plugin>
235                 <groupId>org.codehaus.mojo</groupId>
236                 <artifactId>findbugs-maven-plugin</artifactId>
237                 <version>2.5.2</version>
238                 <configuration>
239                     <effort>Max</effort>
240                     <threshold>Low</threshold>
241                     <goal>site</goal>
242                 </configuration>
243             </plugin>
244             <plugin>
245               <artifactId>maven-jxr-plugin</artifactId>
246               <version>2.3</version>
247               <configuration>
248                 <aggregate>true</aggregate>
249                 <linkJavadoc>true</linkJavadoc>
250               </configuration>
251             </plugin>
252
253             <plugin>
254                 <groupId>org.codehaus.mojo</groupId>
255                 <artifactId>jdepend-maven-plugin</artifactId>
256                 <version>2.0-beta-2</version>
257             </plugin>
258         </plugins>
259     </reporting>
260     <profiles>
261         <profile>
262             <id>viewbuild</id>
263             <activation>
264                 <activeByDefault>true</activeByDefault>
265             </activation>
266             <properties>
267                 <build.suffix>${project.version}</build.suffix>
268             </properties>
269         </profile>
270         <profile>
271             <id>jenkins</id>
272             <activation>
273                 <property>
274                     <name>BUILDSUFFIX</name>
275                 </property>
276             </activation>
277             <properties>
278                 <build.suffix>${BUILDSUFFIX}</build.suffix>
279             </properties>
280         </profile>
281         <profile>
282             <id>repoBuild</id>
283             <build>
284                 <plugins>
285                     <plugin>
286                         <groupId>org.apache.maven.plugins</groupId>
287                         <artifactId>maven-javadoc-plugin</artifactId>
288                         <version>2.8.1</version>
289                         <executions>
290                             <execution>
291                                 <goals>
292                                     <goal>aggregate</goal>
293                                 </goals>
294                                 <phase>site</phase>
295                             </execution>
296                             <execution>
297                                 <id>attach-javadocs</id>
298                                 <goals>
299                                     <goal>jar</goal>
300                                 </goals>
301                             </execution>
302                         </executions>
303                     </plugin>
304                     <plugin>
305                         <groupId>org.apache.maven.plugins</groupId>
306                         <artifactId>maven-source-plugin</artifactId>
307                         <executions>
308                             <execution>
309                                 <id>attach-sources</id>
310                                 <phase>package</phase>
311                                 <goals>
312                                     <goal>jar-no-fork</goal>
313                                 </goals>
314                             </execution>
315                         </executions>
316                     </plugin>
317                 </plugins>
318             </build>
319         </profile>
320     </profiles>
321 </project>