MRI version bumpup for Aluminium
[netvirt.git] / bgpmanager / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 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"
10          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11
12     <parent>
13         <groupId>org.opendaylight.netvirt</groupId>
14         <artifactId>binding-parent</artifactId>
15         <version>0.11.0-SNAPSHOT</version>
16         <relativePath>../../commons/binding-parent</relativePath>
17     </parent>
18
19     <artifactId>bgpmanager-impl</artifactId>
20     <name>ODL :: netvirt :: ${project.artifactId}</name>
21     <packaging>bundle</packaging>
22     <modelVersion>4.0.0</modelVersion>
23
24     <dependencies>
25         <dependency>
26             <groupId>org.osgi</groupId>
27             <artifactId>org.osgi.core</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>${project.groupId}</groupId>
31             <artifactId>bgpmanager-api</artifactId>
32             <version>${project.version}</version>
33         </dependency>
34         <dependency>
35             <groupId>${project.groupId}</groupId>
36             <artifactId>elanmanager-api</artifactId>
37             <version>${project.version}</version>
38         </dependency>
39         <dependency>
40             <groupId>org.opendaylight.genius</groupId>
41             <artifactId>mdsalutil-api</artifactId>
42             <version>${genius.version}</version>
43         </dependency>
44         <dependency>
45             <groupId>org.opendaylight.ovsdb</groupId>
46             <artifactId>utils.mdsal-utils</artifactId>
47             <version>${ovsdb.version}</version>
48         </dependency>
49         <dependency>
50             <groupId>${project.groupId}</groupId>
51             <artifactId>model-bgp</artifactId>
52             <version>${model.bgp.version}</version>
53         </dependency>
54         <dependency>
55             <groupId>org.apache.thrift</groupId>
56             <artifactId>libthrift</artifactId>
57             <version>0.9.3</version>
58         </dependency>
59         <dependency>
60             <groupId>${project.groupId}</groupId>
61             <artifactId>fibmanager-api</artifactId>
62             <version>${project.version}</version>
63         </dependency>
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>vpnmanager-api</artifactId>
67             <version>${project.version}</version>
68         </dependency>
69 <!--        <dependency>
70             <groupId>org.opendaylight.controller</groupId>
71             <artifactId>sal-binding-broker-impl</artifactId>
72             <scope>test</scope>
73         </dependency>
74         <dependency>
75             <groupId>org.opendaylight.controller</groupId>
76             <artifactId>sal-binding-broker-impl</artifactId>
77             <scope>test</scope>
78             <type>test-jar</type>
79         </dependency>-->
80         <dependency>
81             <groupId>org.opendaylight.mdsal</groupId>
82             <artifactId>mdsal-binding-test-utils</artifactId>
83             <scope>test</scope>
84         </dependency>
85         <dependency>
86             <groupId>org.opendaylight.mdsal</groupId>
87             <artifactId>mdsal-binding-dom-adapter</artifactId>
88             <scope>test</scope>
89             <type>test-jar</type>
90         </dependency>
91         <dependency>
92             <groupId>org.apache.karaf.shell</groupId>
93             <artifactId>org.apache.karaf.shell.console</artifactId>
94             <scope>provided</scope>
95         </dependency>
96         <dependency>
97             <groupId>com.google.truth</groupId>
98             <artifactId>truth</artifactId>
99             <scope>test</scope>
100         </dependency>
101         <dependency>
102             <groupId>org.opendaylight.infrautils</groupId>
103             <artifactId>metrics-api</artifactId>
104             <version>${infrautils.version}</version>
105         </dependency>
106     </dependencies>
107
108     <build>
109         <plugins>
110             <plugin>
111                 <groupId>org.apache.aries.blueprint</groupId>
112                 <artifactId>blueprint-maven-plugin</artifactId>
113             </plugin>
114             <plugin>
115                 <groupId>org.apache.felix</groupId>
116                 <artifactId>maven-bundle-plugin</artifactId>
117                 <extensions>true</extensions>
118                 <configuration>
119                     <instructions>
120                         <!-- We purposely don't export any packages to avoid any dependencies
121                              on this bundle and prevent @Singleton annotated classes from being
122                              accidently included in another bundle's blueprint XML  -->
123                         <Export-Package/>
124                     </instructions>
125                 </configuration>
126             </plugin>
127             <plugin>
128                 <groupId>org.apache.maven.plugins</groupId>
129                 <artifactId>maven-checkstyle-plugin</artifactId>
130                 <configuration>
131                     <excludes>**/gen/**/*</excludes>
132                 </configuration>
133             </plugin>
134             <plugin>
135                 <groupId>org.apache.maven.plugins</groupId>
136                 <artifactId>maven-pmd-plugin</artifactId>
137                 <configuration>
138                     <excludes>**/gen/**/*</excludes>
139                 </configuration>
140             </plugin>
141             <plugin>
142                 <groupId>com.github.spotbugs</groupId>
143                 <artifactId>spotbugs-maven-plugin</artifactId>
144                 <configuration>
145                     <failOnError>true</failOnError>
146                     <!--
147                       We specifically include the packages to analyze since we don't want the
148                       thrift-generated classes analyzed since they yield violations. It would be
149                       better to specify the packages to exclude which can be done via an
150                       <excludeFilterFile> but then we wouldn't pick up the exclusions filter file
151                       from odlparent.
152
153                       NOTE: it would be nice to list each package on a separate line but FindBugs
154                       doesn't seem to trim WS between the commas.
155                     -->
156                     <onlyAnalyze>
157                         org.opendaylight.netvirt.bgpmanager.*,org.opendaylight.netvirt.bgpmanager.commands.*,org.opendaylight.netvirt.bgpmanager.oam.*,org.opendaylight.netvirt.bgpmanager.thrift.client.*,org.opendaylight.netvirt.bgpmanager.thrift.server.*
158                     </onlyAnalyze>
159                 </configuration>
160             </plugin>
161         </plugins>
162     </build>
163 </project>