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