Bump odlparent to 4.0.7
[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.7</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.7-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     <modules>
34         <module>artifacts</module>
35         <module>benchmarks</module>
36         <module>bundle-parent</module>
37         <module>common</module>
38         <module>features</module>
39         <module>yang</module>
40         <module>yang-validation-tool</module>
41         <module>third-party</module>
42     </modules>
43
44     <profiles>
45         <profile>
46             <id>karaf</id>
47             <activation>
48                 <activeByDefault>true</activeByDefault>
49             </activation>
50
51             <modules>
52                 <module>distribution-karaf</module>
53             </modules>
54         </profile>
55         <profile>
56             <id>sonar-jacoco-aggregate</id>
57             <activation>
58                 <property>
59                     <name>odl.jacoco.aggregateFile</name>
60                 </property>
61             </activation>
62             <build>
63                 <plugins>
64                     <plugin>
65                         <groupId>org.jacoco</groupId>
66                         <artifactId>jacoco-maven-plugin</artifactId>
67                         <executions>
68                             <execution>
69                                 <id>merge</id>
70                                 <goals>
71                                     <goal>merge</goal>
72                                 </goals>
73                                 <phase>generate-resources</phase>
74                                 <configuration>
75                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
76                                     <fileSets>
77                                         <fileSet>
78                                             <directory>${project.basedir}</directory>
79                                             <includes>
80                                                 <include>**/target/code-coverage/*.exec</include>
81                                             </includes>
82                                         </fileSet>
83                                     </fileSets>
84                                 </configuration>
85                             </execution>
86                         </executions>
87                     </plugin>
88                 </plugins>
89             </build>
90         </profile>
91
92         <profile>
93             <!--
94                 This profile is to ensure we only build javadocs reports
95                 when we plan to deploy Maven site for our project.
96             -->
97             <id>maven-site</id>
98             <activation>
99                 <file>
100                     <exists>${user.dir}/deploy-site.xml</exists>
101                 </file>
102             </activation>
103
104             <build>
105                 <plugins>
106                     <plugin>
107                         <groupId>org.apache.maven.plugins</groupId>
108                         <artifactId>maven-javadoc-plugin</artifactId>
109                         <inherited>false</inherited>
110                         <executions>
111                             <execution>
112                                 <id>aggregate</id>
113                                 <goals>
114                                     <goal>aggregate</goal>
115                                 </goals>
116                                 <phase>package</phase>
117                                 <configuration>
118                                     <!-- Xerces-J has non-compliant javadocs -->
119                                     <additionalparam>-Xdoclint:none</additionalparam>
120                                 </configuration>
121                             </execution>
122                         </executions>
123                     </plugin>
124                 </plugins>
125             </build>
126         </profile>
127     </profiles>
128
129 </project>