534d1c618bbc7e77a5fccd34fe900970c9e9fe8e
[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"
11   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.odlparent</groupId>
16     <artifactId>odlparent</artifactId>
17     <version>1.7.4-SNAPSHOT</version>
18     <relativePath />
19   </parent>
20
21   <groupId>org.opendaylight.mdsal</groupId>
22   <artifactId>mdsal-binding-test-utils</artifactId>
23   <version>2.1.4-SNAPSHOT</version>
24
25   <dependencyManagement>
26     <dependencies>
27       <dependency>
28         <groupId>org.opendaylight.mdsal</groupId>
29         <artifactId>mdsal-artifacts</artifactId>
30         <version>${project.version}</version>
31         <type>pom</type>
32         <scope>import</scope>
33       </dependency>
34     </dependencies>
35   </dependencyManagement>
36
37   <dependencies>
38     <!-- NB: All of these are, intentionally, NOT <scope>test</scope>,
39          because downstream consumer projects of the test utilities
40          will necessarily also require these dependencies in order
41          to run tests such as the AssertDataObjectsTest. -->
42     <dependency>
43       <groupId>junit</groupId>
44       <artifactId>junit</artifactId>
45       <scope>compile</scope>
46     </dependency>
47     <dependency>
48       <groupId>ch.vorburger</groupId>
49       <artifactId>xtendbeans</artifactId>
50       <scope>compile</scope>
51       <version>1.2.0</version>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.mdsal</groupId>
55       <artifactId>mdsal-binding-dom-adapter</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.mdsal</groupId>
59       <artifactId>mdsal-binding-dom-adapter</artifactId>
60       <type>test-jar</type>
61     </dependency>
62     <!-- The following are dependencies which are listed
63          as scope test in mdsal-binding-dom-adapter; we
64          wanted most of them as scope compile here...      -->
65     <dependency>
66       <groupId>org.opendaylight.mdsal</groupId>
67       <artifactId>mdsal-dom-broker</artifactId>
68     </dependency>
69
70     <!-- The following, contrary to the above, ARE <scope>test,
71          because they are only required by the test utilities
72          self test code in src/test, but not (necessarily)
73          by a downstream consumer of the test utilities.   -->
74     <dependency>
75       <groupId>org.opendaylight.mdsal</groupId>
76       <artifactId>mdsal-binding-test-model</artifactId>
77       <scope>test</scope>
78     </dependency>
79   </dependencies>
80
81   <build>
82     <plugins>
83       <plugin>
84         <groupId>org.apache.maven.plugins</groupId>
85         <artifactId>maven-checkstyle-plugin</artifactId>
86         <configuration>
87           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
88         </configuration>
89       </plugin>
90     </plugins>
91   </build>
92
93   <!--
94       Maven Site Configuration
95
96       The following configuration is necessary for maven-site-plugin to
97       correctly identify the correct deployment path for OpenDaylight Maven
98       sites.
99   -->
100   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
101
102   <distributionManagement>
103     <site>
104       <id>opendaylight-site</id>
105       <url>${nexus.site.url}/${project.artifactId}/</url>
106     </site>
107   </distributionManagement>
108
109 </project>