Merge "Change yang-maven-plugin to write yang files to build output"
[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>benchmarks</module>
35       <!-- module>third-party</module -->
36     </modules>
37
38     <build>
39         <pluginManagement>        
40             <plugins>
41                 <plugin>
42                  <groupId>org.apache.maven.plugins</groupId>
43                  <artifactId>maven-checkstyle-plugin</artifactId>
44                  <version>2.12</version>
45                  <configuration>
46                    <failOnViolation>false</failOnViolation>
47                    <configLocation>checkstyle-logging.xml</configLocation>
48                    <consoleOutput>true</consoleOutput>
49                    <includeTestSourceDirectory>true</includeTestSourceDirectory>
50                    <sourceDirectory>${project.basedir}</sourceDirectory>
51                    <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
52                    <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/,**\/src/main/xtend-gen\/</excludes>
53                  </configuration>
54                  <dependencies>
55                    <dependency>
56                      <groupId>org.opendaylight.yangtools</groupId>
57                      <artifactId>checkstyle-logging</artifactId>
58                      <version>${project.version}</version>
59                    </dependency>
60                  </dependencies>
61                  <executions>
62                    <execution>
63                      <goals>
64                        <goal>check</goal>
65                      </goals>
66                    </execution>
67                  </executions>
68                </plugin>
69             </plugins>            
70         </pluginManagement>
71     </build>
72 </project>