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