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