Checkstyle maven plugin check - yangtools
[yangtools.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
13     <modelVersion>4.0.0</modelVersion>
14     <artifactId>yangtools-aggregator</artifactId>
15     <groupId>org.opendaylight.yangtools</groupId>
16     <version>0.6.2-SNAPSHOT</version>
17     <packaging>pom</packaging>
18
19     <scm>
20         <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
21         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
22         <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
23         <tag>HEAD</tag>
24     </scm>
25
26     <modules>
27         <module>code-generator</module>
28         <module>common</module>
29         <module>integration-test</module>
30         <module>model</module>
31         <module>restconf</module>
32         <module>websocket</module>
33         <module>yang</module>
34         <!-- module>third-party</module -->
35     </modules>
36
37     <build>
38         <pluginManagement>        
39             <plugins>
40                 <plugin>
41                  <groupId>org.apache.maven.plugins</groupId>
42                  <artifactId>maven-checkstyle-plugin</artifactId>
43                  <version>2.12</version>
44                  <configuration>
45                    <failOnViolation>false</failOnViolation>
46                    <configLocation>checkstyle-logging.xml</configLocation>
47                    <consoleOutput>true</consoleOutput>
48                    <includeTestSourceDirectory>true</includeTestSourceDirectory>
49                    <sourceDirectory>${project.basedir}</sourceDirectory>
50                    <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
51                    <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/,**\/src/main/xtend-gen\/</excludes>
52                  </configuration>
53                  <dependencies>
54                    <dependency>
55                      <groupId>org.opendaylight.yangtools</groupId>
56                      <artifactId>checkstyle-logging</artifactId>
57                      <version>${project.version}</version>
58                    </dependency>
59                  </dependencies>
60                  <executions>
61                    <execution>
62                      <goals>
63                        <goal>check</goal>
64                      </goals>
65                    </execution>
66                  </executions>
67                </plugin>
68             </plugins>            
69         </pluginManagement>
70     </build>
71 </project>