Do not pull in javax.inject into runtime
[genius.git] / lockmanager / lockmanager-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>lockmanager-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.serviceutils</groupId>
31       <artifactId>rpc-api</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>${project.groupId}</groupId>
35       <artifactId>lockmanager-api</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.genius</groupId>
39       <artifactId>mdsalutil-api</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>javax.inject</groupId>
43       <artifactId>javax.inject</artifactId>
44       <scope>provided</scope>
45       <optional>true</optional>
46     </dependency>
47     <dependency>
48       <groupId>javax.annotation</groupId>
49       <artifactId>javax.annotation-api</artifactId>
50       <optional>true</optional>
51     </dependency>
52     <dependency>
53       <groupId>org.apache.aries.blueprint</groupId>
54       <artifactId>blueprint-maven-plugin-annotation</artifactId>
55       <optional>true</optional>
56     </dependency>
57     <!-- Testing Dependencies -->
58     <dependency>
59       <groupId>org.opendaylight.genius</groupId>
60       <artifactId>testutils</artifactId>
61       <version>${project.version}</version>
62       <scope>test</scope>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.genius</groupId>
66       <artifactId>mdsalutil-testutils</artifactId>
67       <version>${project.version}</version>
68       <scope>test</scope>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.serviceutils</groupId>
72       <artifactId>tools-testutils</artifactId>
73       <version>0.6.0-SNAPSHOT</version>
74       <scope>test</scope>
75     </dependency>
76   </dependencies>
77   <build>
78     <pluginManagement>
79       <plugins>
80         <plugin>
81           <artifactId>maven-checkstyle-plugin</artifactId>
82           <dependencies>
83             <dependency>
84               <groupId>org.opendaylight.genius</groupId>
85               <artifactId>checkstyle</artifactId>
86               <version>${project.version}</version>
87             </dependency>
88           </dependencies>
89           <executions>
90             <execution>
91               <id>check-databroker</id>
92               <goals>
93                 <goal>check</goal>
94               </goals>
95               <phase>process-sources</phase>
96               <configuration>
97                 <configLocation>databroker-checks.xml</configLocation>
98                 <includeResources>false</includeResources>
99                 <includeTestSourceDirectory>false</includeTestSourceDirectory>
100                 <includeTestResources>false</includeTestResources>
101                 <sourceDirectories>
102                   <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
103                 </sourceDirectories>
104                 <failsOnError>true</failsOnError>
105                 <consoleOutput>true</consoleOutput>
106               </configuration>
107             </execution>
108           </executions>
109         </plugin>
110       </plugins>
111     </pluginManagement>
112     <plugins>
113       <plugin>
114         <groupId>org.apache.aries.blueprint</groupId>
115         <artifactId>blueprint-maven-plugin</artifactId>
116       </plugin>
117     </plugins>
118   </build>
119 </project>