Checkstyle: fix issues and enforce on implementation
[lispflowmapping.git] / mappingservice / 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.odlparent</groupId>
7     <artifactId>odlparent</artifactId>
8     <version>1.8.0-SNAPSHOT</version>
9     <relativePath/>
10   </parent>
11
12   <groupId>org.opendaylight.lispflowmapping</groupId>
13   <artifactId>mappingservice-parent</artifactId>
14   <version>1.5.0-SNAPSHOT</version>
15   <packaging>pom</packaging>
16   <name>Mapping Service Parent POM</name>
17
18   <properties>
19     <pmd.cpd.fail>true</pmd.cpd.fail>
20   </properties>
21
22   <modules>
23     <module>lisp-proto</module>
24     <module>api</module>
25     <module>inmemorydb</module>
26     <module>dsbackend</module>
27     <module>mapcache</module>
28     <module>implementation</module>
29     <module>southbound</module>
30     <module>neutron</module>
31     <module>shell</module>
32   </modules>
33
34   <dependencyManagement>
35     <dependencies>
36       <dependency>
37         <groupId>org.opendaylight.mdsal</groupId>
38         <artifactId>mdsal-artifacts</artifactId>
39         <version>2.2.0-SNAPSHOT</version>
40         <type>pom</type>
41         <scope>import</scope>
42       </dependency>
43       <dependency>
44         <groupId>org.opendaylight.mdsal.model</groupId>
45         <artifactId>mdsal-model-artifacts</artifactId>
46         <version>0.10.0-SNAPSHOT</version>
47         <type>pom</type>
48         <scope>import</scope>
49       </dependency>
50       <dependency>
51         <groupId>${project.groupId}</groupId>
52         <artifactId>lispflowmapping-artifacts</artifactId>
53         <version>${project.version}</version>
54         <type>pom</type>
55         <scope>import</scope>
56       </dependency>
57       <dependency>
58         <groupId>${project.groupId}</groupId>
59         <artifactId>common.unittest.tools</artifactId>
60         <version>${project.version}</version>
61         <scope>test</scope>
62       </dependency>
63       <dependency>
64         <groupId>junit-addons</groupId>
65         <artifactId>junit-addons</artifactId>
66         <version>1.4</version>
67         <scope>test</scope>
68       </dependency>
69     </dependencies>
70   </dependencyManagement>
71
72   <dependencies>
73     <dependency>
74       <groupId>org.mockito</groupId>
75       <artifactId>mockito-core</artifactId>
76       <scope>test</scope>
77     </dependency>
78   </dependencies>
79
80   <build>
81     <pluginManagement>
82       <plugins>
83         <plugin>
84           <!-- Enforce odlparent checkstyle -->
85           <groupId>org.apache.maven.plugins</groupId>
86           <artifactId>maven-checkstyle-plugin</artifactId>
87           <configuration>
88             <includeTestSourceDirectory>true</includeTestSourceDirectory>
89             <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
90           </configuration>
91         </plugin>
92       </plugins>
93     </pluginManagement>
94     <plugins>
95       <plugin>
96         <groupId>org.apache.felix</groupId>
97         <artifactId>maven-bundle-plugin</artifactId>
98       </plugin>
99     </plugins>
100   </build>
101
102   <!--
103       Maven Site Configuration
104
105       The following configuration is necessary for maven-site-plugin to
106       correctly identify the correct deployment path for OpenDaylight Maven
107       sites.
108   -->
109   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
110
111   <distributionManagement>
112     <site>
113       <id>opendaylight-site</id>
114       <url>${nexus.site.url}/${project.artifactId}/</url>
115     </site>
116   </distributionManagement>
117
118 </project>