8edeeab8e9a5ef67c1d435f7a1722e7fe0087e16
[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.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>hwvtepsouthbound-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
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     <dependency>
87       <groupId>org.opendaylight.serviceutils</groupId>
88       <artifactId>upgrade</artifactId>
89       <version>0.5.0-SNAPSHOT</version>
90     </dependency>
91     <!-- Testing Dependencies -->
92     <dependency>
93       <groupId>org.opendaylight.controller</groupId>
94       <artifactId>sal-binding-broker-impl</artifactId>
95       <scope>test</scope>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.controller</groupId>
99       <artifactId>sal-binding-broker-impl</artifactId>
100       <scope>test</scope>
101       <type>test-jar</type>
102     </dependency>
103     <dependency>
104       <groupId>org.slf4j</groupId>
105       <artifactId>slf4j-simple</artifactId>
106       <scope>test</scope>
107     </dependency>
108
109     <dependency>
110       <groupId>org.powermock</groupId>
111       <artifactId>powermock-reflect</artifactId>
112       <scope>test</scope>
113     </dependency>
114     <dependency>
115       <groupId>org.apache.karaf.shell</groupId>
116       <artifactId>org.apache.karaf.shell.core</artifactId>
117     </dependency>
118   </dependencies>
119
120   <build>
121     <plugins>
122       <plugin>
123         <groupId>org.apache.aries.blueprint</groupId>
124         <artifactId>blueprint-maven-plugin</artifactId>
125         <configuration>
126           <scanPaths>org.opendaylight.ovsdb.hwvtepsouthbound</scanPaths>
127         </configuration>
128       </plugin>
129       <plugin>
130         <groupId>org.apache.felix</groupId>
131         <artifactId>maven-bundle-plugin</artifactId>
132         <configuration>
133           <instructions>
134             <Karaf-Commands>org.opendaylight.ovsdb.hwvtepsouthbound.cli*</Karaf-Commands>
135             <Private-Package>org.opendaylight.ovsdb.schema.hardwarevtep</Private-Package>
136             <Export-Package>org.opendaylight.ovsdb.hwvtepsouthbound.*,org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.hwvtepsouthbound.impl.rev150901.*</Export-Package>
137           </instructions>
138         </configuration>
139       </plugin>
140       <plugin>
141         <groupId>org.apache.maven.plugins</groupId>
142         <artifactId>maven-surefire-plugin</artifactId>
143         <configuration>
144           <forkCount>1</forkCount>
145           <reuseForks>false</reuseForks>
146         </configuration>
147       </plugin>
148       <plugin>
149         <groupId>org.codehaus.mojo</groupId>
150         <artifactId>build-helper-maven-plugin</artifactId>
151         <executions>
152           <execution>
153             <id>attach-artifacts</id>
154             <goals>
155               <goal>attach-artifact</goal>
156             </goals>
157             <phase>package</phase>
158             <configuration>
159               <artifacts>
160                 <artifact>
161                   <file>${project.build.directory}/classes/initial/hwvtepsouthbound.cfg</file>
162                   <type>cfg</type>
163                   <classifier>config</classifier>
164                 </artifact>
165               </artifacts>
166             </configuration>
167           </execution>
168         </executions>
169       </plugin>
170     </plugins>
171   </build>
172
173   <!--
174       Maven Site Configuration
175
176       The following configuration is necessary for maven-site-plugin to
177       correctly identify the correct deployment path for OpenDaylight Maven
178       sites.
179   -->
180   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
181
182   <distributionManagement>
183     <site>
184       <id>opendaylight-site</id>
185       <url>${nexus.site.url}/${project.artifactId}/</url>
186     </site>
187   </distributionManagement>
188 </project>