Inherit from odlparent-lite
[mdsal.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.0-SNAPSHOT</version>
17       <relativePath/>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>mdsal-agreggator</artifactId>
22     <name>md-sal</name> <!-- Used by Sonar to set project name -->
23     <packaging>pom</packaging>
24
25     <scm>
26         <connection>scm:git:ssh://git.opendaylight.org:29418/mdsal.git</connection>
27         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/mdsal.git</developerConnection>
28         <url>https://wiki.opendaylight.org/view/MD-SAL:Main</url>
29         <tag>HEAD</tag>
30     </scm>
31
32     <modules>
33       <module>common</module>
34       <module>dom</module>
35       <module>binding</module>
36       <module>model</module>
37     </modules>
38
39     <build>
40         <pluginManagement>
41             <plugins>
42                 <plugin>
43                     <groupId>org.apache.maven.plugins</groupId>
44                     <artifactId>maven-checkstyle-plugin</artifactId>
45                     <dependencies>
46                         <dependency>
47                             <groupId>org.opendaylight.yangtools</groupId>
48                             <artifactId>checkstyle-logging</artifactId>
49                             <version>1.0.0-SNAPSHOT</version>
50                         </dependency>
51                     </dependencies>
52                 </plugin>
53             </plugins>
54         </pluginManagement>
55     </build>
56
57   <profiles>
58     <profile>
59       <!--
60           This profile is to ensure we only build javadocs reports
61           when we plan to deploy Maven site for our project.
62       -->
63       <id>maven-site</id>
64       <activation>
65         <file>
66           <exists>${user.dir}/deploy-site.xml</exists>
67         </file>
68       </activation>
69
70       <build>
71         <plugins>
72           <plugin>
73             <groupId>org.apache.maven.plugins</groupId>
74             <artifactId>maven-javadoc-plugin</artifactId>
75             <inherited>false</inherited>
76             <executions>
77               <execution>
78                 <id>aggregate</id>
79                 <goals>
80                   <goal>aggregate</goal>
81                 </goals>
82                 <phase>package</phase>
83               </execution>
84             </executions>
85           </plugin>
86         </plugins>
87       </build>
88     </profile>
89   </profiles>
90
91
92   <!--
93       Maven Site Configuration
94
95       The following configuration is necessary for maven-site-plugin to
96       correctly identify the correct deployment path for OpenDaylight Maven
97       sites.
98   -->
99   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
100
101   <distributionManagement>
102     <site>
103       <id>opendaylight-site</id>
104       <url>${nexus.site.url}/</url>
105     </site>
106   </distributionManagement>
107
108 </project>