Merge branch 'master' into topic/ietf_yang
[lispflowmapping.git] / mappingservice / lisp-proto / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 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 <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">
10   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.mdsal</groupId>
14     <artifactId>binding-parent</artifactId>
15     <version>0.8.0-SNAPSHOT</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.lispflowmapping</groupId>
20   <artifactId>mappingservice.lisp-proto</artifactId>
21   <version>1.3.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <name>Mapping Service LISP Protocol</name>
24
25   <dependencies>
26     <dependency>
27       <groupId>org.opendaylight.mdsal.model</groupId>
28       <artifactId>ietf-inet-types</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.mdsal.model</groupId>
32       <artifactId>ietf-yang-types</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.apache.commons</groupId>
36       <artifactId>commons-lang3</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.lispflowmapping</groupId>
40       <artifactId>common.unittest.tools</artifactId>
41       <version>${project.version}</version>
42     </dependency>
43     <dependency>
44       <groupId>junit-addons</groupId>
45       <artifactId>junit-addons</artifactId>
46       <version>1.4</version>
47       <scope>test</scope>
48     </dependency>
49   </dependencies>
50
51   <!-- Temporarily disable compiling non-generated code, like serializers, which won't build for now -->
52   <build>
53     <pluginManagement>
54       <plugins>
55         <plugin>
56           <!-- Temporarily override the odlparent checkstyle configuration.
57                We want to enforce some simple rules and add more as we clean up code -->
58           <artifactId>maven-checkstyle-plugin</artifactId>
59           <configuration>
60             <configLocation>checkstyle/java_rules.xml</configLocation>
61             <includeTestSourceDirectory>true</includeTestSourceDirectory>
62             <excludes>org/opendaylight/yang/gen/**,**/config/yang/**</excludes>
63             <failsOnError>true</failsOnError>
64             <consoleOutput>true</consoleOutput>
65           </configuration>
66           <dependencies>
67             <dependency>
68               <groupId>org.opendaylight.lispflowmapping</groupId>
69               <artifactId>common.build.tools</artifactId>
70               <version>${project.version}</version>
71             </dependency>
72           </dependencies>
73           <executions>
74             <execution>
75               <goals>
76                 <goal>check</goal>
77               </goals>
78               <phase>process-sources</phase>
79             </execution>
80           </executions>
81         </plugin>
82       </plugins>
83     </pluginManagement>
84
85     <plugins>
86       <plugin>
87         <artifactId>maven-compiler-plugin</artifactId>
88         <executions>
89           <execution>
90             <id>default-compile</id>
91             <phase>compile</phase>
92             <goals>
93               <goal>compile</goal>
94             </goals>
95             <configuration>
96               <excludes>
97                 <exclude>org/opendaylight/lispflowmapping/**</exclude>
98               </excludes>
99             </configuration>
100           </execution>
101           <execution>
102             <id>default-testCompile</id>
103             <phase>test-compile</phase>
104             <goals>
105               <goal>testCompile</goal>
106             </goals>
107             <configuration>
108               <skip>true</skip>
109             </configuration>
110           </execution>
111         </executions>
112       </plugin>
113     </plugins>
114   </build>
115 </project>