Bump versions by x.y.(z+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>2.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>1.2.4-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>common</module>
35         <module>features</module>
36         <module>websocket</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>benchmarks</id>
45         <activation>
46           <activeByDefault>false</activeByDefault>
47         </activation>
48         <modules>
49           <module>benchmarks</module>
50         </modules>
51       </profile>
52
53       <profile>
54         <!--
55             This profile is to ensure we only build javadocs reports
56             when we plan to deploy Maven site for our project.
57         -->
58         <id>maven-site</id>
59         <activation>
60           <file>
61             <exists>${user.dir}/deploy-site.xml</exists>
62           </file>
63         </activation>
64
65         <build>
66           <plugins>
67             <plugin>
68               <groupId>org.apache.maven.plugins</groupId>
69               <artifactId>maven-javadoc-plugin</artifactId>
70               <inherited>false</inherited>
71               <executions>
72                 <execution>
73                   <id>aggregate</id>
74                   <goals>
75                     <goal>aggregate</goal>
76                   </goals>
77                   <phase>package</phase>
78                   <configuration>
79                     <!-- Xerces-J has non-compliant javadocs -->
80                     <additionalparam>-Xdoclint:none</additionalparam>
81                   </configuration>
82               </execution>
83               </executions>
84             </plugin>
85           </plugins>
86         </build>
87       </profile>
88     </profiles>
89
90     <build>
91         <pluginManagement>
92             <plugins>
93                 <plugin>
94                     <groupId>org.apache.maven.plugins</groupId>
95                     <artifactId>maven-checkstyle-plugin</artifactId>
96                     <dependencies>
97                         <dependency>
98                             <groupId>org.opendaylight.yangtools</groupId>
99                             <artifactId>checkstyle-logging</artifactId>
100                             <version>${project.version}</version>
101                         </dependency>
102                     </dependencies>
103                 </plugin>
104             </plugins>
105         </pluginManagement>
106     </build>
107
108   <!--
109       Maven Site Configuration
110
111       The following configuration is necessary for maven-site-plugin to
112       correctly identify the correct deployment path for OpenDaylight Maven
113       sites.
114   -->
115   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
116
117   <distributionManagement>
118     <site>
119       <id>opendaylight-site</id>
120       <url>${nexus.site.url}/</url>
121     </site>
122   </distributionManagement>
123 </project>