34789a5aa9e4fdb8845dbeb8b044cc0a69082617
[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           <!-- Temporarily override the odlparent checkstyle configuration.
54                We want to enforce some simple rules and add more as we clean up code -->
55           <artifactId>maven-checkstyle-plugin</artifactId>
56           <configuration>
57             <configLocation>checkstyle/java_rules.xml</configLocation>
58             <includeTestSourceDirectory>true</includeTestSourceDirectory>
59             <excludes>org/opendaylight/yang/gen/**,**/config/yang/**</excludes>
60             <failsOnError>true</failsOnError>
61             <consoleOutput>true</consoleOutput>
62           </configuration>
63           <dependencies>
64             <dependency>
65               <groupId>org.opendaylight.lispflowmapping</groupId>
66               <artifactId>common.build.tools</artifactId>
67               <version>${project.version}</version>
68             </dependency>
69           </dependencies>
70           <executions>
71             <execution>
72               <goals>
73                 <goal>check</goal>
74               </goals>
75               <phase>process-sources</phase>
76             </execution>
77           </executions>
78         </plugin>
79       </plugins>
80     </pluginManagement>
81   </build>
82
83   <!--
84       Maven Site Configuration
85
86       The following configuration is necessary for maven-site-plugin to
87       correctly identify the correct deployment path for OpenDaylight Maven
88       sites.
89   -->
90   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
91
92   <distributionManagement>
93     <site>
94       <id>opendaylight-site</id>
95       <url>${nexus.site.url}/${project.artifactId}/</url>
96     </site>
97   </distributionManagement>
98
99 </project>