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"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
13     <parent>
14       <groupId>org.opendaylight.odlparent</groupId>
15       <artifactId>odlparent-lite</artifactId>
16       <version>1.8.5-SNAPSHOT</version>
17       <relativePath/>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <groupId>org.opendaylight.yangtools</groupId>
22     <artifactId>yangtools-aggregator</artifactId>
23     <version>1.1.5-SNAPSHOT</version>
24     <name>yangtools</name> <!-- Used by Sonar to set project name -->
25     <packaging>pom</packaging>
26
27     <scm>
28         <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
29         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
30         <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
31         <tag>HEAD</tag>
32     </scm>
33
34     <modules>
35         <module>common</module>
36         <module>features</module>
37         <module>websocket</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>benchmarks</id>
46         <activation>
47           <activeByDefault>false</activeByDefault>
48         </activation>
49         <modules>
50           <module>benchmarks</module>
51         </modules>
52       </profile>
53
54       <profile>
55         <!--
56             This profile is to ensure we only build javadocs reports
57             when we plan to deploy Maven site for our project.
58         -->
59         <id>maven-site</id>
60         <activation>
61           <file>
62             <exists>${user.dir}/deploy-site.xml</exists>
63           </file>
64         </activation>
65
66         <build>
67           <plugins>
68             <plugin>
69               <groupId>org.apache.maven.plugins</groupId>
70               <artifactId>maven-javadoc-plugin</artifactId>
71               <inherited>false</inherited>
72               <executions>
73                 <execution>
74                   <id>aggregate</id>
75                   <goals>
76                     <goal>aggregate</goal>
77                   </goals>
78                   <phase>package</phase>
79                   <configuration>
80                     <!-- Xerces-J has non-compliant javadocs -->
81                     <additionalparam>-Xdoclint:none</additionalparam>
82                   </configuration>
83               </execution>
84               </executions>
85             </plugin>
86           </plugins>
87         </build>
88       </profile>
89     </profiles>
90
91     <build>
92         <pluginManagement>
93             <plugins>
94                 <plugin>
95                     <groupId>org.apache.maven.plugins</groupId>
96                     <artifactId>maven-checkstyle-plugin</artifactId>
97                     <dependencies>
98                         <dependency>
99                             <groupId>org.opendaylight.yangtools</groupId>
100                             <artifactId>checkstyle-logging</artifactId>
101                             <version>${project.version}</version>
102                         </dependency>
103                     </dependencies>
104                 </plugin>
105             </plugins>
106         </pluginManagement>
107     </build>
108
109   <!--
110       Maven Site Configuration
111
112       The following configuration is necessary for maven-site-plugin to
113       correctly identify the correct deployment path for OpenDaylight Maven
114       sites.
115   -->
116   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
117
118   <distributionManagement>
119     <site>
120       <id>opendaylight-site</id>
121       <url>${nexus.site.url}/</url>
122     </site>
123   </distributionManagement>
124 </project>