c08ce89feeb8f76ba2a3330bcd7e6122fcde872c
[ovsdb.git] / utils / servicehelper / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2015, 2016 Red Hat, 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   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.ovsdb</groupId>
14     <artifactId>ovsdb-binding-parent</artifactId>
15     <version>1.16.1-SNAPSHOT</version>
16     <relativePath>../../commons/binding-parent</relativePath>
17   </parent>
18
19   <groupId>org.opendaylight.ovsdb</groupId>
20   <artifactId>utils.servicehelper</artifactId>
21   <version>1.16.1-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
27   <dependencies>
28     <dependency>
29       <groupId>org.osgi</groupId>
30       <artifactId>org.osgi.framework</artifactId>
31     </dependency>
32     <dependency>
33       <groupId>org.springframework.osgi</groupId>
34       <artifactId>spring-osgi-mock</artifactId>
35       <version>1.2.1</version>
36       <scope>test</scope>
37     </dependency>
38   </dependencies>
39
40   <build>
41     <plugins>
42       <plugin>
43         <groupId>org.apache.felix</groupId>
44         <artifactId>maven-bundle-plugin</artifactId>
45         <extensions>true</extensions>
46         <configuration>
47           <instructions>
48             <Export-Package>
49               org.opendaylight.ovsdb.utils.servicehelper
50             </Export-Package>
51           </instructions>
52         </configuration>
53       </plugin>
54       <plugin>
55         <groupId>org.jacoco</groupId>
56         <artifactId>jacoco-maven-plugin</artifactId>
57         <executions>
58           <execution>
59             <id>default-instrument</id>
60             <goals>
61               <goal>instrument</goal>
62             </goals>
63           </execution>
64           <execution>
65             <id>default-restore-instrumented-classes</id>
66             <goals>
67               <goal>restore-instrumented-classes</goal>
68             </goals>
69           </execution>
70         </executions>
71       </plugin>
72     </plugins>
73   </build>
74
75   <!--
76       Maven Site Configuration
77
78       The following configuration is necessary for maven-site-plugin to
79       correctly identify the correct deployment path for OpenDaylight Maven
80       sites.
81   -->
82   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
83
84   <distributionManagement>
85     <site>
86       <id>opendaylight-site</id>
87       <url>${nexus.site.url}/${project.artifactId}/</url>
88     </site>
89   </distributionManagement>
90 </project>