Checkstyle: preparation for switching to odlparent
[lispflowmapping.git] / mappingservice / inmemorydb / 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.inmemorydb</artifactId>
12   <packaging>bundle</packaging>
13   <name>Mapping Service Inmemory Mappings Database</name>
14
15   <dependencies>
16     <dependency>
17       <groupId>${project.groupId}</groupId>
18       <artifactId>mappingservice.api</artifactId>
19     </dependency>
20   </dependencies>
21
22   <build>
23     <pluginManagement>
24       <plugins>
25         <plugin>
26           <!-- Temporarily override the odlparent checkstyle configuration.
27                We want to enforce some simple rules and add more as we clean up code -->
28           <artifactId>maven-checkstyle-plugin</artifactId>
29           <configuration>
30             <configLocation>checkstyle/java_rules.xml</configLocation>
31             <includeTestSourceDirectory>true</includeTestSourceDirectory>
32             <excludes>org/opendaylight/yang/gen/**,**/config/yang/**</excludes>
33             <failsOnError>true</failsOnError>
34             <consoleOutput>true</consoleOutput>
35           </configuration>
36           <dependencies>
37             <dependency>
38               <groupId>org.opendaylight.lispflowmapping</groupId>
39               <artifactId>common.build.tools</artifactId>
40               <version>${project.version}</version>
41             </dependency>
42           </dependencies>
43           <executions>
44             <execution>
45               <goals>
46                 <goal>check</goal>
47               </goals>
48               <phase>process-sources</phase>
49             </execution>
50           </executions>
51         </plugin>
52       </plugins>
53     </pluginManagement>
54   </build>
55
56   <!--
57       Maven Site Configuration
58
59       The following configuration is necessary for maven-site-plugin to
60       correctly identify the correct deployment path for OpenDaylight Maven
61       sites.
62   -->
63   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
64
65   <distributionManagement>
66     <site>
67       <id>opendaylight-site</id>
68       <url>${nexus.site.url}/${project.artifactId}/</url>
69     </site>
70   </distributionManagement>
71
72 </project>