Switch from findbugs to spotbugs
[bgpcep.git] / binding-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10
11 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
12          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13     <modelVersion>4.0.0</modelVersion>
14     <parent>
15         <groupId>org.opendaylight.mdsal</groupId>
16         <artifactId>binding-parent</artifactId>
17         <version>3.0.2</version>
18         <relativePath/>
19     </parent>
20
21     <groupId>org.opendaylight.bgpcep</groupId>
22     <artifactId>binding-parent</artifactId>
23     <version>0.11.0-SNAPSHOT</version>
24     <packaging>pom</packaging>
25     <name>${project.artifactId}</name>
26
27     <dependencyManagement>
28         <dependencies>
29             <dependency>
30                 <groupId>org.opendaylight.bgpcep</groupId>
31                 <artifactId>bgpcep-parent</artifactId>
32                 <version>${project.version}</version>
33                 <type>pom</type>
34                 <scope>import</scope>
35             </dependency>
36         </dependencies>
37     </dependencyManagement>
38
39     <build>
40         <plugins>
41             <plugin>
42                 <groupId>org.apache.maven.plugins</groupId>
43                 <artifactId>maven-checkstyle-plugin</artifactId>
44                 <configuration>
45                      <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
46                  </configuration>
47                 <dependencies>
48                     <dependency>
49                         <groupId>org.opendaylight.yangtools</groupId>
50                         <artifactId>checkstyle-logging</artifactId>
51                         <version>2.1.4</version>
52                     </dependency>
53                 </dependencies>
54             </plugin>
55             <plugin>
56                 <groupId>com.github.spotbugs</groupId>
57                 <artifactId>spotbugs-maven-plugin</artifactId>
58                 <configuration>
59                     <failOnError>true</failOnError>
60                 </configuration>
61             </plugin>
62             <plugin>
63                 <groupId>org.apache.maven.plugins</groupId>
64                 <artifactId>maven-dependency-plugin</artifactId>
65                 <executions>
66                     <execution>
67                         <id>analyze</id>
68                         <goals>
69                             <goal>analyze-only</goal>
70                         </goals>
71                         <configuration>
72                             <failOnWarning>true</failOnWarning>
73                             <ignoreNonCompile>true</ignoreNonCompile>
74                         </configuration>
75                     </execution>
76                 </executions>
77             </plugin>
78         </plugins>
79     </build>
80
81     <scm>
82         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
83         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
84         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
85         <tag>HEAD</tag>
86     </scm>
87 </project>