Upgrade to the Neon base platform
[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>3.0.1</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.8.0-SNAPSHOT</version>
23   <packaging>pom</packaging>
24
25   <properties>
26     <controller.mdsal.version>1.9.0-SNAPSHOT</controller.mdsal.version>
27     <genius.version>0.6.0-SNAPSHOT</genius.version>
28     <infrautils.version>1.5.0-SNAPSHOT</infrautils.version>
29     <model.bgp.version>2013.07.15.14.0-SNAPSHOT</model.bgp.version>
30     <neutron.version>0.12.0-SNAPSHOT</neutron.version>
31     <openflowplugin.version>0.8.0-SNAPSHOT</openflowplugin.version>
32     <ovsdb.version>1.8.0-SNAPSHOT</ovsdb.version>
33   </properties>
34
35   <dependencyManagement>
36     <dependencies>
37       <dependency>
38         <groupId>org.opendaylight.controller</groupId>
39         <artifactId>mdsal-artifacts</artifactId>
40         <version>${controller.mdsal.version}</version>
41         <type>pom</type>
42         <scope>import</scope>
43       </dependency>
44     </dependencies>
45   </dependencyManagement>
46
47   <dependencies>
48     <dependency>
49       <groupId>org.sonarsource.java</groupId>
50       <artifactId>sonar-jacoco-listeners</artifactId>
51       <version>${sonar-jacoco-listeners.version}</version>
52       <scope>test</scope>
53     </dependency>
54     <dependency>
55       <groupId>org.mockito</groupId>
56       <artifactId>mockito-core</artifactId>
57       <scope>test</scope>
58     </dependency>
59   </dependencies>
60
61   <build>
62     <pluginManagement>
63       <plugins>
64         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
65         <plugin>
66           <!-- Support Blueprint XML construction using annotations -->
67           <groupId>org.apache.aries.blueprint</groupId>
68           <artifactId>blueprint-maven-plugin</artifactId>
69           <configuration>
70             <scanPaths>
71               <scanPath>org.opendaylight.netvirt</scanPath>
72             </scanPaths>
73           </configuration>
74         </plugin>
75         <plugin>
76           <artifactId>maven-checkstyle-plugin</artifactId>
77           <dependencies>
78             <dependency>
79               <groupId>org.opendaylight.netvirt</groupId>
80               <artifactId>checkstyle</artifactId>
81               <version>0.8.0-SNAPSHOT</version>
82             </dependency>
83           </dependencies>
84           <executions>
85             <execution>
86               <id>check-databroker</id>
87               <goals>
88                 <goal>check</goal>
89               </goals>
90               <phase>process-sources</phase>
91               <configuration>
92                 <configLocation>databroker-checks.xml</configLocation>
93                 <includeResources>false</includeResources>
94                 <includeTestSourceDirectory>false</includeTestSourceDirectory>
95                 <includeTestResources>false</includeTestResources>
96                 <sourceDirectories>
97                   <directory>${project.build.sourceDirectory}</directory>
98                 </sourceDirectories>
99                 <failsOnError>true</failsOnError>
100                 <consoleOutput>true</consoleOutput>
101               </configuration>
102             </execution>
103           </executions>
104         </plugin>
105       </plugins>
106     </pluginManagement>
107     <plugins>
108       <plugin>
109         <groupId>org.apache.maven.plugins</groupId>
110         <artifactId>maven-checkstyle-plugin</artifactId>
111         <configuration>
112           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
113         </configuration>
114       </plugin>
115       <plugin>
116         <groupId>org.codehaus.mojo</groupId>
117         <artifactId>findbugs-maven-plugin</artifactId>
118         <configuration>
119           <plugins>
120             <plugin>
121               <groupId>jp.skypencil.findbugs.slf4j</groupId>
122               <artifactId>bug-pattern</artifactId>
123               <version>1.4.0</version>
124             </plugin>
125           </plugins>
126           <failOnError>true</failOnError>
127         </configuration>
128       </plugin>
129       <plugin>
130         <groupId>org.apache.maven.plugins</groupId>
131         <artifactId>maven-surefire-plugin</artifactId>
132         <configuration>
133           <properties>
134             <property>
135               <name>listener</name>
136               <value>org.sonar.java.jacoco.JUnitListener</value>
137             </property>
138           </properties>
139         </configuration>
140       </plugin>
141     </plugins>
142   </build>
143
144 </project>