88a9c2bc75012cf89ebade4d922b2cf476d23dde
[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.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.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   </dependencies>
62
63   <build>
64     <pluginManagement>
65       <plugins>
66         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
67         <plugin>
68           <!-- Support Blueprint XML construction using annotations -->
69           <groupId>org.apache.aries.blueprint</groupId>
70           <artifactId>blueprint-maven-plugin</artifactId>
71           <configuration>
72             <scanPaths>
73               <scanPath>org.opendaylight.netvirt</scanPath>
74             </scanPaths>
75           </configuration>
76         </plugin>
77         <plugin>
78           <artifactId>maven-checkstyle-plugin</artifactId>
79           <dependencies>
80             <dependency>
81               <groupId>org.opendaylight.netvirt</groupId>
82               <artifactId>checkstyle</artifactId>
83               <version>0.9.0-SNAPSHOT</version>
84             </dependency>
85           </dependencies>
86           <executions>
87             <execution>
88               <id>check-databroker</id>
89               <goals>
90                 <goal>check</goal>
91               </goals>
92               <phase>process-sources</phase>
93               <configuration>
94                 <configLocation>databroker-checks.xml</configLocation>
95                 <includeResources>false</includeResources>
96                 <includeTestSourceDirectory>false</includeTestSourceDirectory>
97                 <includeTestResources>false</includeTestResources>
98                 <sourceDirectories>
99                   <directory>${project.build.sourceDirectory}</directory>
100                 </sourceDirectories>
101                 <failsOnError>true</failsOnError>
102                 <consoleOutput>true</consoleOutput>
103               </configuration>
104             </execution>
105           </executions>
106         </plugin>
107       </plugins>
108     </pluginManagement>
109     <plugins>
110       <plugin>
111         <groupId>org.apache.maven.plugins</groupId>
112         <artifactId>maven-checkstyle-plugin</artifactId>
113         <configuration>
114           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
115         </configuration>
116       </plugin>
117       <plugin>
118         <groupId>org.codehaus.mojo</groupId>
119         <artifactId>findbugs-maven-plugin</artifactId>
120         <configuration>
121           <plugins>
122             <plugin>
123               <groupId>jp.skypencil.findbugs.slf4j</groupId>
124               <artifactId>bug-pattern</artifactId>
125               <version>1.4.0</version>
126             </plugin>
127           </plugins>
128           <failOnError>true</failOnError>
129         </configuration>
130       </plugin>
131     </plugins>
132   </build>
133
134 </project>