Use imported checkState()
[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>11.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>9.0.0-SNAPSHOT</version>
23     <packaging>pom</packaging>
24     <name>yangtools</name> <!-- Used by Sonar to set project name -->
25     <description>
26         YANG Tools provides basic libraries for parsing YANG and YIN files, working with the resulting effective model,
27         and handling data complying to this model.
28     </description>
29
30     <scm>
31         <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
32         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
33         <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
34         <tag>HEAD</tag>
35     </scm>
36
37     <modules>
38         <module>artifacts</module>
39         <module>docs</module>
40         <module>features</module>
41
42         <module>benchmarks</module>
43         <module>bnd-parent</module>
44         <module>bundle-parent</module>
45         <module>codec</module>
46         <module>common</module>
47         <module>data</module>
48         <module>model</module>
49         <module>parser</module>
50         <module>plugin</module>
51         <module>tools</module>
52         <module>xpath</module>
53
54         <module>yang</module>
55     </modules>
56
57     <properties>
58         <maven.deploy.skip>true</maven.deploy.skip>
59         <maven.install.skip>true</maven.install.skip>
60     </properties>
61
62     <profiles>
63         <profile>
64             <id>karaf</id>
65             <activation>
66                 <activeByDefault>true</activeByDefault>
67             </activation>
68
69             <modules>
70                 <module>karaf</module>
71             </modules>
72         </profile>
73         <profile>
74             <id>sonar-jacoco-aggregate</id>
75             <activation>
76                 <property>
77                     <name>odl.jacoco.aggregateFile</name>
78                 </property>
79             </activation>
80             <build>
81                 <plugins>
82                     <plugin>
83                         <groupId>org.jacoco</groupId>
84                         <artifactId>jacoco-maven-plugin</artifactId>
85                         <executions>
86                             <execution>
87                                 <id>merge</id>
88                                 <goals>
89                                     <goal>merge</goal>
90                                 </goals>
91                                 <phase>generate-resources</phase>
92                                 <configuration>
93                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
94                                     <fileSets>
95                                         <fileSet>
96                                             <directory>${project.basedir}</directory>
97                                             <includes>
98                                                 <include>**/target/code-coverage/*.exec</include>
99                                             </includes>
100                                         </fileSet>
101                                     </fileSets>
102                                 </configuration>
103                             </execution>
104                         </executions>
105                     </plugin>
106                 </plugins>
107             </build>
108         </profile>
109     </profiles>
110 </project>