Do not pull in javax.inject into runtime
[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.openflowplugin.model</groupId>
31       <artifactId>model-flow-base</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.serviceutils</groupId>
35       <artifactId>tools-api</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.genius</groupId>
39       <artifactId>mdsalutil-api</artifactId>
40       <version>0.9.0-SNAPSHOT</version>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.openflowplugin.model</groupId>
44       <artifactId>model-flow-service</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.infrautils</groupId>
48       <artifactId>inject</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>javax.inject</groupId>
52       <artifactId>javax.inject</artifactId>
53       <scope>provided</scope>
54       <optional>true</optional>
55     </dependency>
56     <dependency>
57       <groupId>javax.annotation</groupId>
58       <artifactId>javax.annotation-api</artifactId>
59       <optional>true</optional>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.infrautils</groupId>
63       <artifactId>diagstatus-api</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.controller</groupId>
67       <!-- used (only) by DatastoreServiceStatusProvider -->
68       <artifactId>sal-distributed-datastore</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>org.apache.aries.blueprint</groupId>
72       <artifactId>blueprint-maven-plugin-annotation</artifactId>
73       <optional>true</optional>
74     </dependency>
75
76     <!--  TEST Dependencies -->
77     <dependency>
78       <groupId>com.google.truth</groupId>
79       <artifactId>truth</artifactId>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>org.awaitility</groupId>
84       <artifactId>awaitility</artifactId>
85       <scope>test</scope>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.infrautils</groupId>
89       <artifactId>infrautils-testutils</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.mdsal</groupId>
93       <artifactId>mdsal-binding-test-utils</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.controller</groupId>
97       <artifactId>sal-test-model</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>${project.groupId}</groupId>
101       <artifactId>mdsalutil-api</artifactId>
102     </dependency>
103   </dependencies>
104   <build>
105     <pluginManagement>
106       <plugins>
107         <plugin>
108           <artifactId>maven-checkstyle-plugin</artifactId>
109           <dependencies>
110             <dependency>
111               <groupId>org.opendaylight.genius</groupId>
112               <artifactId>checkstyle</artifactId>
113               <version>${project.version}</version>
114             </dependency>
115           </dependencies>
116           <executions>
117             <execution>
118               <id>check-databroker</id>
119               <goals>
120                 <goal>check</goal>
121               </goals>
122               <phase>process-sources</phase>
123               <configuration>
124                 <configLocation>databroker-checks.xml</configLocation>
125                 <includeResources>false</includeResources>
126                 <includeTestSourceDirectory>false</includeTestSourceDirectory>
127                 <includeTestResources>false</includeTestResources>
128                 <sourceDirectories>
129                   <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
130                 </sourceDirectories>
131                 <failsOnError>true</failsOnError>
132                 <consoleOutput>true</consoleOutput>
133               </configuration>
134             </execution>
135           </executions>
136         </plugin>
137       </plugins>
138     </pluginManagement>
139     <plugins>
140       <plugin>
141         <groupId>org.apache.aries.blueprint</groupId>
142         <artifactId>blueprint-maven-plugin</artifactId>
143       </plugin>
144     </plugins>
145   </build>
146 </project>