Introduce top-level pom file.
[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.mdsal</groupId>
15       <artifactId>mdsal-parent</artifactId>
16       <version>2.0.0-SNAPSHOT</version>
17       <relativePath>common/parent</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/parent</module>
34     </modules>
35
36     <build>
37         <pluginManagement>
38             <plugins>
39                 <plugin>
40                  <groupId>org.apache.maven.plugins</groupId>
41                  <artifactId>maven-checkstyle-plugin</artifactId>
42                  <configuration>
43                    <failOnViolation>false</failOnViolation>
44                    <configLocation>checkstyle-logging.xml</configLocation>
45                    <consoleOutput>true</consoleOutput>
46                    <includeTestSourceDirectory>true</includeTestSourceDirectory>
47                    <sourceDirectory>${project.basedir}</sourceDirectory>
48                    <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
49                    <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/,**\/src/main/xtend-gen\/</excludes>
50                  </configuration>
51                  <dependencies>
52                    <dependency>
53                      <groupId>org.opendaylight.yangtools</groupId>
54                      <artifactId>checkstyle-logging</artifactId>
55                      <version>0.8.0-SNAPSHOT</version>
56                    </dependency>
57                  </dependencies>
58                  <executions>
59                    <execution>
60                      <goals>
61                        <goal>check</goal>
62                      </goals>
63                    </execution>
64                  </executions>
65                </plugin>
66             </plugins>
67         </pluginManagement>
68     </build>
69 </project>