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