b6a955011a030a3292c3cd2c4334ab9f306b310f
[genius.git] / mdsalutil / mdsalutil-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2016 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"
10   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.genius</groupId>
15     <artifactId>binding-parent</artifactId>
16     <version>0.9.0-SNAPSHOT</version>
17     <relativePath>../../commons/binding-parent</relativePath>
18   </parent>
19
20   <groupId>org.opendaylight.genius</groupId>
21   <artifactId>mdsalutil-impl</artifactId>
22   <version>0.9.0-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24   <!-- <name> formatting is used by autorelease to parse and notify projects on
25        build failure. Please do not modify this unless you have a good reason. -->
26   <name>ODL :: genius :: ${project.artifactId}</name>
27
28   <dependencies>
29     <!--<dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>sal-binding-api</artifactId>
32     </dependency>!-->
33     <dependency>
34       <groupId>org.opendaylight.openflowplugin.model</groupId>
35       <artifactId>model-flow-base</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.serviceutils</groupId>
39       <artifactId>tools-api</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.genius</groupId>
43       <artifactId>mdsalutil-api</artifactId>
44       <version>0.9.0-SNAPSHOT</version>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.openflowplugin.model</groupId>
48       <artifactId>model-flow-service</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>javax.inject</groupId>
52       <artifactId>javax.inject</artifactId>
53       <optional>true</optional>
54     </dependency>
55     <dependency>
56       <groupId>javax.annotation</groupId>
57       <artifactId>javax.annotation-api</artifactId>
58       <optional>true</optional>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.infrautils</groupId>
62       <artifactId>diagstatus-api</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.controller</groupId>
66       <!-- used (only) by DatastoreServiceStatusProvider -->
67       <artifactId>sal-distributed-datastore</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.apache.aries.blueprint</groupId>
71       <artifactId>blueprint-maven-plugin-annotation</artifactId>
72       <optional>true</optional>
73     </dependency>
74
75     <!--  TEST Dependencies -->
76     <dependency>
77       <groupId>com.google.truth</groupId>
78       <artifactId>truth</artifactId>
79       <scope>test</scope>
80     </dependency>
81     <dependency>
82       <groupId>org.awaitility</groupId>
83       <artifactId>awaitility</artifactId>
84       <scope>test</scope>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.infrautils</groupId>
88       <artifactId>infrautils-testutils</artifactId>
89     </dependency>
90     <!--<dependency>
91       <groupId>org.opendaylight.controller</groupId>
92       <artifactId>sal-binding-broker-impl</artifactId>
93       <scope>test</scope>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.controller</groupId>
97       <artifactId>sal-binding-broker-impl</artifactId>
98       <scope>test</scope>
99       <type>test-jar</type>
100     </dependency>!-->
101     <dependency>
102       <groupId>org.opendaylight.mdsal</groupId>
103       <artifactId>mdsal-binding-dom-adapter</artifactId>
104       <scope>test</scope>
105     </dependency>
106     <dependency>
107       <groupId>org.opendaylight.mdsal</groupId>
108       <artifactId>mdsal-binding-dom-adapter</artifactId>
109       <scope>test</scope>
110       <type>test-jar</type>
111     </dependency>
112     <dependency>
113       <groupId>org.opendaylight.controller</groupId>
114       <artifactId>sal-test-model</artifactId>
115       <scope>test</scope>
116     </dependency>
117     <dependency>
118       <groupId>${project.groupId}</groupId>
119       <artifactId>mdsalutil-api</artifactId>
120     </dependency>
121   </dependencies>
122   <build>
123     <pluginManagement>
124       <plugins>
125         <plugin>
126           <artifactId>maven-checkstyle-plugin</artifactId>
127           <dependencies>
128             <dependency>
129               <groupId>org.opendaylight.genius</groupId>
130               <artifactId>checkstyle</artifactId>
131               <version>${project.version}</version>
132             </dependency>
133           </dependencies>
134           <executions>
135             <execution>
136               <id>check-databroker</id>
137               <goals>
138                 <goal>check</goal>
139               </goals>
140               <phase>process-sources</phase>
141               <configuration>
142                 <configLocation>databroker-checks.xml</configLocation>
143                 <includeResources>false</includeResources>
144                 <includeTestSourceDirectory>false</includeTestSourceDirectory>
145                 <includeTestResources>false</includeTestResources>
146                 <sourceDirectories>
147                   <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
148                 </sourceDirectories>
149                 <failsOnError>true</failsOnError>
150                 <consoleOutput>true</consoleOutput>
151               </configuration>
152             </execution>
153           </executions>
154         </plugin>
155       </plugins>
156     </pluginManagement>
157     <plugins>
158       <plugin>
159         <groupId>org.apache.aries.blueprint</groupId>
160         <artifactId>blueprint-maven-plugin</artifactId>
161       </plugin>
162     </plugins>
163   </build>
164 </project>