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