888b077ec3ed9365b433434479e987e92a067edb
[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.apache.karaf.shell</groupId>
82             <artifactId>org.apache.karaf.shell.console</artifactId>
83             <scope>provided</scope>
84         </dependency>
85         <dependency>
86             <groupId>com.google.truth</groupId>
87             <artifactId>truth</artifactId>
88             <scope>test</scope>
89         </dependency>
90         <dependency>
91             <groupId>org.opendaylight.infrautils</groupId>
92             <artifactId>metrics-api</artifactId>
93             <version>${infrautils.version}</version>
94         </dependency>
95     </dependencies>
96
97     <build>
98         <plugins>
99             <plugin>
100                 <groupId>org.apache.aries.blueprint</groupId>
101                 <artifactId>blueprint-maven-plugin</artifactId>
102             </plugin>
103             <plugin>
104                 <groupId>org.apache.felix</groupId>
105                 <artifactId>maven-bundle-plugin</artifactId>
106                 <extensions>true</extensions>
107                 <configuration>
108                     <instructions>
109                         <!-- We purposely don't export any packages to avoid any dependencies
110                              on this bundle and prevent @Singleton annotated classes from being
111                              accidently included in another bundle's blueprint XML  -->
112                         <Export-Package/>
113                     </instructions>
114                 </configuration>
115             </plugin>
116             <plugin>
117                 <groupId>org.apache.maven.plugins</groupId>
118                 <artifactId>maven-checkstyle-plugin</artifactId>
119                 <configuration>
120                     <excludes>**/gen/**/*</excludes>
121                 </configuration>
122             </plugin>
123             <plugin>
124                 <groupId>org.apache.maven.plugins</groupId>
125                 <artifactId>maven-pmd-plugin</artifactId>
126                 <configuration>
127                     <excludes>**/gen/**/*</excludes>
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                     <!--
136                       We specifically include the packages to analyze since we don't want the
137                       thrift-generated classes analyzed since they yield violations. It would be
138                       better to specify the packages to exclude which can be done via an
139                       <excludeFilterFile> but then we wouldn't pick up the exclusions filter file
140                       from odlparent.
141
142                       NOTE: it would be nice to list each package on a separate line but FindBugs
143                       doesn't seem to trim WS between the commas.
144                     -->
145                     <onlyAnalyze>
146                         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.*
147                     </onlyAnalyze>
148                 </configuration>
149             </plugin>
150         </plugins>
151     </build>
152 </project>