Bump to odlparent 3.1.0 and yangtools 2.0.3
[mdsal.git] / binding / mdsal-binding-test-utils / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2016 Red Hat, 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11   <modelVersion>4.0.0</modelVersion>
12
13   <parent>
14     <groupId>org.opendaylight.odlparent</groupId>
15     <artifactId>odlparent</artifactId>
16     <version>3.1.0</version>
17     <relativePath/>
18   </parent>
19
20   <groupId>org.opendaylight.mdsal</groupId>
21   <artifactId>mdsal-binding-test-utils</artifactId>
22   <version>2.5.0-SNAPSHOT</version>
23
24   <dependencyManagement>
25     <dependencies>
26       <dependency>
27         <groupId>org.opendaylight.mdsal</groupId>
28         <artifactId>mdsal-artifacts</artifactId>
29         <version>${project.version}</version>
30         <type>pom</type>
31         <scope>import</scope>
32       </dependency>
33     </dependencies>
34   </dependencyManagement>
35
36   <dependencies>
37     <!-- NB: All of these are, intentionally, NOT <scope>test</scope>,
38          because downstream consumer projects of the test utilities
39          will necessarily also require these dependencies in order
40          to run tests such as the AssertDataObjectsTest. -->
41     <dependency>
42       <groupId>junit</groupId>
43       <artifactId>junit</artifactId>
44       <scope>compile</scope>
45     </dependency>
46     <dependency>
47       <groupId>ch.vorburger</groupId>
48       <artifactId>xtendbeans</artifactId>
49       <scope>compile</scope>
50       <version>1.3.1</version>
51     </dependency>
52     <dependency>
53       <groupId>com.googlecode.java-diff-utils</groupId>
54       <artifactId>diffutils</artifactId>
55       <version>1.3.0</version>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.mdsal</groupId>
59       <artifactId>mdsal-binding-dom-adapter</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.mdsal</groupId>
63       <artifactId>mdsal-binding-dom-adapter</artifactId>
64       <type>test-jar</type>
65     </dependency>
66     <!-- The following are dependencies which are listed
67          as scope test in mdsal-binding-dom-adapter; we
68          wanted most of them as scope compile here...      -->
69     <dependency>
70       <groupId>org.opendaylight.mdsal</groupId>
71       <artifactId>mdsal-dom-broker</artifactId>
72     </dependency>
73
74     <!-- The following, contrary to the above, ARE <scope>test,
75          because they are only required by the test utilities
76          self test code in src/test, but not (necessarily)
77          by a downstream consumer of the test utilities.   -->
78     <dependency>
79       <groupId>org.opendaylight.mdsal</groupId>
80       <artifactId>mdsal-binding-test-model</artifactId>
81       <scope>test</scope>
82     </dependency>
83     <dependency>
84       <groupId>com.google.truth</groupId>
85       <artifactId>truth</artifactId>
86       <scope>test</scope>
87     </dependency>
88   </dependencies>
89
90   <build>
91     <plugins>
92       <plugin>
93         <groupId>org.apache.maven.plugins</groupId>
94         <artifactId>maven-checkstyle-plugin</artifactId>
95         <configuration>
96           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
97         </configuration>
98       </plugin>
99       <plugin>
100         <groupId>org.codehaus.mojo</groupId>
101         <artifactId>findbugs-maven-plugin</artifactId>
102         <configuration>
103           <failOnError>true</failOnError>
104         </configuration>
105       </plugin>
106     </plugins>
107   </build>
108
109   <!--
110       Maven Site Configuration
111
112       The following configuration is necessary for maven-site-plugin to
113       correctly identify the correct deployment path for OpenDaylight Maven
114       sites.
115   -->
116   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
117
118   <distributionManagement>
119     <site>
120       <id>opendaylight-site</id>
121       <url>${nexus.site.url}/${project.artifactId}/</url>
122     </site>
123   </distributionManagement>
124
125 </project>