Add a workaround for ARIES-1923
[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   <properties>
29     <!-- FIXME: Workaround for https://issues.apache.org/jira/browse/ARIES-1923 -->
30     <maven.compiler.release>10</maven.compiler.release>
31   </properties>
32
33   <dependencies>
34     <dependency>
35       <groupId>org.osgi</groupId>
36       <artifactId>org.osgi.core</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>sal-core-api</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.mdsal</groupId>
44       <artifactId>mdsal-binding-dom-codec</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.mdsal</groupId>
48       <artifactId>mdsal-eos-binding-api</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>javax.inject</groupId>
52       <artifactId>javax.inject</artifactId>
53       <optional>true</optional>
54     </dependency>
55     <dependency>
56       <groupId>org.apache.aries.blueprint</groupId>
57       <artifactId>blueprint-maven-plugin-annotation</artifactId>
58       <optional>true</optional>
59     </dependency>
60     <!-- project specific dependencies -->
61     <dependency>
62       <groupId>${project.groupId}</groupId>
63       <artifactId>hwvtepsouthbound-api</artifactId>
64       <version>${project.version}</version>
65     </dependency>
66     <dependency>
67       <groupId>${project.groupId}</groupId>
68       <artifactId>library</artifactId>
69       <version>${project.version}</version>
70     </dependency>
71       <dependency>
72           <groupId>org.apache.karaf.shell</groupId>
73           <artifactId>org.apache.karaf.shell.console</artifactId>
74           <scope>provided</scope>
75       </dependency>
76     <dependency>
77       <groupId>${project.groupId}</groupId>
78       <artifactId>schema.hardwarevtep</artifactId>
79       <version>${project.version}</version>
80     </dependency>
81     <dependency>
82       <groupId>${project.groupId}</groupId>
83       <artifactId>utils.mdsal-utils</artifactId>
84       <version>${project.version}</version>
85     </dependency>
86     <dependency>
87       <groupId>javax.annotation</groupId>
88       <artifactId>javax.annotation-api</artifactId>
89       <optional>true</optional>
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.mockito</groupId>
111       <artifactId>mockito-core</artifactId>
112       <scope>test</scope>
113     </dependency>
114     <dependency>
115       <groupId>org.powermock</groupId>
116       <artifactId>powermock-reflect</artifactId>
117       <scope>test</scope>
118     </dependency>
119     <dependency>
120       <groupId>org.apache.karaf.shell</groupId>
121       <artifactId>org.apache.karaf.shell.core</artifactId>
122     </dependency>
123   </dependencies>
124
125   <build>
126     <plugins>
127       <plugin>
128         <groupId>org.apache.aries.blueprint</groupId>
129         <artifactId>blueprint-maven-plugin</artifactId>
130         <configuration>
131           <scanPaths>org.opendaylight.ovsdb.hwvtepsouthbound</scanPaths>
132         </configuration>
133       </plugin>
134       <plugin>
135         <groupId>org.apache.felix</groupId>
136         <artifactId>maven-bundle-plugin</artifactId>
137         <configuration>
138           <instructions>
139             <Karaf-Commands>org.opendaylight.ovsdb.hwvtepsouthbound.cli*</Karaf-Commands>
140             <Private-Package>org.opendaylight.ovsdb.schema.hardwarevtep</Private-Package>
141             <Export-Package>org.opendaylight.ovsdb.hwvtepsouthbound.*,org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.hwvtepsouthbound.impl.rev150901.*</Export-Package>
142           </instructions>
143         </configuration>
144       </plugin>
145       <plugin>
146         <groupId>org.apache.maven.plugins</groupId>
147         <artifactId>maven-surefire-plugin</artifactId>
148         <configuration>
149           <forkCount>1</forkCount>
150           <reuseForks>false</reuseForks>
151         </configuration>
152       </plugin>
153     </plugins>
154   </build>
155
156   <!--
157       Maven Site Configuration
158
159       The following configuration is necessary for maven-site-plugin to
160       correctly identify the correct deployment path for OpenDaylight Maven
161       sites.
162   -->
163   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
164
165   <distributionManagement>
166     <site>
167       <id>opendaylight-site</id>
168       <url>${nexus.site.url}/${project.artifactId}/</url>
169     </site>
170   </distributionManagement>
171 </project>