Bump to odlparent 4.0.9
[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.9</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.8-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>aggregate-javadoc</id>
47             <activation>
48                 <activeByDefault>true</activeByDefault>
49             </activation>
50             <build>
51                 <plugins>
52                     <plugin>
53                         <artifactId>maven-javadoc-plugin</artifactId>
54                         <executions>
55                             <execution>
56                                 <id>aggregate</id>
57                                 <phase>package</phase>
58                                 <goals>
59                                     <goal>aggregate-jar</goal>
60                                 </goals>
61                             </execution>
62                         </executions>
63                     </plugin>
64                 </plugins>
65             </build>
66         </profile>
67         <profile>
68             <id>karaf</id>
69             <activation>
70                 <activeByDefault>true</activeByDefault>
71             </activation>
72
73             <modules>
74                 <module>distribution-karaf</module>
75             </modules>
76         </profile>
77         <profile>
78             <id>sonar-jacoco-aggregate</id>
79             <activation>
80                 <property>
81                     <name>odl.jacoco.aggregateFile</name>
82                 </property>
83             </activation>
84             <build>
85                 <plugins>
86                     <plugin>
87                         <groupId>org.jacoco</groupId>
88                         <artifactId>jacoco-maven-plugin</artifactId>
89                         <executions>
90                             <execution>
91                                 <id>merge</id>
92                                 <goals>
93                                     <goal>merge</goal>
94                                 </goals>
95                                 <phase>generate-resources</phase>
96                                 <configuration>
97                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
98                                     <fileSets>
99                                         <fileSet>
100                                             <directory>${project.basedir}</directory>
101                                             <includes>
102                                                 <include>**/target/code-coverage/*.exec</include>
103                                             </includes>
104                                         </fileSet>
105                                     </fileSets>
106                                 </configuration>
107                             </execution>
108                         </executions>
109                     </plugin>
110                 </plugins>
111             </build>
112         </profile>
113
114         <profile>
115             <!--
116                 This profile is to ensure we only build javadocs reports
117                 when we plan to deploy Maven site for our project.
118             -->
119             <id>maven-site</id>
120             <activation>
121                 <file>
122                     <exists>${user.dir}/deploy-site.xml</exists>
123                 </file>
124             </activation>
125
126             <build>
127                 <plugins>
128                     <plugin>
129                         <groupId>org.apache.maven.plugins</groupId>
130                         <artifactId>maven-javadoc-plugin</artifactId>
131                         <inherited>false</inherited>
132                         <executions>
133                             <execution>
134                                 <id>aggregate</id>
135                                 <goals>
136                                     <goal>aggregate</goal>
137                                 </goals>
138                                 <phase>package</phase>
139                                 <configuration>
140                                     <!-- Xerces-J has non-compliant javadocs -->
141                                     <additionalparam>-Xdoclint:none</additionalparam>
142                                 </configuration>
143                             </execution>
144                         </executions>
145                     </plugin>
146                 </plugins>
147             </build>
148         </profile>
149     </profiles>
150
151 </project>