Bumped to SNAPSHOT dependencies
[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.15.Final</netty.version>
42         <releaseplugin.version>2.3.2</releaseplugin.version>
43     </properties>
44
45     <pluginRepositories>
46         <!-- Opendaylight public group -->
47         <pluginRepository>
48             <id>odlPublic</id>
49             <name>odlPublic</name>
50             <url>${nexusproxy}/groups/public/</url>
51             <snapshots>
52               <enabled>false</enabled>
53             </snapshots>
54         </pluginRepository>
55         <!-- OpenDayLight Snapshot artifact -->
56         <pluginRepository>
57             <id>opendaylight-snapshot</id>
58             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
59             <releases>
60               <enabled>false</enabled>
61             </releases>
62         </pluginRepository>
63     </pluginRepositories>
64
65
66     <repositories>
67         <!-- Opendaylight public group -->
68         <repository>
69             <id>odlPublic</id>
70             <name>odlPublic</name>
71             <url>${nexusproxy}/groups/public/</url>
72             <snapshots>
73               <enabled>false</enabled>
74             </snapshots>
75         </repository>
76         <!-- OpenDayLight Snapshot artifact -->
77         <repository>
78             <id>opendaylight-snapshot</id>
79             <name>opendaylight-snapshot</name>
80             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
81             <releases>
82               <enabled>false</enabled>
83             </releases>
84         </repository>
85     </repositories>
86     <distributionManagement>
87         <!-- OpenDayLight Released artifact -->
88         <repository>
89             <id>opendaylight-release</id>
90             <url>${nexusproxy}/repositories/opendaylight.release/</url>
91         </repository>
92         <!-- OpenDayLight Snapshot artifact -->
93         <snapshotRepository>
94             <id>opendaylight-snapshot</id>
95             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
96         </snapshotRepository>
97         <!-- Site deployment -->
98         <!-- site>
99             <id>website</id>
100             <url>${sitedeploy}</url>
101         </site -->
102     </distributionManagement>
103
104
105     <dependencyManagement>
106         <dependencies>
107             <dependency>
108                 <groupId>org.slf4j</groupId>
109                 <artifactId>slf4j-api</artifactId>
110                 <version>${slf4j.version}</version>
111             </dependency>
112             <dependency>
113                 <groupId>io.netty</groupId>
114                 <artifactId>netty-handler</artifactId>
115                 <version>${netty.version}</version>
116             </dependency>
117             <dependency>
118                 <groupId>com.google.guava</groupId>
119                 <artifactId>guava</artifactId>
120                 <version>${guava.version}</version>
121             </dependency>
122             <dependency>
123                 <groupId>org.opendaylight.yangtools.model</groupId>
124                 <artifactId>ietf-inet-types</artifactId>
125                 <version>${ietf.model.version}</version>
126             </dependency>
127             <dependency>
128                 <groupId>org.opendaylight.yangtools.model</groupId>
129                 <artifactId>ietf-yang-types</artifactId>
130                 <version>${ietf.model.version}</version>
131             </dependency>
132             <dependency>
133                 <groupId>org.osgi</groupId>
134                 <artifactId>org.osgi.core</artifactId>
135                 <version>5.0.0</version>
136             </dependency>
137             <dependency>
138                 <groupId>org.opendaylight.controller.model</groupId>
139                 <artifactId>model-flow-service</artifactId>
140                 <version>1.1-SNAPSHOT</version>
141             </dependency>
142             <dependency>
143                 <groupId>junit</groupId>
144                 <artifactId>junit</artifactId>
145                 <version>4.10</version>
146                 <scope>test</scope>
147                 <optional>true</optional>
148             </dependency>
149             <dependency>
150                 <groupId>org.mockito</groupId>
151                 <artifactId>mockito-all</artifactId>
152                 <version>1.9.5</version>
153                 <scope>test</scope>
154             </dependency>
155         </dependencies>
156     </dependencyManagement>
157     <build>
158         <plugins>
159             <plugin>
160                 <groupId>org.apache.maven.plugins</groupId>
161                 <artifactId>maven-compiler-plugin</artifactId>
162                 <version>${compiler.version}</version>
163                 <inherited>true</inherited>
164                 <configuration>
165                     <source>1.7</source>
166                     <target>1.7</target>
167                 </configuration>
168             </plugin>
169             <plugin>
170                 <artifactId>maven-source-plugin</artifactId>
171                 <executions>
172                     <execution>
173                         <id>attach-sources</id>
174                         <phase>deploy</phase>
175                         <goals>
176                             <goal>jar-no-fork</goal>
177                         </goals> 
178                     </execution>
179                 </executions>
180             </plugin>
181             <plugin>
182               <groupId>org.apache.felix</groupId>
183               <artifactId>maven-bundle-plugin</artifactId>
184               <version>${maven.bundle.version}</version>
185               <extensions>true</extensions>
186               <configuration>
187                 <instructions>
188                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
189                 </instructions>
190                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
191               </configuration>
192             </plugin>
193         </plugins>
194         <pluginManagement>
195             <plugins>
196                 <plugin>
197                     <groupId>org.apache.maven.plugins</groupId>
198                     <artifactId>maven-source-plugin</artifactId>
199                     <version>2.2.1</version>
200                 </plugin>
201                 <plugin>
202                     <groupId>org.apache.maven.plugins</groupId>
203                     <artifactId>maven-deploy-plugin</artifactId>
204                     <version>2.7</version>
205                 </plugin>
206                 <plugin>
207                     <groupId>org.apache.maven.plugins</groupId>
208                     <artifactId>maven-jar-plugin</artifactId>
209                     <version>2.4</version>
210                 </plugin>
211                 <plugin>
212                     <groupId>org.apache.maven.plugins</groupId>
213                     <artifactId>maven-release-plugin</artifactId>
214                     <version>${releaseplugin.version}</version>
215                 </plugin>
216             </plugins>
217         </pluginManagement>
218     </build>
219     <reporting>
220         <plugins>
221             <plugin>
222                 <groupId>org.codehaus.mojo</groupId>
223                 <artifactId>findbugs-maven-plugin</artifactId>
224                 <version>2.5.2</version>
225                 <configuration>
226                     <effort>Max</effort>
227                     <threshold>Low</threshold>
228                     <goal>site</goal>
229                 </configuration>
230             </plugin>
231             <plugin>
232               <artifactId>maven-jxr-plugin</artifactId>
233               <version>2.3</version>
234               <configuration>
235                 <aggregate>true</aggregate>
236                 <linkJavadoc>true</linkJavadoc>
237               </configuration>
238             </plugin>
239
240             <plugin>
241                 <groupId>org.codehaus.mojo</groupId>
242                 <artifactId>jdepend-maven-plugin</artifactId>
243                 <version>2.0-beta-2</version>
244             </plugin>
245         </plugins>
246     </reporting>
247     <profiles>
248         <profile>
249             <id>viewbuild</id>
250             <activation>
251                 <activeByDefault>true</activeByDefault>
252             </activation>
253             <properties>
254                 <build.suffix>${project.version}</build.suffix>
255             </properties>
256         </profile>
257         <profile>
258             <id>jenkins</id>
259             <activation>
260                 <property>
261                     <name>BUILDSUFFIX</name>
262                 </property>
263             </activation>
264             <properties>
265                 <build.suffix>${BUILDSUFFIX}</build.suffix>
266             </properties>
267         </profile>
268         <profile>
269             <id>repoBuild</id>
270             <build>
271                 <plugins>
272                     <plugin>
273                         <groupId>org.apache.maven.plugins</groupId>
274                         <artifactId>maven-javadoc-plugin</artifactId>
275                         <version>2.8.1</version>
276                         <executions>
277                             <execution>
278                                 <goals>
279                                     <goal>aggregate</goal>
280                                 </goals>
281                                 <phase>site</phase>
282                             </execution>
283                             <execution>
284                                 <id>attach-javadocs</id>
285                                 <goals>
286                                     <goal>jar</goal>
287                                 </goals>
288                             </execution>
289                         </executions>
290                     </plugin>
291                     <plugin>
292                         <groupId>org.apache.maven.plugins</groupId>
293                         <artifactId>maven-source-plugin</artifactId>
294                         <executions>
295                             <execution>
296                                 <id>attach-sources</id>
297                                 <phase>package</phase>
298                                 <goals>
299                                     <goal>jar-no-fork</goal>
300                                 </goals>
301                             </execution>
302                         </executions>
303                     </plugin>
304                 </plugins>
305             </build>
306         </profile>
307     </profiles>
308 </project>