Check for the SHARD Status before opening the OVSDB port/HwvtepSouthboundProvider...
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-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.10.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>hwvtepsouthbound-impl</artifactId>
22   <version>1.10.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
28   <dependencies>
29     <dependency>
30       <groupId>org.osgi</groupId>
31       <artifactId>org.osgi.core</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>sal-core-api</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.mdsal</groupId>
39       <artifactId>mdsal-binding-dom-codec</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.mdsal</groupId>
43       <artifactId>mdsal-eos-binding-api</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>javax.inject</groupId>
47       <artifactId>javax.inject</artifactId>
48       <optional>true</optional>
49     </dependency>
50     <dependency>
51       <groupId>org.apache.aries.blueprint</groupId>
52       <artifactId>blueprint-maven-plugin-annotation</artifactId>
53       <optional>true</optional>
54     </dependency>
55     <!-- project specific dependencies -->
56     <dependency>
57       <groupId>${project.groupId}</groupId>
58       <artifactId>hwvtepsouthbound-api</artifactId>
59       <version>${project.version}</version>
60     </dependency>
61     <dependency>
62       <groupId>${project.groupId}</groupId>
63       <artifactId>library</artifactId>
64       <version>${project.version}</version>
65     </dependency>
66       <dependency>
67           <groupId>org.apache.karaf.shell</groupId>
68           <artifactId>org.apache.karaf.shell.console</artifactId>
69           <scope>provided</scope>
70       </dependency>
71     <dependency>
72       <groupId>${project.groupId}</groupId>
73       <artifactId>schema.hardwarevtep</artifactId>
74       <version>${project.version}</version>
75     </dependency>
76     <dependency>
77       <groupId>${project.groupId}</groupId>
78       <artifactId>utils.mdsal-utils</artifactId>
79       <version>${project.version}</version>
80     </dependency>
81     <dependency>
82       <groupId>javax.annotation</groupId>
83       <artifactId>javax.annotation-api</artifactId>
84       <optional>true</optional>
85     </dependency>
86     <!-- Testing Dependencies -->
87     <dependency>
88       <groupId>org.opendaylight.controller</groupId>
89       <artifactId>sal-binding-broker-impl</artifactId>
90       <scope>test</scope>
91     </dependency>
92     <dependency>
93       <groupId>org.opendaylight.controller</groupId>
94       <artifactId>sal-binding-broker-impl</artifactId>
95       <scope>test</scope>
96       <type>test-jar</type>
97     </dependency>
98     <dependency>
99       <groupId>org.slf4j</groupId>
100       <artifactId>slf4j-simple</artifactId>
101       <scope>test</scope>
102     </dependency>
103
104     <dependency>
105       <groupId>org.powermock</groupId>
106       <artifactId>powermock-reflect</artifactId>
107       <scope>test</scope>
108     </dependency>
109     <dependency>
110       <groupId>org.apache.karaf.shell</groupId>
111       <artifactId>org.apache.karaf.shell.core</artifactId>
112     </dependency>
113   </dependencies>
114
115   <build>
116     <plugins>
117       <plugin>
118         <groupId>org.apache.aries.blueprint</groupId>
119         <artifactId>blueprint-maven-plugin</artifactId>
120         <configuration>
121           <scanPaths>org.opendaylight.ovsdb.hwvtepsouthbound</scanPaths>
122         </configuration>
123       </plugin>
124       <plugin>
125         <groupId>org.apache.felix</groupId>
126         <artifactId>maven-bundle-plugin</artifactId>
127         <configuration>
128           <instructions>
129             <Karaf-Commands>org.opendaylight.ovsdb.hwvtepsouthbound.cli*</Karaf-Commands>
130             <Private-Package>org.opendaylight.ovsdb.schema.hardwarevtep</Private-Package>
131             <Export-Package>org.opendaylight.ovsdb.hwvtepsouthbound.*,org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.hwvtepsouthbound.impl.rev150901.*</Export-Package>
132           </instructions>
133         </configuration>
134       </plugin>
135       <plugin>
136         <groupId>org.apache.maven.plugins</groupId>
137         <artifactId>maven-surefire-plugin</artifactId>
138         <configuration>
139           <forkCount>1</forkCount>
140           <reuseForks>false</reuseForks>
141         </configuration>
142       </plugin>
143       <plugin>
144         <groupId>org.codehaus.mojo</groupId>
145         <artifactId>build-helper-maven-plugin</artifactId>
146         <executions>
147           <execution>
148             <id>attach-artifacts</id>
149             <goals>
150               <goal>attach-artifact</goal>
151             </goals>
152             <phase>package</phase>
153             <configuration>
154               <artifacts>
155                 <artifact>
156                   <file>${project.build.directory}/classes/initial/hwvtepsouthbound.cfg</file>
157                   <type>cfg</type>
158                   <classifier>config</classifier>
159                 </artifact>
160               </artifacts>
161             </configuration>
162           </execution>
163         </executions>
164       </plugin>
165     </plugins>
166   </build>
167
168   <!--
169       Maven Site Configuration
170
171       The following configuration is necessary for maven-site-plugin to
172       correctly identify the correct deployment path for OpenDaylight Maven
173       sites.
174   -->
175   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
176
177   <distributionManagement>
178     <site>
179       <id>opendaylight-site</id>
180       <url>${nexus.site.url}/${project.artifactId}/</url>
181     </site>
182   </distributionManagement>
183 </project>