OVSDB-458 DiagStatus support for OVSDB
[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 Copyright © 2014, 2016 Cisco Systems, Inc. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10
11   <parent>
12     <groupId>org.opendaylight.ovsdb</groupId>
13     <artifactId>ovsdb-binding-parent</artifactId>
14     <version>1.7.0-SNAPSHOT</version>
15     <relativePath>../../commons/binding-parent</relativePath>
16   </parent>
17
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.ovsdb</groupId>
20   <artifactId>southbound-impl</artifactId>
21   <version>1.7.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <!-- <name> formatting is used by autorelease to parse and notify projects on
24        build failure. Please do not modify this unless you have a good reason. -->
25   <name>ODL :: ovsdb :: ${project.artifactId}</name>
26   <properties>
27     <sonar.jacoco.itReportPath>../southbound-it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
28   </properties>
29
30   <dependencies>
31     <dependency>
32       <groupId>org.opendaylight.controller</groupId>
33       <artifactId>sal-core-api</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.mdsal</groupId>
37       <artifactId>mdsal-binding-dom-codec</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.mdsal</groupId>
41       <artifactId>mdsal-eos-binding-api</artifactId>
42     </dependency>
43     <!-- project specific dependencies -->
44     <dependency>
45       <groupId>${project.groupId}</groupId>
46       <artifactId>southbound-api</artifactId>
47       <version>${project.version}</version>
48     </dependency>
49     <dependency>
50       <groupId>${project.groupId}</groupId>
51       <artifactId>library</artifactId>
52       <version>${project.version}</version>
53     </dependency>
54     <dependency>
55       <groupId>${project.groupId}</groupId>
56       <artifactId>schema.openvswitch</artifactId>
57       <version>${project.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.ovsdb</groupId>
61       <artifactId>utils.yang-utils</artifactId>
62       <version>${project.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>com.google.guava</groupId>
66       <artifactId>guava</artifactId>
67     </dependency>
68     <!-- external dependencies -->
69     <dependency>
70       <groupId>org.opendaylight.infrautils</groupId>
71       <artifactId>diagstatus-api</artifactId>
72       <version>1.4.0-SNAPSHOT</version>
73     </dependency>
74     <dependency>
75       <groupId>org.ops4j.pax.cdi</groupId>
76       <artifactId>pax-cdi-api</artifactId>
77       <optional>true</optional>
78     </dependency>
79     <dependency>
80       <groupId>javax.inject</groupId>
81       <artifactId>javax.inject</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.sonarsource.java</groupId>
85       <artifactId>sonar-jacoco-listeners</artifactId>
86       <version>${sonar-jacoco-listeners.version}</version>
87       <scope>test</scope>
88     </dependency>
89     <dependency>
90       <groupId>org.slf4j</groupId>
91       <artifactId>slf4j-simple</artifactId>
92       <scope>test</scope>
93     </dependency>
94     <!-- testing dependencies -->
95     <dependency>
96       <groupId>junit</groupId>
97       <artifactId>junit</artifactId>
98       <scope>test</scope>
99     </dependency>
100     <dependency>
101       <groupId>org.powermock</groupId>
102       <artifactId>powermock-api-mockito</artifactId>
103       <scope>test</scope>
104     </dependency>
105     <dependency>
106       <groupId>org.powermock</groupId>
107       <artifactId>powermock-module-junit4</artifactId>
108       <scope>test</scope>
109     </dependency>
110     <dependency>
111       <groupId>org.opendaylight.controller</groupId>
112       <artifactId>sal-binding-broker-impl</artifactId>
113       <scope>test</scope>
114     </dependency>
115     <dependency>
116       <groupId>org.opendaylight.controller</groupId>
117       <artifactId>sal-binding-broker-impl</artifactId>
118       <type>test-jar</type>
119       <scope>test</scope>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.ovsdb</groupId>
123       <artifactId>utils.southbound-utils</artifactId>
124       <version>${project.version}</version>
125       <scope>test</scope>
126     </dependency>
127   </dependencies>
128   <build>
129     <plugins>
130       <plugin>
131         <groupId>org.apache.felix</groupId>
132         <artifactId>maven-bundle-plugin</artifactId>
133         <configuration>
134           <instructions>
135             <Export-Package>
136               org.opendaylight.ovsdb.southbound,
137               org.opendaylight.ovsdb.southbound.*,
138               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
139           </instructions>
140         </configuration>
141       </plugin>
142       <plugin>
143         <groupId>org.apache.maven.plugins</groupId>
144         <artifactId>maven-surefire-plugin</artifactId>
145         <configuration>
146           <properties>
147             <property>
148               <name>listener</name>
149               <value>org.sonar.java.jacoco.JUnitListener</value>
150             </property>
151           </properties>
152         </configuration>
153       </plugin>
154       <plugin>
155         <groupId>org.codehaus.mojo</groupId>
156         <artifactId>build-helper-maven-plugin</artifactId>
157         <executions>
158           <execution>
159             <id>attach-artifacts</id>
160             <goals>
161               <goal>attach-artifact</goal>
162             </goals>
163             <phase>package</phase>
164             <configuration>
165               <artifacts>
166                 <artifact>
167                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
168                   <type>cfg</type>
169                   <classifier>config</classifier>
170                 </artifact>
171               </artifacts>
172             </configuration>
173           </execution>
174         </executions>
175       </plugin>
176     </plugins>
177   </build>
178
179   <!--
180       Maven Site Configuration
181
182       The following configuration is necessary for maven-site-plugin to
183       correctly identify the correct deployment path for OpenDaylight Maven
184       sites.
185   -->
186   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
187
188   <distributionManagement>
189     <site>
190       <id>opendaylight-site</id>
191       <url>${nexus.site.url}/${project.artifactId}/</url>
192     </site>
193   </distributionManagement>
194 </project>