Add binding-parent pom
[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.ovsdb</groupId>
13     <artifactId>ovsdb-binding-parent</artifactId>
14     <version>1.7.0-SNAPSHOT</version>
15     <relativePath>../../commons/binding-parent</relativePath>
16   </parent>
17
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.ovsdb</groupId>
20   <artifactId>southbound-impl</artifactId>
21   <version>1.7.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   <dependencies>
31     <dependency>
32       <groupId>org.opendaylight.controller</groupId>
33       <artifactId>sal-core-api</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.mdsal</groupId>
37       <artifactId>mdsal-binding-dom-codec</artifactId>
38     </dependency>
39     <!-- project specific dependencies -->
40     <dependency>
41       <groupId>${project.groupId}</groupId>
42       <artifactId>southbound-api</artifactId>
43       <version>${project.version}</version>
44     </dependency>
45     <dependency>
46       <groupId>${project.groupId}</groupId>
47       <artifactId>library</artifactId>
48       <version>${project.version}</version>
49     </dependency>
50     <dependency>
51       <groupId>${project.groupId}</groupId>
52       <artifactId>schema.openvswitch</artifactId>
53       <version>${project.version}</version>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.ovsdb</groupId>
57       <artifactId>utils.yang-utils</artifactId>
58       <version>${project.version}</version>
59     </dependency>
60     <dependency>
61       <groupId>com.google.guava</groupId>
62       <artifactId>guava</artifactId>
63     </dependency>
64     <!-- external dependencies -->
65     <dependency>
66       <groupId>org.sonarsource.java</groupId>
67       <artifactId>sonar-jacoco-listeners</artifactId>
68       <version>${sonar-jacoco-listeners.version}</version>
69       <scope>test</scope>
70     </dependency>
71     <dependency>
72       <groupId>org.slf4j</groupId>
73       <artifactId>slf4j-simple</artifactId>
74       <scope>test</scope>
75     </dependency>
76     <!-- testing dependencies -->
77     <dependency>
78       <groupId>junit</groupId>
79       <artifactId>junit</artifactId>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>org.powermock</groupId>
84       <artifactId>powermock-api-mockito</artifactId>
85       <scope>test</scope>
86     </dependency>
87     <dependency>
88       <groupId>org.powermock</groupId>
89       <artifactId>powermock-module-junit4</artifactId>
90       <scope>test</scope>
91     </dependency>
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       <type>test-jar</type>
101       <scope>test</scope>
102     </dependency>
103     <dependency>
104       <groupId>org.opendaylight.ovsdb</groupId>
105       <artifactId>utils.southbound-utils</artifactId>
106       <version>${project.version}</version>
107       <scope>test</scope>
108     </dependency>
109   </dependencies>
110   <build>
111     <plugins>
112       <plugin>
113         <groupId>org.apache.felix</groupId>
114         <artifactId>maven-bundle-plugin</artifactId>
115         <configuration>
116           <instructions>
117             <Export-Package>
118               org.opendaylight.ovsdb.southbound,
119               org.opendaylight.ovsdb.southbound.*,
120               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
121           </instructions>
122         </configuration>
123       </plugin>
124       <plugin>
125         <groupId>org.apache.maven.plugins</groupId>
126         <artifactId>maven-checkstyle-plugin</artifactId>
127         <configuration>
128           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
129         </configuration>
130       </plugin>
131       <plugin>
132         <groupId>org.apache.maven.plugins</groupId>
133         <artifactId>maven-surefire-plugin</artifactId>
134         <configuration>
135           <properties>
136             <property>
137               <name>listener</name>
138               <value>org.sonar.java.jacoco.JUnitListener</value>
139             </property>
140           </properties>
141         </configuration>
142       </plugin>
143       <plugin>
144         <groupId>org.codehaus.mojo</groupId>
145         <artifactId>build-helper-maven-plugin</artifactId>
146         <executions>
147           <execution>
148             <id>attach-artifacts</id>
149             <goals>
150               <goal>attach-artifact</goal>
151             </goals>
152             <phase>package</phase>
153             <configuration>
154               <artifacts>
155                 <artifact>
156                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
157                   <type>cfg</type>
158                   <classifier>config</classifier>
159                 </artifact>
160               </artifacts>
161             </configuration>
162           </execution>
163         </executions>
164       </plugin>
165     </plugins>
166   </build>
167
168   <!--
169       Maven Site Configuration
170
171       The following configuration is necessary for maven-site-plugin to
172       correctly identify the correct deployment path for OpenDaylight Maven
173       sites.
174   -->
175   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
176
177   <distributionManagement>
178     <site>
179       <id>opendaylight-site</id>
180       <url>${nexus.site.url}/${project.artifactId}/</url>
181     </site>
182   </distributionManagement>
183 </project>