772758371e0422f3289cd51a396cee4e5b218309
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11
12     <parent>
13       <groupId>org.opendaylight.odlparent</groupId>
14       <artifactId>odlparent-lite</artifactId>
15       <version>4.0.0-SNAPSHOT</version>
16       <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.yangtools</groupId>
21     <artifactId>yangtools-aggregator</artifactId>
22     <version>2.1.0-SNAPSHOT</version>
23     <name>yangtools</name> <!-- Used by Sonar to set project name -->
24     <packaging>pom</packaging>
25
26     <scm>
27         <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
28         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
29         <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
30         <tag>HEAD</tag>
31     </scm>
32
33     <properties>
34         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
35         <sonar.jacoco.reportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.reportPath>
36     </properties>
37
38     <modules>
39         <module>artifacts</module>
40         <module>benchmarks</module>
41         <module>common</module>
42         <module>features</module>
43         <module>yang</module>
44         <module>yang-validation-tool</module>
45         <module>third-party</module>
46     </modules>
47
48     <build>
49         <plugins>
50             <plugin>
51                 <groupId>org.apache.maven.plugins</groupId>
52                 <artifactId>maven-javadoc-plugin</artifactId>
53                 <inherited>false</inherited>
54                 <executions>
55                     <execution>
56                         <id>aggregate</id>
57                         <goals>
58                             <goal>aggregate</goal>
59                         </goals>
60                         <phase>package</phase>
61                         <configuration>
62                             <!-- Xerces-J has non-compliant javadocs -->
63                             <additionalparam>-Xdoclint:none</additionalparam>
64                         </configuration>
65                     </execution>
66                 </executions>
67             </plugin>
68             <plugin>
69                 <groupId>org.jacoco</groupId>
70                 <artifactId>jacoco-maven-plugin</artifactId>
71                 <executions>
72                     <execution>
73                         <id>merge</id>
74                         <goals>
75                             <goal>merge</goal>
76                         </goals>
77                         <phase>generate-resources</phase>
78                         <configuration>
79                             <fileSets>
80                                 <fileSet>
81                                     <directory>${project.basedir}</directory>
82                                     <includes>
83                                         <include>common/*/target/code-coverage/*.exec</include>
84                                         <include>third-party/*/target/code-coverage/*.exec</include>
85                                         <include>yang/*/target/code-coverage/*.exec</include>
86                                     </includes>
87                                 </fileSet>
88                             </fileSets>
89                         </configuration>
90                     </execution>
91                 </executions>
92             </plugin>
93         </plugins>
94     </build>
95
96 </project>