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