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