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