Checkstyle: fix issues and enforce on lisp-proto
[lispflowmapping.git] / mappingservice / lisp-proto / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Cisco Systems, Inc. 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.mdsal</groupId>
14     <artifactId>binding-parent</artifactId>
15     <version>0.9.0-SNAPSHOT</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.lispflowmapping</groupId>
20   <artifactId>mappingservice.lisp-proto</artifactId>
21   <version>1.4.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <name>Mapping Service LISP Protocol</name>
24
25   <properties>
26     <pmd.cpd.fail>true</pmd.cpd.fail>
27   </properties>
28
29   <dependencies>
30     <dependency>
31       <groupId>org.opendaylight.mdsal.model</groupId>
32       <artifactId>ietf-inet-types-2013-07-15</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.mdsal.model</groupId>
36       <artifactId>ietf-yang-types-20130715</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.mdsal.model</groupId>
40       <artifactId>iana-afn-safi</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.apache.commons</groupId>
44       <artifactId>commons-lang3</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.lispflowmapping</groupId>
48       <artifactId>common.unittest.tools</artifactId>
49       <version>${project.version}</version>
50     </dependency>
51     <dependency>
52       <groupId>junit-addons</groupId>
53       <artifactId>junit-addons</artifactId>
54       <version>1.4</version>
55       <scope>test</scope>
56     </dependency>
57     <dependency>
58       <groupId>org.mockito</groupId>
59       <artifactId>mockito-core</artifactId>
60       <scope>test</scope>
61     </dependency>
62   </dependencies>
63
64   <build>
65     <pluginManagement>
66       <plugins>
67         <plugin>
68           <!-- Enforce odlparent checkstyle -->
69           <groupId>org.apache.maven.plugins</groupId>
70           <artifactId>maven-checkstyle-plugin</artifactId>
71           <configuration>
72             <includeTestSourceDirectory>true</includeTestSourceDirectory>
73             <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
74           </configuration>
75         </plugin>
76       </plugins>
77     </pluginManagement>
78   </build>
79
80   <!--
81       Maven Site Configuration
82
83       The following configuration is necessary for maven-site-plugin to
84       correctly identify the correct deployment path for OpenDaylight Maven
85       sites.
86   -->
87   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
88
89   <distributionManagement>
90     <site>
91       <id>opendaylight-site</id>
92       <url>${nexus.site.url}/${project.artifactId}/</url>
93     </site>
94   </distributionManagement>
95
96 </project>