Use Magnesium controller
[genius.git] / commons / binding-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2016, 2017 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10   <parent>
11     <groupId>org.opendaylight.mdsal</groupId>
12     <artifactId>binding-parent</artifactId>
13     <version>5.0.9</version>
14     <relativePath/>
15   </parent>
16
17   <modelVersion>4.0.0</modelVersion>
18   <groupId>org.opendaylight.genius</groupId>
19   <artifactId>binding-parent</artifactId>
20   <version>0.9.0-SNAPSHOT</version>
21   <packaging>pom</packaging>
22   <!-- <name> formatting is used by autorelease to parse and notify projects on
23        build failure. Please do not modify this unless you have a good reason. -->
24   <name>ODL :: genius :: ${project.artifactId}</name>
25
26   <properties>
27     <openflowplugin.version>0.11.0-SNAPSHOT</openflowplugin.version>
28     <genius.ovsdb.version>1.11.0-SNAPSHOT</genius.ovsdb.version>
29     <genius.infrautils.version>1.8.0-SNAPSHOT</genius.infrautils.version>
30   </properties>
31
32   <dependencyManagement>
33     <dependencies>
34       <dependency>
35         <groupId>org.opendaylight.controller</groupId>
36         <artifactId>mdsal-artifacts</artifactId>
37         <version>1.11.0</version>
38         <type>pom</type>
39         <scope>import</scope>
40       </dependency>
41       <dependency>
42         <groupId>org.opendaylight.infrautils</groupId>
43         <artifactId>infrautils-artifacts</artifactId>
44         <version>${genius.infrautils.version}</version>
45         <type>pom</type>
46         <scope>import</scope>
47       </dependency>
48       <dependency>
49         <groupId>org.opendaylight.serviceutils</groupId>
50         <artifactId>serviceutils-artifacts</artifactId>
51         <version>0.6.0-SNAPSHOT</version>
52         <type>pom</type>
53         <scope>import</scope>
54       </dependency>
55       <dependency>
56         <groupId>org.opendaylight.openflowplugin</groupId>
57         <artifactId>openflowplugin-artifacts</artifactId>
58         <version>${openflowplugin.version}</version>
59         <type>pom</type>
60         <scope>import</scope>
61       </dependency>
62       <!-- TODO: this really should be declared in openflowplugin-artifacts -->
63       <dependency>
64         <groupId>org.opendaylight.openflowplugin.libraries</groupId>
65         <artifactId>liblldp</artifactId>
66         <version>${openflowplugin.version}</version>
67       </dependency>
68
69       <dependency>
70         <groupId>org.opendaylight.genius</groupId>
71         <artifactId>genius-artifacts</artifactId>
72         <!-- We cannot use ${project.version} here -->
73         <version>0.9.0-SNAPSHOT</version>
74         <type>pom</type>
75         <scope>import</scope>
76       </dependency>
77     </dependencies>
78   </dependencyManagement>
79
80   <dependencies>
81     <dependency>
82       <groupId>org.osgi</groupId>
83       <artifactId>org.osgi.core</artifactId>
84     </dependency>
85
86     <!-- Testing Dependencies -->
87
88     <dependency>
89       <groupId>org.hamcrest</groupId>
90       <artifactId>hamcrest</artifactId>
91       <!-- Hamcrest is internally used by Awaitility, so must be compile instead of test scope for build to work -->
92       <scope>compile</scope>
93     </dependency>
94     <dependency>
95       <groupId>org.hamcrest</groupId>
96       <artifactId>hamcrest-library</artifactId>
97       <!-- Hamcrest is internally used by Awaitility, so must be compile instead of test scope for build to work -->
98       <scope>compile</scope>
99     </dependency>
100   </dependencies>
101
102   <build>
103     <plugins>
104       <plugin>
105         <groupId>org.apache.maven.plugins</groupId>
106         <artifactId>maven-checkstyle-plugin</artifactId>
107         <configuration>
108           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
109         </configuration>
110       </plugin>
111       <plugin>
112         <groupId>com.github.spotbugs</groupId>
113         <artifactId>spotbugs-maven-plugin</artifactId>
114         <configuration>
115           <failOnError>true</failOnError>
116         </configuration>
117       </plugin>
118     </plugins>
119   </build>
120 </project>