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