defer OVSDB port 6640 opening until system is ready
[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     <dependency>
69       <groupId>org.opendaylight.infrautils</groupId>
70       <artifactId>ready-api</artifactId>
71       <version>1.4.0-SNAPSHOT</version>
72     </dependency>
73     <!-- external dependencies -->
74     <dependency>
75       <groupId>org.opendaylight.infrautils</groupId>
76       <artifactId>diagstatus-api</artifactId>
77       <version>1.4.0-SNAPSHOT</version>
78     </dependency>
79     <dependency>
80       <groupId>org.ops4j.pax.cdi</groupId>
81       <artifactId>pax-cdi-api</artifactId>
82       <optional>true</optional>
83     </dependency>
84     <dependency>
85       <groupId>javax.inject</groupId>
86       <artifactId>javax.inject</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.sonarsource.java</groupId>
90       <artifactId>sonar-jacoco-listeners</artifactId>
91       <version>${sonar-jacoco-listeners.version}</version>
92       <scope>test</scope>
93     </dependency>
94     <dependency>
95       <groupId>org.slf4j</groupId>
96       <artifactId>slf4j-simple</artifactId>
97       <scope>test</scope>
98     </dependency>
99     <!-- testing dependencies -->
100     <dependency>
101       <groupId>junit</groupId>
102       <artifactId>junit</artifactId>
103       <scope>test</scope>
104     </dependency>
105     <dependency>
106       <groupId>org.powermock</groupId>
107       <artifactId>powermock-api-mockito</artifactId>
108       <scope>test</scope>
109     </dependency>
110     <dependency>
111       <groupId>org.powermock</groupId>
112       <artifactId>powermock-module-junit4</artifactId>
113       <scope>test</scope>
114     </dependency>
115     <dependency>
116       <groupId>org.opendaylight.controller</groupId>
117       <artifactId>sal-binding-broker-impl</artifactId>
118       <scope>test</scope>
119     </dependency>
120     <dependency>
121       <groupId>org.opendaylight.controller</groupId>
122       <artifactId>sal-binding-broker-impl</artifactId>
123       <type>test-jar</type>
124       <scope>test</scope>
125     </dependency>
126     <dependency>
127       <groupId>org.opendaylight.ovsdb</groupId>
128       <artifactId>utils.southbound-utils</artifactId>
129       <version>${project.version}</version>
130       <scope>test</scope>
131     </dependency>
132   </dependencies>
133   <build>
134     <plugins>
135       <plugin>
136         <groupId>org.apache.felix</groupId>
137         <artifactId>maven-bundle-plugin</artifactId>
138         <configuration>
139           <instructions>
140             <Export-Package>
141               org.opendaylight.ovsdb.southbound,
142               org.opendaylight.ovsdb.southbound.*,
143               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
144           </instructions>
145         </configuration>
146       </plugin>
147       <plugin>
148         <groupId>org.apache.maven.plugins</groupId>
149         <artifactId>maven-surefire-plugin</artifactId>
150         <configuration>
151           <properties>
152             <property>
153               <name>listener</name>
154               <value>org.sonar.java.jacoco.JUnitListener</value>
155             </property>
156           </properties>
157         </configuration>
158       </plugin>
159       <plugin>
160         <groupId>org.codehaus.mojo</groupId>
161         <artifactId>build-helper-maven-plugin</artifactId>
162         <executions>
163           <execution>
164             <id>attach-artifacts</id>
165             <goals>
166               <goal>attach-artifact</goal>
167             </goals>
168             <phase>package</phase>
169             <configuration>
170               <artifacts>
171                 <artifact>
172                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
173                   <type>cfg</type>
174                   <classifier>config</classifier>
175                 </artifact>
176               </artifacts>
177             </configuration>
178           </execution>
179         </executions>
180       </plugin>
181     </plugins>
182   </build>
183
184   <!--
185       Maven Site Configuration
186
187       The following configuration is necessary for maven-site-plugin to
188       correctly identify the correct deployment path for OpenDaylight Maven
189       sites.
190   -->
191   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
192
193   <distributionManagement>
194     <site>
195       <id>opendaylight-site</id>
196       <url>${nexus.site.url}/${project.artifactId}/</url>
197     </site>
198   </distributionManagement>
199 </project>