Inherit groupId/version from parent
[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 <!--
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.14.0-SNAPSHOT</version>
16     <relativePath>../../commons/binding-parent</relativePath>
17   </parent>
18
19   <modelVersion>4.0.0</modelVersion>
20   <artifactId>southbound-impl</artifactId>
21   <packaging>bundle</packaging>
22   <!-- <name> formatting is used by autorelease to parse and notify projects on
23        build failure. Please do not modify this unless you have a good reason. -->
24   <name>ODL :: ovsdb :: ${project.artifactId}</name>
25   <properties>
26     <sonar.jacoco.itReportPath>../southbound-it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
27   </properties>
28
29   <dependencies>
30     <dependency>
31       <groupId>org.opendaylight.yangtools</groupId>
32       <artifactId>yang-data-util</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.yangtools</groupId>
36       <artifactId>yang-data-impl</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.mdsal</groupId>
40       <artifactId>mdsal-binding-api</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.mdsal</groupId>
44       <artifactId>mdsal-dom-api</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.mdsal</groupId>
48       <artifactId>mdsal-binding-dom-codec-api</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.mdsal</groupId>
52       <artifactId>mdsal-eos-binding-api</artifactId>
53     </dependency>
54     <!-- project specific dependencies -->
55     <dependency>
56       <groupId>${project.groupId}</groupId>
57       <artifactId>southbound-api</artifactId>
58       <version>${project.version}</version>
59     </dependency>
60     <dependency>
61       <groupId>${project.groupId}</groupId>
62       <artifactId>utils.mdsal-utils</artifactId>
63       <version>${project.version}</version>
64     </dependency>
65     <dependency>
66       <groupId>${project.groupId}</groupId>
67       <artifactId>library</artifactId>
68       <version>${project.version}</version>
69     </dependency>
70     <dependency>
71       <groupId>${project.groupId}</groupId>
72       <artifactId>schema.openvswitch</artifactId>
73       <version>${project.version}</version>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.ovsdb</groupId>
77       <artifactId>utils.yang-utils</artifactId>
78       <version>${project.version}</version>
79     </dependency>
80     <dependency>
81       <groupId>com.google.guava</groupId>
82       <artifactId>guava</artifactId>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.infrautils</groupId>
86       <artifactId>ready-api</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.serviceutils</groupId>
90       <artifactId>upgrade</artifactId>
91     </dependency>
92     <!-- external dependencies -->
93     <dependency>
94       <groupId>org.opendaylight.infrautils</groupId>
95       <artifactId>diagstatus-api</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>com.guicedee.services</groupId>
99       <artifactId>javax.inject</artifactId>
100       <optional>true</optional>
101     </dependency>
102     <dependency>
103       <groupId>javax.annotation</groupId>
104       <artifactId>javax.annotation-api</artifactId>
105       <optional>true</optional>
106     </dependency>
107
108     <!-- testing dependencies -->
109     <dependency>
110       <groupId>org.sonarsource.java</groupId>
111       <artifactId>sonar-jacoco-listeners</artifactId>
112       <version>${sonar-jacoco-listeners.version}</version>
113       <scope>test</scope>
114     </dependency>
115     <dependency>
116       <groupId>org.slf4j</groupId>
117       <artifactId>slf4j-simple</artifactId>
118       <scope>test</scope>
119     </dependency>
120     <dependency>
121       <groupId>org.opendaylight.mdsal</groupId>
122       <artifactId>mdsal-binding-test-utils</artifactId>
123     </dependency>
124     <dependency>
125       <groupId>org.powermock</groupId>
126       <artifactId>powermock-api-mockito2</artifactId>
127     </dependency>
128     <dependency>
129       <groupId>org.powermock</groupId>
130       <artifactId>powermock-module-junit4</artifactId>
131     </dependency>
132     <dependency>
133       <groupId>org.opendaylight.ovsdb</groupId>
134       <artifactId>utils.southbound-utils</artifactId>
135       <version>${project.version}</version>
136       <scope>test</scope>
137     </dependency>
138   </dependencies>
139   <build>
140     <plugins>
141       <plugin>
142         <groupId>org.apache.felix</groupId>
143         <artifactId>maven-bundle-plugin</artifactId>
144         <configuration>
145           <instructions>
146             <Export-Package>
147               org.opendaylight.ovsdb.southbound,
148               org.opendaylight.ovsdb.southbound.*,
149               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
150           </instructions>
151         </configuration>
152       </plugin>
153       <plugin>
154         <groupId>org.apache.maven.plugins</groupId>
155         <artifactId>maven-surefire-plugin</artifactId>
156         <configuration>
157           <properties>
158             <property>
159               <name>listener</name>
160               <value>org.sonar.java.jacoco.JUnitListener</value>
161             </property>
162           </properties>
163         </configuration>
164       </plugin>
165       <plugin>
166         <groupId>org.codehaus.mojo</groupId>
167         <artifactId>build-helper-maven-plugin</artifactId>
168         <executions>
169           <execution>
170             <id>attach-artifacts</id>
171             <goals>
172               <goal>attach-artifact</goal>
173             </goals>
174             <phase>package</phase>
175             <configuration>
176               <artifacts>
177                 <artifact>
178                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
179                   <type>cfg</type>
180                   <classifier>config</classifier>
181                 </artifact>
182               </artifacts>
183             </configuration>
184           </execution>
185         </executions>
186       </plugin>
187     </plugins>
188   </build>
189
190   <!--
191       Maven Site Configuration
192
193       The following configuration is necessary for maven-site-plugin to
194       correctly identify the correct deployment path for OpenDaylight Maven
195       sites.
196   -->
197   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
198
199   <distributionManagement>
200     <site>
201       <id>opendaylight-site</id>
202       <url>${nexus.site.url}/${project.artifactId}/</url>
203     </site>
204   </distributionManagement>
205 </project>