use annotations instead of XML for Blueprint
[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.8.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.8.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.controller</groupId>
34       <artifactId>sal-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>library</artifactId>
57       <version>${project.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>${project.groupId}</groupId>
61       <artifactId>schema.openvswitch</artifactId>
62       <version>${project.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.ovsdb</groupId>
66       <artifactId>utils.yang-utils</artifactId>
67       <version>${project.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>com.google.guava</groupId>
71       <artifactId>guava</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.infrautils</groupId>
75       <artifactId>ready-api</artifactId>
76       <version>1.5.0-SNAPSHOT</version>
77     </dependency>
78     <!-- external dependencies -->
79     <dependency>
80       <groupId>org.opendaylight.infrautils</groupId>
81       <artifactId>diagstatus-api</artifactId>
82       <version>1.5.0-SNAPSHOT</version>
83     </dependency>
84     <dependency>
85       <groupId>javax.inject</groupId>
86       <artifactId>javax.inject</artifactId>
87       <optional>true</optional>
88     </dependency>
89     <dependency>
90       <groupId>org.apache.aries.blueprint</groupId>
91       <artifactId>blueprint-maven-plugin-annotation</artifactId>
92       <optional>true</optional>
93     </dependency>
94     <dependency>
95       <groupId>org.sonarsource.java</groupId>
96       <artifactId>sonar-jacoco-listeners</artifactId>
97       <version>${sonar-jacoco-listeners.version}</version>
98       <scope>test</scope>
99     </dependency>
100     <dependency>
101       <groupId>org.slf4j</groupId>
102       <artifactId>slf4j-simple</artifactId>
103       <scope>test</scope>
104     </dependency>
105     <!-- testing dependencies -->
106     <dependency>
107       <groupId>junit</groupId>
108       <artifactId>junit</artifactId>
109       <scope>test</scope>
110     </dependency>
111     <dependency>
112       <groupId>org.powermock</groupId>
113       <artifactId>powermock-api-mockito</artifactId>
114       <version>1.6.4</version>
115       <scope>test</scope>
116     </dependency>
117     <dependency>
118       <groupId>org.javassist</groupId>
119       <artifactId>javassist</artifactId>
120       <version>3.21.0-GA</version>
121       <scope>test</scope>
122     </dependency>
123     <dependency>
124       <groupId>org.mockito</groupId>
125       <artifactId>mockito-core</artifactId>
126       <version>1.10.19</version>
127       <scope>test</scope>
128     </dependency>
129     <dependency>
130       <groupId>org.powermock</groupId>
131       <artifactId>powermock-module-junit4</artifactId>
132       <version>1.6.4</version>
133       <scope>test</scope>
134     </dependency>
135     <dependency>
136       <groupId>org.powermock</groupId>
137       <artifactId>powermock-api-support</artifactId>
138       <version>1.6.4</version>
139       <scope>test</scope>
140     </dependency>
141     <dependency>
142       <groupId>org.powermock</groupId>
143       <artifactId>powermock-reflect</artifactId>
144       <version>1.6.4</version>
145       <scope>test</scope>
146     </dependency>
147     <dependency>
148       <groupId>org.powermock</groupId>
149       <artifactId>powermock-core</artifactId>
150       <version>1.6.4</version>
151       <scope>test</scope>
152     </dependency>
153     <dependency>
154       <groupId>org.opendaylight.controller</groupId>
155       <artifactId>sal-binding-broker-impl</artifactId>
156       <scope>test</scope>
157     </dependency>
158     <dependency>
159       <groupId>org.opendaylight.controller</groupId>
160       <artifactId>sal-binding-broker-impl</artifactId>
161       <type>test-jar</type>
162       <scope>test</scope>
163     </dependency>
164     <dependency>
165       <groupId>org.opendaylight.ovsdb</groupId>
166       <artifactId>utils.southbound-utils</artifactId>
167       <version>${project.version}</version>
168       <scope>test</scope>
169     </dependency>
170   </dependencies>
171   <build>
172     <plugins>
173       <plugin>
174         <groupId>org.apache.aries.blueprint</groupId>
175         <artifactId>blueprint-maven-plugin</artifactId>
176         <configuration>
177           <scanPaths>org.opendaylight.ovsdb.southbound</scanPaths>
178         </configuration>
179       </plugin>
180       <plugin>
181         <groupId>org.apache.felix</groupId>
182         <artifactId>maven-bundle-plugin</artifactId>
183         <configuration>
184           <instructions>
185             <Export-Package>
186               org.opendaylight.ovsdb.southbound,
187               org.opendaylight.ovsdb.southbound.*,
188               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
189           </instructions>
190         </configuration>
191       </plugin>
192       <plugin>
193         <groupId>org.apache.maven.plugins</groupId>
194         <artifactId>maven-surefire-plugin</artifactId>
195         <configuration>
196           <properties>
197             <property>
198               <name>listener</name>
199               <value>org.sonar.java.jacoco.JUnitListener</value>
200             </property>
201           </properties>
202         </configuration>
203       </plugin>
204       <plugin>
205         <groupId>org.codehaus.mojo</groupId>
206         <artifactId>build-helper-maven-plugin</artifactId>
207         <executions>
208           <execution>
209             <id>attach-artifacts</id>
210             <goals>
211               <goal>attach-artifact</goal>
212             </goals>
213             <phase>package</phase>
214             <configuration>
215               <artifacts>
216                 <artifact>
217                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
218                   <type>cfg</type>
219                   <classifier>config</classifier>
220                 </artifact>
221               </artifacts>
222             </configuration>
223           </execution>
224         </executions>
225       </plugin>
226     </plugins>
227   </build>
228
229   <!--
230       Maven Site Configuration
231
232       The following configuration is necessary for maven-site-plugin to
233       correctly identify the correct deployment path for OpenDaylight Maven
234       sites.
235   -->
236   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
237
238   <distributionManagement>
239     <site>
240       <id>opendaylight-site</id>
241       <url>${nexus.site.url}/${project.artifactId}/</url>
242     </site>
243   </distributionManagement>
244 </project>