Use GuicedEE javax.inject
[ovsdb.git] / southbound / southbound-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2014, 2016 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
12   <parent>
13     <groupId>org.opendaylight.ovsdb</groupId>
14     <artifactId>ovsdb-binding-parent</artifactId>
15     <version>1.13.0-SNAPSHOT</version>
16     <relativePath>../../commons/binding-parent</relativePath>
17   </parent>
18
19   <modelVersion>4.0.0</modelVersion>
20   <groupId>org.opendaylight.ovsdb</groupId>
21   <artifactId>southbound-impl</artifactId>
22   <version>1.13.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 :: ovsdb :: ${project.artifactId}</name>
27   <properties>
28     <sonar.jacoco.itReportPath>../southbound-it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
29   </properties>
30
31   <dependencies>
32     <dependency>
33       <groupId>org.opendaylight.mdsal</groupId>
34       <artifactId>mdsal-binding-api</artifactId>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.mdsal</groupId>
38       <artifactId>mdsal-dom-api</artifactId>
39     </dependency>
40     <dependency>
41       <groupId>org.opendaylight.mdsal</groupId>
42       <artifactId>mdsal-binding-dom-codec</artifactId>
43     </dependency>
44     <dependency>
45       <groupId>org.opendaylight.mdsal</groupId>
46       <artifactId>mdsal-eos-binding-api</artifactId>
47     </dependency>
48     <!-- project specific dependencies -->
49     <dependency>
50       <groupId>${project.groupId}</groupId>
51       <artifactId>southbound-api</artifactId>
52       <version>${project.version}</version>
53     </dependency>
54     <dependency>
55       <groupId>${project.groupId}</groupId>
56       <artifactId>utils.mdsal-utils</artifactId>
57       <version>${project.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>${project.groupId}</groupId>
61       <artifactId>library</artifactId>
62       <version>${project.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>${project.groupId}</groupId>
66       <artifactId>schema.openvswitch</artifactId>
67       <version>${project.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.ovsdb</groupId>
71       <artifactId>utils.yang-utils</artifactId>
72       <version>${project.version}</version>
73     </dependency>
74     <dependency>
75       <groupId>com.google.guava</groupId>
76       <artifactId>guava</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.infrautils</groupId>
80       <artifactId>ready-api</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.serviceutils</groupId>
84       <artifactId>upgrade</artifactId>
85     </dependency>
86     <!-- external dependencies -->
87     <dependency>
88       <groupId>org.opendaylight.infrautils</groupId>
89       <artifactId>diagstatus-api</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>com.guicedee.services</groupId>
93       <artifactId>javax.inject</artifactId>
94       <optional>true</optional>
95     </dependency>
96     <dependency>
97       <groupId>org.apache.aries.blueprint</groupId>
98       <artifactId>blueprint-maven-plugin-annotation</artifactId>
99       <optional>true</optional>
100     </dependency>
101     <dependency>
102       <groupId>javax.annotation</groupId>
103       <artifactId>javax.annotation-api</artifactId>
104       <optional>true</optional>
105     </dependency>
106
107     <!-- testing dependencies -->
108     <dependency>
109       <groupId>org.sonarsource.java</groupId>
110       <artifactId>sonar-jacoco-listeners</artifactId>
111       <version>${sonar-jacoco-listeners.version}</version>
112       <scope>test</scope>
113     </dependency>
114     <dependency>
115       <groupId>org.slf4j</groupId>
116       <artifactId>slf4j-simple</artifactId>
117       <scope>test</scope>
118     </dependency>
119     <dependency>
120       <groupId>org.opendaylight.mdsal</groupId>
121       <artifactId>mdsal-binding-test-utils</artifactId>
122     </dependency>
123     <dependency>
124       <groupId>org.powermock</groupId>
125       <artifactId>powermock-api-mockito2</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>org.powermock</groupId>
129       <artifactId>powermock-module-junit4</artifactId>
130     </dependency>
131     <dependency>
132       <groupId>org.opendaylight.ovsdb</groupId>
133       <artifactId>utils.southbound-utils</artifactId>
134       <version>${project.version}</version>
135       <scope>test</scope>
136     </dependency>
137   </dependencies>
138   <build>
139     <plugins>
140       <plugin>
141         <groupId>org.apache.aries.blueprint</groupId>
142         <artifactId>blueprint-maven-plugin</artifactId>
143         <configuration>
144           <scanPaths>org.opendaylight.ovsdb.southbound</scanPaths>
145         </configuration>
146       </plugin>
147       <plugin>
148         <groupId>org.apache.felix</groupId>
149         <artifactId>maven-bundle-plugin</artifactId>
150         <configuration>
151           <instructions>
152             <Export-Package>
153               org.opendaylight.ovsdb.southbound,
154               org.opendaylight.ovsdb.southbound.*,
155               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
156           </instructions>
157         </configuration>
158       </plugin>
159       <plugin>
160         <groupId>org.apache.maven.plugins</groupId>
161         <artifactId>maven-surefire-plugin</artifactId>
162         <configuration>
163           <properties>
164             <property>
165               <name>listener</name>
166               <value>org.sonar.java.jacoco.JUnitListener</value>
167             </property>
168           </properties>
169         </configuration>
170       </plugin>
171       <plugin>
172         <groupId>org.codehaus.mojo</groupId>
173         <artifactId>build-helper-maven-plugin</artifactId>
174         <executions>
175           <execution>
176             <id>attach-artifacts</id>
177             <goals>
178               <goal>attach-artifact</goal>
179             </goals>
180             <phase>package</phase>
181             <configuration>
182               <artifacts>
183                 <artifact>
184                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
185                   <type>cfg</type>
186                   <classifier>config</classifier>
187                 </artifact>
188               </artifacts>
189             </configuration>
190           </execution>
191         </executions>
192       </plugin>
193     </plugins>
194   </build>
195
196   <!--
197       Maven Site Configuration
198
199       The following configuration is necessary for maven-site-plugin to
200       correctly identify the correct deployment path for OpenDaylight Maven
201       sites.
202   -->
203   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
204
205   <distributionManagement>
206     <site>
207       <id>opendaylight-site</id>
208       <url>${nexus.site.url}/${project.artifactId}/</url>
209     </site>
210   </distributionManagement>
211 </project>