Adjust for odlparent 3 / yangtools 2
[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 Copyright © 2014, 2016 Cisco Systems, Inc. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10
11   <parent>
12     <groupId>org.opendaylight.mdsal</groupId>
13     <artifactId>binding-parent</artifactId>
14     <version>0.12.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.ovsdb</groupId>
20   <artifactId>southbound-impl</artifactId>
21   <version>1.6.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <!-- <name> formatting is used by autorelease to parse and notify projects on
24        build failure. Please do not modify this unless you have a good reason. -->
25   <name>ODL :: ovsdb :: ${project.artifactId}</name>
26   <properties>
27     <sonar.jacoco.itReportPath>../southbound-it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
28   </properties>
29
30   <dependencyManagement>
31     <dependencies>
32       <dependency>
33         <groupId>org.opendaylight.controller</groupId>
34         <artifactId>mdsal-artifacts</artifactId>
35         <version>1.7.0-SNAPSHOT</version>
36         <type>pom</type>
37         <scope>import</scope>
38       </dependency>
39     </dependencies>
40   </dependencyManagement>
41
42   <dependencies>
43     <dependency>
44       <groupId>org.opendaylight.controller</groupId>
45       <artifactId>sal-core-api</artifactId>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.mdsal</groupId>
49       <artifactId>mdsal-binding-dom-codec</artifactId>
50     </dependency>
51     <!-- project specific dependencies -->
52     <dependency>
53       <groupId>${project.groupId}</groupId>
54       <artifactId>southbound-api</artifactId>
55       <version>${project.version}</version>
56     </dependency>
57     <dependency>
58       <groupId>${project.groupId}</groupId>
59       <artifactId>library</artifactId>
60       <version>${project.version}</version>
61     </dependency>
62     <dependency>
63       <groupId>${project.groupId}</groupId>
64       <artifactId>schema.openvswitch</artifactId>
65       <version>${project.version}</version>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.ovsdb</groupId>
69       <artifactId>utils.yang-utils</artifactId>
70       <version>${project.version}</version>
71     </dependency>
72     <dependency>
73       <groupId>com.google.guava</groupId>
74       <artifactId>guava</artifactId>
75     </dependency>
76     <!-- external dependencies -->
77     <dependency>
78       <groupId>org.sonarsource.java</groupId>
79       <artifactId>sonar-jacoco-listeners</artifactId>
80       <version>${sonar-jacoco-listeners.version}</version>
81       <scope>test</scope>
82     </dependency>
83     <dependency>
84       <groupId>org.slf4j</groupId>
85       <artifactId>slf4j-simple</artifactId>
86       <scope>test</scope>
87     </dependency>
88     <!-- testing dependencies -->
89     <dependency>
90       <groupId>junit</groupId>
91       <artifactId>junit</artifactId>
92       <scope>test</scope>
93     </dependency>
94     <dependency>
95       <groupId>org.powermock</groupId>
96       <artifactId>powermock-api-mockito</artifactId>
97       <scope>test</scope>
98     </dependency>
99     <dependency>
100       <groupId>org.powermock</groupId>
101       <artifactId>powermock-module-junit4</artifactId>
102       <scope>test</scope>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.controller</groupId>
106       <artifactId>sal-binding-broker-impl</artifactId>
107       <scope>test</scope>
108     </dependency>
109     <dependency>
110       <groupId>org.opendaylight.controller</groupId>
111       <artifactId>sal-binding-broker-impl</artifactId>
112       <type>test-jar</type>
113       <scope>test</scope>
114     </dependency>
115     <dependency>
116       <groupId>org.opendaylight.ovsdb</groupId>
117       <artifactId>utils.southbound-utils</artifactId>
118       <version>${project.version}</version>
119       <scope>test</scope>
120     </dependency>
121   </dependencies>
122   <build>
123     <plugins>
124       <plugin>
125         <groupId>org.apache.felix</groupId>
126         <artifactId>maven-bundle-plugin</artifactId>
127         <configuration>
128           <instructions>
129             <Export-Package>
130               org.opendaylight.ovsdb.southbound,
131               org.opendaylight.ovsdb.southbound.*,
132               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
133           </instructions>
134         </configuration>
135       </plugin>
136       <plugin>
137         <groupId>org.apache.maven.plugins</groupId>
138         <artifactId>maven-checkstyle-plugin</artifactId>
139         <configuration>
140           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
141         </configuration>
142       </plugin>
143       <plugin>
144         <groupId>org.apache.maven.plugins</groupId>
145         <artifactId>maven-surefire-plugin</artifactId>
146         <configuration>
147           <properties>
148             <property>
149               <name>listener</name>
150               <value>org.sonar.java.jacoco.JUnitListener</value>
151             </property>
152           </properties>
153         </configuration>
154       </plugin>
155       <plugin>
156         <groupId>org.codehaus.mojo</groupId>
157         <artifactId>build-helper-maven-plugin</artifactId>
158         <executions>
159           <execution>
160             <id>attach-artifacts</id>
161             <goals>
162               <goal>attach-artifact</goal>
163             </goals>
164             <phase>package</phase>
165             <configuration>
166               <artifacts>
167                 <artifact>
168                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
169                   <type>cfg</type>
170                   <classifier>config</classifier>
171                 </artifact>
172               </artifacts>
173             </configuration>
174           </execution>
175         </executions>
176       </plugin>
177     </plugins>
178   </build>
179
180   <!--
181       Maven Site Configuration
182
183       The following configuration is necessary for maven-site-plugin to
184       correctly identify the correct deployment path for OpenDaylight Maven
185       sites.
186   -->
187   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
188
189   <distributionManagement>
190     <site>
191       <id>opendaylight-site</id>
192       <url>${nexus.site.url}/${project.artifactId}/</url>
193     </site>
194   </distributionManagement>
195 </project>