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