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