Populate model/ hierarchy
[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>9.0.0</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>7.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>bundle-parent</module>
44         <module>common</module>
45         <module>data</module>
46         <module>model</module>
47         <module>plugin</module>
48         <module>tools</module>
49
50         <module>yang</module>
51     </modules>
52
53     <properties>
54         <maven.deploy.skip>true</maven.deploy.skip>
55         <maven.install.skip>true</maven.install.skip>
56     </properties>
57
58     <profiles>
59         <profile>
60             <id>karaf</id>
61             <activation>
62                 <activeByDefault>true</activeByDefault>
63             </activation>
64
65             <modules>
66                 <module>karaf</module>
67             </modules>
68         </profile>
69         <profile>
70             <id>sonar-jacoco-aggregate</id>
71             <activation>
72                 <property>
73                     <name>odl.jacoco.aggregateFile</name>
74                 </property>
75             </activation>
76             <build>
77                 <plugins>
78                     <plugin>
79                         <groupId>org.jacoco</groupId>
80                         <artifactId>jacoco-maven-plugin</artifactId>
81                         <executions>
82                             <execution>
83                                 <id>merge</id>
84                                 <goals>
85                                     <goal>merge</goal>
86                                 </goals>
87                                 <phase>generate-resources</phase>
88                                 <configuration>
89                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
90                                     <fileSets>
91                                         <fileSet>
92                                             <directory>${project.basedir}</directory>
93                                             <includes>
94                                                 <include>**/target/code-coverage/*.exec</include>
95                                             </includes>
96                                         </fileSet>
97                                     </fileSets>
98                                 </configuration>
99                             </execution>
100                         </executions>
101                     </plugin>
102                 </plugins>
103             </build>
104         </profile>
105     </profiles>
106 </project>