Make sure javax.inject is scope=provided
[mdsal.git] / binding / mdsal-binding-util / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.mdsal</groupId>
14         <artifactId>dom-parent</artifactId>
15         <version>5.0.6-SNAPSHOT</version>
16         <relativePath>../../dom/dom-parent</relativePath>
17     </parent>
18
19     <artifactId>mdsal-binding-util</artifactId>
20     <packaging>bundle</packaging>
21
22     <properties>
23         <!-- FIXME: Workaround for https://issues.apache.org/jira/browse/ARIES-1923 -->
24         <maven.compiler.release>10</maven.compiler.release>
25     </properties>
26
27     <dependencies>
28         <dependency>
29             <groupId>com.google.guava</groupId>
30             <artifactId>guava</artifactId>
31         </dependency>
32         <dependency>
33             <groupId>org.opendaylight.mdsal</groupId>
34             <artifactId>mdsal-binding-spi</artifactId>
35         </dependency>
36         <dependency>
37             <groupId>javax.inject</groupId>
38             <artifactId>javax.inject</artifactId>
39             <scope>provided</scope>
40             <optional>true</optional>
41         </dependency>
42         <dependency>
43             <groupId>com.google.truth</groupId>
44             <artifactId>truth</artifactId>
45             <scope>test</scope>
46         </dependency>
47     </dependencies>
48
49     <build>
50         <plugins>
51             <plugin>
52                 <groupId>org.apache.felix</groupId>
53                 <artifactId>maven-bundle-plugin</artifactId>
54                 <configuration>
55                     <instructions>
56                         <Automatic-Module-Name>org.opendaylight.mdsal.binding.util</Automatic-Module-Name>
57                     </instructions>
58                 </configuration>
59             </plugin>
60         </plugins>
61     </build>
62
63     <scm>
64         <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
65         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
66         <tag>HEAD</tag>
67         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
68     </scm>
69 </project>