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