Freeze upstream versions
[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>7.0.6</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.12.0-SNAPSHOT</version>
23   <packaging>pom</packaging>
24
25   <properties>
26     <genius.version>0.10.0-SNAPSHOT</genius.version>
27     <model.bgp.version>2013.07.15.18.0-SNAPSHOT</model.bgp.version>
28     <neutron.version>0.16.0</neutron.version>
29     <openflowplugin.version>0.12.0</openflowplugin.version>
30     <ovsdb.version>1.12.0</ovsdb.version>
31     <serviceutils.version>0.7.0</serviceutils.version>
32   </properties>
33
34   <dependencyManagement>
35     <dependencies>
36       <dependency>
37         <groupId>org.opendaylight.infrautils</groupId>
38         <artifactId>infrautils-artifacts</artifactId>
39         <version>1.9.6</version>
40         <type>pom</type>
41         <scope>import</scope>
42       </dependency>
43       <dependency>
44         <groupId>org.opendaylight.controller</groupId>
45         <artifactId>controller-artifacts</artifactId>
46         <version>3.0.7</version>
47         <type>pom</type>
48         <scope>import</scope>
49       </dependency>
50       <dependency>
51         <groupId>org.opendaylight.serviceutils</groupId>
52         <artifactId>serviceutils-artifacts</artifactId>
53         <version>${serviceutils.version}</version>
54         <type>pom</type>
55         <scope>import</scope>
56       </dependency>
57       <dependency>
58         <groupId>org.opendaylight.openflowplugin</groupId>
59         <artifactId>openflowplugin-artifacts</artifactId>
60         <version>${openflowplugin.version}</version>
61         <type>pom</type>
62         <scope>import</scope>
63       </dependency>
64     </dependencies>
65   </dependencyManagement>
66
67   <dependencies>
68     <dependency>
69       <groupId>org.mockito</groupId>
70       <artifactId>mockito-core</artifactId>
71       <scope>test</scope>
72     </dependency>
73     <!-- Ensure that annotation dependencies are optional throughout -->
74     <dependency>
75       <groupId>javax.annotation</groupId>
76       <artifactId>javax.annotation-api</artifactId>
77       <optional>true</optional>
78     </dependency>
79   </dependencies>
80
81   <build>
82     <pluginManagement>
83       <plugins>
84         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
85         <plugin>
86           <!-- Support Blueprint XML construction using annotations -->
87           <groupId>org.apache.aries.blueprint</groupId>
88           <artifactId>blueprint-maven-plugin</artifactId>
89           <configuration>
90             <scanPaths>
91               <scanPath>org.opendaylight.netvirt</scanPath>
92             </scanPaths>
93           </configuration>
94         </plugin>
95         <plugin>
96           <artifactId>maven-checkstyle-plugin</artifactId>
97           <dependencies>
98             <dependency>
99               <groupId>org.opendaylight.netvirt</groupId>
100               <artifactId>checkstyle</artifactId>
101               <version>0.12.0-SNAPSHOT</version>
102             </dependency>
103           </dependencies>
104           <executions>
105             <execution>
106               <id>check-databroker</id>
107               <goals>
108                 <goal>check</goal>
109               </goals>
110               <phase>process-sources</phase>
111               <configuration>
112                 <configLocation>databroker-checks.xml</configLocation>
113                 <includeResources>false</includeResources>
114                 <includeTestSourceDirectory>false</includeTestSourceDirectory>
115                 <includeTestResources>false</includeTestResources>
116                 <sourceDirectories>
117                   <directory>${project.build.sourceDirectory}</directory>
118                 </sourceDirectories>
119                 <failsOnError>true</failsOnError>
120                 <consoleOutput>true</consoleOutput>
121               </configuration>
122             </execution>
123           </executions>
124         </plugin>
125       </plugins>
126     </pluginManagement>
127     <plugins>
128       <plugin>
129         <groupId>org.apache.maven.plugins</groupId>
130         <artifactId>maven-checkstyle-plugin</artifactId>
131         <configuration>
132           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
133         </configuration>
134       </plugin>
135       <plugin>
136         <groupId>com.github.spotbugs</groupId>
137         <artifactId>spotbugs-maven-plugin</artifactId>
138         <configuration>
139           <failOnError>true</failOnError>
140         </configuration>
141       </plugin>
142     </plugins>
143   </build>
144
145 </project>