Bump versions for 2.0.17-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>3.1.6</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.0.17-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>benchmarks</module>
35         <module>common</module>
36         <module>features</module>
37         <module>yang</module>
38         <module>yang-validation-tool</module>
39         <module>third-party</module>
40     </modules>
41
42     <profiles>
43         <profile>
44             <id>aggregate-javadoc</id>
45             <activation>
46                 <activeByDefault>true</activeByDefault>
47             </activation>
48             <build>
49                 <plugins>
50                     <plugin>
51                         <artifactId>maven-javadoc-plugin</artifactId>
52                         <executions>
53                             <execution>
54                                 <id>aggregate</id>
55                                 <phase>package</phase>
56                                 <goals>
57                                     <goal>aggregate-jar</goal>
58                                 </goals>
59                             </execution>
60                         </executions>
61                     </plugin>
62                 </plugins>
63             </build>
64         </profile>
65         <profile>
66             <id>karaf</id>
67             <activation>
68                 <activeByDefault>true</activeByDefault>
69             </activation>
70
71             <modules>
72                 <module>distribution-karaf</module>
73             </modules>
74         </profile>
75
76       <profile>
77         <!--
78             This profile is to ensure we only build javadocs reports
79             when we plan to deploy Maven site for our project.
80         -->
81         <id>maven-site</id>
82         <activation>
83           <file>
84             <exists>${user.dir}/deploy-site.xml</exists>
85           </file>
86         </activation>
87
88         <build>
89           <plugins>
90             <plugin>
91               <groupId>org.apache.maven.plugins</groupId>
92               <artifactId>maven-javadoc-plugin</artifactId>
93               <inherited>false</inherited>
94               <executions>
95                 <execution>
96                   <id>aggregate</id>
97                   <goals>
98                     <goal>aggregate</goal>
99                   </goals>
100                   <phase>package</phase>
101                   <configuration>
102                     <!-- Xerces-J has non-compliant javadocs -->
103                     <additionalparam>-Xdoclint:none</additionalparam>
104                   </configuration>
105               </execution>
106               </executions>
107             </plugin>
108           </plugins>
109         </build>
110       </profile>
111     </profiles>
112
113 </project>