Bump mdsal to 4.0.2
[netvirt.git] / commons / binding-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015, 2017 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10
11   <parent>
12     <groupId>org.opendaylight.mdsal</groupId>
13     <artifactId>binding-parent</artifactId>
14     <version>4.0.2</version>
15     <relativePath/>
16   </parent>
17
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.netvirt</groupId>
20   <artifactId>binding-parent</artifactId>
21   <name>ODL :: netvirt :: ${project.artifactId}</name>
22   <version>0.9.0-SNAPSHOT</version>
23   <packaging>pom</packaging>
24
25   <properties>
26     <controller.mdsal.version>1.10.0-SNAPSHOT</controller.mdsal.version>
27     <genius.version>0.7.0-SNAPSHOT</genius.version>
28     <infrautils.version>1.6.0-SNAPSHOT</infrautils.version>
29     <model.bgp.version>2013.07.15.15.0-SNAPSHOT</model.bgp.version>
30     <neutron.version>0.13.0-SNAPSHOT</neutron.version>
31     <openflowplugin.version>0.9.0-SNAPSHOT</openflowplugin.version>
32     <ovsdb.version>1.9.0-SNAPSHOT</ovsdb.version>
33     <serviceutils.version>0.4.0-SNAPSHOT</serviceutils.version>
34   </properties>
35
36   <dependencyManagement>
37     <dependencies>
38       <dependency>
39         <groupId>org.opendaylight.controller</groupId>
40         <artifactId>mdsal-artifacts</artifactId>
41         <version>${controller.mdsal.version}</version>
42         <type>pom</type>
43         <scope>import</scope>
44       </dependency>
45       <dependency>
46         <groupId>org.opendaylight.serviceutils</groupId>
47         <artifactId>serviceutils-artifacts</artifactId>
48         <version>${serviceutils.version}</version>
49         <type>pom</type>
50         <scope>import</scope>
51       </dependency>
52     </dependencies>
53   </dependencyManagement>
54
55   <dependencies>
56     <dependency>
57       <groupId>org.mockito</groupId>
58       <artifactId>mockito-core</artifactId>
59       <scope>test</scope>
60     </dependency>
61     <!-- Ensure that annotation dependencies are optional throughout -->
62     <dependency>
63       <groupId>javax.annotation</groupId>
64       <artifactId>javax.annotation-api</artifactId>
65       <optional>true</optional>
66     </dependency>
67   </dependencies>
68
69   <build>
70     <pluginManagement>
71       <plugins>
72         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
73         <plugin>
74           <!-- Support Blueprint XML construction using annotations -->
75           <groupId>org.apache.aries.blueprint</groupId>
76           <artifactId>blueprint-maven-plugin</artifactId>
77           <configuration>
78             <scanPaths>
79               <scanPath>org.opendaylight.netvirt</scanPath>
80             </scanPaths>
81           </configuration>
82         </plugin>
83         <plugin>
84           <artifactId>maven-checkstyle-plugin</artifactId>
85           <dependencies>
86             <dependency>
87               <groupId>org.opendaylight.netvirt</groupId>
88               <artifactId>checkstyle</artifactId>
89               <version>0.9.0-SNAPSHOT</version>
90             </dependency>
91           </dependencies>
92           <executions>
93             <execution>
94               <id>check-databroker</id>
95               <goals>
96                 <goal>check</goal>
97               </goals>
98               <phase>process-sources</phase>
99               <configuration>
100                 <configLocation>databroker-checks.xml</configLocation>
101                 <includeResources>false</includeResources>
102                 <includeTestSourceDirectory>false</includeTestSourceDirectory>
103                 <includeTestResources>false</includeTestResources>
104                 <sourceDirectories>
105                   <directory>${project.build.sourceDirectory}</directory>
106                 </sourceDirectories>
107                 <failsOnError>true</failsOnError>
108                 <consoleOutput>true</consoleOutput>
109               </configuration>
110             </execution>
111           </executions>
112         </plugin>
113       </plugins>
114     </pluginManagement>
115     <plugins>
116       <plugin>
117         <groupId>org.apache.maven.plugins</groupId>
118         <artifactId>maven-checkstyle-plugin</artifactId>
119         <configuration>
120           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
121         </configuration>
122       </plugin>
123       <plugin>
124         <groupId>com.github.spotbugs</groupId>
125         <artifactId>spotbugs-maven-plugin</artifactId>
126         <configuration>
127           <failOnError>true</failOnError>
128         </configuration>
129       </plugin>
130     </plugins>
131   </build>
132
133 </project>