Integrate controller-2.0.1
[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.11.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.11.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>javax.inject</groupId>
93       <artifactId>javax.inject</artifactId>
94       <scope>provided</scope>
95       <optional>true</optional>
96     </dependency>
97     <dependency>
98       <groupId>org.apache.aries.blueprint</groupId>
99       <artifactId>blueprint-maven-plugin-annotation</artifactId>
100       <optional>true</optional>
101     </dependency>
102     <dependency>
103       <groupId>javax.annotation</groupId>
104       <artifactId>javax.annotation-api</artifactId>
105       <optional>true</optional>
106     </dependency>
107
108     <!-- testing dependencies -->
109     <dependency>
110       <groupId>org.sonarsource.java</groupId>
111       <artifactId>sonar-jacoco-listeners</artifactId>
112       <version>${sonar-jacoco-listeners.version}</version>
113       <scope>test</scope>
114     </dependency>
115     <dependency>
116       <groupId>org.slf4j</groupId>
117       <artifactId>slf4j-simple</artifactId>
118       <scope>test</scope>
119     </dependency>
120     <dependency>
121       <groupId>org.opendaylight.mdsal</groupId>
122       <artifactId>mdsal-binding-test-utils</artifactId>
123     </dependency>
124     <dependency>
125       <groupId>org.powermock</groupId>
126       <artifactId>powermock-api-mockito2</artifactId>
127     </dependency>
128     <dependency>
129       <groupId>org.powermock</groupId>
130       <artifactId>powermock-module-junit4</artifactId>
131     </dependency>
132     <dependency>
133       <groupId>org.opendaylight.ovsdb</groupId>
134       <artifactId>utils.southbound-utils</artifactId>
135       <version>${project.version}</version>
136       <scope>test</scope>
137     </dependency>
138   </dependencies>
139   <build>
140     <plugins>
141       <plugin>
142         <groupId>org.apache.aries.blueprint</groupId>
143         <artifactId>blueprint-maven-plugin</artifactId>
144         <configuration>
145           <scanPaths>org.opendaylight.ovsdb.southbound</scanPaths>
146         </configuration>
147       </plugin>
148       <plugin>
149         <groupId>org.apache.felix</groupId>
150         <artifactId>maven-bundle-plugin</artifactId>
151         <configuration>
152           <instructions>
153             <Export-Package>
154               org.opendaylight.ovsdb.southbound,
155               org.opendaylight.ovsdb.southbound.*,
156               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
157           </instructions>
158         </configuration>
159       </plugin>
160       <plugin>
161         <groupId>org.apache.maven.plugins</groupId>
162         <artifactId>maven-surefire-plugin</artifactId>
163         <configuration>
164           <properties>
165             <property>
166               <name>listener</name>
167               <value>org.sonar.java.jacoco.JUnitListener</value>
168             </property>
169           </properties>
170         </configuration>
171       </plugin>
172       <plugin>
173         <groupId>org.codehaus.mojo</groupId>
174         <artifactId>build-helper-maven-plugin</artifactId>
175         <executions>
176           <execution>
177             <id>attach-artifacts</id>
178             <goals>
179               <goal>attach-artifact</goal>
180             </goals>
181             <phase>package</phase>
182             <configuration>
183               <artifacts>
184                 <artifact>
185                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
186                   <type>cfg</type>
187                   <classifier>config</classifier>
188                 </artifact>
189               </artifacts>
190             </configuration>
191           </execution>
192         </executions>
193       </plugin>
194     </plugins>
195   </build>
196
197   <!--
198       Maven Site Configuration
199
200       The following configuration is necessary for maven-site-plugin to
201       correctly identify the correct deployment path for OpenDaylight Maven
202       sites.
203   -->
204   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
205
206   <distributionManagement>
207     <site>
208       <id>opendaylight-site</id>
209       <url>${nexus.site.url}/${project.artifactId}/</url>
210     </site>
211   </distributionManagement>
212 </project>