Checkstyle: fix issues and enforce on dsbackend
[lispflowmapping.git] / mappingservice / dsbackend / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2016 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
10 <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">
11   <modelVersion>4.0.0</modelVersion>
12
13   <parent>
14     <groupId>org.opendaylight.lispflowmapping</groupId>
15     <artifactId>mappingservice-parent</artifactId>
16     <version>1.4.0-SNAPSHOT</version>
17   </parent>
18
19   <artifactId>mappingservice.dsbackend</artifactId>
20   <packaging>bundle</packaging>
21   <name>Mapping Service DataStore BackEnd</name>
22
23   <dependencies>
24     <dependency>
25       <groupId>${project.groupId}</groupId>
26       <artifactId>mappingservice.api</artifactId>
27     </dependency>
28     <dependency>
29       <groupId>${project.groupId}</groupId>
30       <artifactId>mappingservice.lisp-proto</artifactId>
31     </dependency>
32     <dependency>
33       <groupId>junit-addons</groupId>
34       <artifactId>junit-addons</artifactId>
35     </dependency>
36     <dependency>
37       <groupId>org.powermock</groupId>
38       <artifactId>powermock-api-mockito</artifactId>
39       <scope>test</scope>
40     </dependency>
41     <dependency>
42       <groupId>org.powermock</groupId>
43       <artifactId>powermock-module-junit4</artifactId>
44       <scope>test</scope>
45     </dependency>
46
47   </dependencies>
48
49   <build>
50     <pluginManagement>
51       <plugins>
52         <plugin>
53           <!-- Enforce odlparent checkstyle -->
54           <groupId>org.apache.maven.plugins</groupId>
55           <artifactId>maven-checkstyle-plugin</artifactId>
56           <configuration>
57             <includeTestSourceDirectory>true</includeTestSourceDirectory>
58             <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
59           </configuration>
60         </plugin>
61       </plugins>
62     </pluginManagement>
63   </build>
64
65   <!--
66       Maven Site Configuration
67
68       The following configuration is necessary for maven-site-plugin to
69       correctly identify the correct deployment path for OpenDaylight Maven
70       sites.
71   -->
72   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
73
74   <distributionManagement>
75     <site>
76       <id>opendaylight-site</id>
77       <url>${nexus.site.url}/${project.artifactId}/</url>
78     </site>
79   </distributionManagement>
80
81 </project>