Checkstyle: preparation for switching to odlparent
[lispflowmapping.git] / mappingservice / api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4
5   <parent>
6     <groupId>org.opendaylight.lispflowmapping</groupId>
7     <artifactId>mappingservice-parent</artifactId>
8     <version>1.4.0-SNAPSHOT</version>
9   </parent>
10
11   <artifactId>mappingservice.api</artifactId>
12   <packaging>bundle</packaging>
13   <name>Mapping Service Public APIs</name>
14
15   <dependencies>
16     <dependency>
17       <groupId>org.opendaylight.lispflowmapping</groupId>
18       <artifactId>mappingservice.lisp-proto</artifactId>
19     </dependency>
20     <dependency>
21       <groupId>org.opendaylight.mdsal.model</groupId>
22       <artifactId>yang-ext</artifactId>
23     </dependency>
24     <dependency>
25       <groupId>org.opendaylight.mdsal.model</groupId>
26       <artifactId>ietf-inet-types</artifactId>
27     </dependency>
28   </dependencies>
29
30   <build>
31     <pluginManagement>
32       <plugins>
33         <plugin>
34           <!-- Temporarily override the odlparent checkstyle configuration.
35                We want to enforce some simple rules and add more as we clean up code -->
36           <artifactId>maven-checkstyle-plugin</artifactId>
37           <configuration>
38             <configLocation>checkstyle/java_rules.xml</configLocation>
39             <includeTestSourceDirectory>true</includeTestSourceDirectory>
40             <excludes>org/opendaylight/yang/gen/**,**/config/yang/**</excludes>
41             <failsOnError>true</failsOnError>
42             <consoleOutput>true</consoleOutput>
43           </configuration>
44           <dependencies>
45             <dependency>
46               <groupId>org.opendaylight.lispflowmapping</groupId>
47               <artifactId>common.build.tools</artifactId>
48               <version>${project.version}</version>
49             </dependency>
50           </dependencies>
51           <executions>
52             <execution>
53               <goals>
54                 <goal>check</goal>
55               </goals>
56               <phase>process-sources</phase>
57             </execution>
58           </executions>
59         </plugin>
60       </plugins>
61     </pluginManagement>
62   </build>
63
64   <!--
65       Maven Site Configuration
66
67       The following configuration is necessary for maven-site-plugin to
68       correctly identify the correct deployment path for OpenDaylight Maven
69       sites.
70   -->
71   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
72
73   <distributionManagement>
74     <site>
75       <id>opendaylight-site</id>
76       <url>${nexus.site.url}/${project.artifactId}/</url>
77     </site>
78   </distributionManagement>
79
80 </project>