Enforce findbug and checkstyle under utils
[bgpcep.git] / util / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 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="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13
14     <modelVersion>4.0.0</modelVersion>
15     <scm>
16         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
17         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
18         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
19         <tag>HEAD</tag>
20     </scm>
21     <parent>
22         <groupId>org.opendaylight.bgpcep</groupId>
23         <artifactId>bgpcep-parent</artifactId>
24         <version>0.9.0-SNAPSHOT</version>
25         <relativePath>../parent</relativePath>
26     </parent>
27
28     <artifactId>util</artifactId>
29     <description>Protocol utilities</description>
30     <packaging>bundle</packaging>
31     <name>${project.artifactId}</name>
32
33     <dependencies>
34         <dependency>
35             <groupId>com.google.guava</groupId>
36             <artifactId>guava</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.slf4j</groupId>
40             <artifactId>slf4j-api</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>io.netty</groupId>
44             <artifactId>netty-buffer</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.mdsal.model</groupId>
48             <artifactId>ietf-inet-types-2013-07-15</artifactId>
49         </dependency>
50         <!-- Testing dependencies -->
51         <dependency>
52             <groupId>junit</groupId>
53             <artifactId>junit</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>concepts</artifactId>
58         </dependency>
59     </dependencies>
60
61     <build>
62         <plugins>
63             <plugin>
64                 <groupId>org.apache.maven.plugins</groupId>
65                 <artifactId>maven-checkstyle-plugin</artifactId>
66                 <configuration>
67                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
68                 </configuration>
69             </plugin>
70             <plugin>
71                 <groupId>org.codehaus.mojo</groupId>
72                 <artifactId>findbugs-maven-plugin</artifactId>
73                 <configuration>
74                     <failOnError>true</failOnError>
75                 </configuration>
76             </plugin>
77             <plugin>
78                 <groupId>org.apache.felix</groupId>
79                 <artifactId>maven-bundle-plugin</artifactId>
80                 <extensions>true</extensions>
81                 <configuration>
82                     <instructions>
83                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
84                     </instructions>
85                 </configuration>
86             </plugin>
87             <plugin>
88                 <groupId>org.apache.maven.plugins</groupId>
89                 <artifactId>maven-jar-plugin</artifactId>
90                 <executions>
91                     <execution>
92                         <phase>package</phase>
93                         <goals>
94                             <goal>test-jar</goal>
95                         </goals>
96                     </execution>
97                 </executions>
98             </plugin>
99         </plugins>
100     </build>
101 </project>