Do not pull in javax.inject into runtime
[genius.git] / ipv6util / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2018 Alten Calsoft Labs India 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   <artifactId>ipv6util-impl</artifactId>
21   <packaging>bundle</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   <dependencies>
27     <dependency>
28       <groupId>${project.groupId}</groupId>
29       <artifactId>ipv6util-api</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>${project.groupId}</groupId>
33       <artifactId>interfacemanager-api</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>javax.inject</groupId>
37       <artifactId>javax.inject</artifactId>
38       <scope>provided</scope>
39       <optional>true</optional>
40     </dependency>
41   </dependencies>
42   <build>
43     <pluginManagement>
44       <plugins>
45         <plugin>
46           <artifactId>maven-checkstyle-plugin</artifactId>
47           <dependencies>
48             <dependency>
49               <groupId>org.opendaylight.genius</groupId>
50               <artifactId>checkstyle</artifactId>
51               <version>${project.version}</version>
52             </dependency>
53           </dependencies>
54           <executions>
55             <execution>
56               <id>check-databroker</id>
57               <goals>
58                 <goal>check</goal>
59               </goals>
60               <phase>process-sources</phase>
61               <configuration>
62                 <configLocation>databroker-checks.xml</configLocation>
63                 <includeResources>false</includeResources>
64                 <includeTestSourceDirectory>false</includeTestSourceDirectory>
65                 <includeTestResources>false</includeTestResources>
66                 <sourceDirectories>
67                   <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
68                 </sourceDirectories>
69                 <failsOnError>true</failsOnError>
70                 <consoleOutput>true</consoleOutput>
71               </configuration>
72             </execution>
73           </executions>
74         </plugin>
75       </plugins>
76     </pluginManagement>
77     <plugins>
78       <plugin>
79         <groupId>org.apache.aries.blueprint</groupId>
80         <artifactId>blueprint-maven-plugin</artifactId>
81       </plugin>
82     </plugins>
83   </build>
84 </project>