apply checkstyle check during build for neutron-mapper
[groupbasedpolicy.git] / domain-extensions / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
3   This program and the accompanying materials are made available under the
4   terms of the Eclipse Public License v1.0 which accompanies this distribution,
5   and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8   <modelVersion>4.0.0</modelVersion>
9
10  <parent>
11     <groupId>org.opendaylight.mdsal</groupId>
12     <artifactId>binding-parent</artifactId>
13     <version>0.12.0-SNAPSHOT</version>
14     <relativePath/>
15   </parent>
16
17   <groupId>org.opendaylight.groupbasedpolicy</groupId>
18   <artifactId>groupbasedpolicy-domain-extensions</artifactId>
19   <version>0.7.0-SNAPSHOT</version>
20   <packaging>pom</packaging>
21   <!-- <name> formatting is used by autorelease to parse and notify projects on
22      build failure. Please do not modify this unless you have a good reason. -->
23   <name>ODL :: groupbasedpolicy :: ${project.artifactId}</name>
24
25   <modules>
26     <module>l2-l3</module>
27   </modules>
28
29   <dependencyManagement>
30     <dependencies>
31       <dependency>
32         <groupId>org.opendaylight.controller</groupId>
33         <artifactId>mdsal-artifacts</artifactId>
34         <version>1.7.0-SNAPSHOT</version>
35         <type>pom</type>
36         <scope>import</scope>
37       </dependency>
38     </dependencies>
39   </dependencyManagement>
40
41   <dependencies>
42     <dependency>
43       <groupId>org.opendaylight.groupbasedpolicy</groupId>
44       <artifactId>groupbasedpolicy</artifactId>
45       <version>${project.version}</version>
46     </dependency>
47   </dependencies>
48
49   <build>
50     <plugins>
51       <plugin>
52         <artifactId>maven-checkstyle-plugin</artifactId>
53         <configuration>
54           <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
55           <consoleOutput>true</consoleOutput>
56           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
57         </configuration>
58         <executions>
59           <execution>
60             <goals>
61               <goal>check</goal>
62             </goals>
63             <phase>process-sources</phase>
64           </execution>
65         </executions>
66       </plugin>
67     </plugins>
68   </build>
69 </project>