BUG-5737: enable OVSDB Maven site
[ovsdb.git] / library / 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.5.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.ovsdb</groupId>
20   <artifactId>library</artifactId>
21   <version>1.3.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <properties>
24     <sonar.jacoco.itReportPath>../it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
25   </properties>
26   <dependencies>
27     <dependency>
28       <groupId>com.fasterxml.jackson.core</groupId>
29       <artifactId>jackson-annotations</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>com.fasterxml.jackson.core</groupId>
33       <artifactId>jackson-core</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>com.fasterxml.jackson.core</groupId>
37       <artifactId>jackson-databind</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.osgi</groupId>
41       <artifactId>org.osgi.core</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>com.google.guava</groupId>
45       <artifactId>guava</artifactId>
46     </dependency>
47     <dependency>
48       <groupId>io.netty</groupId>
49       <artifactId>netty-handler</artifactId>
50     </dependency>
51     <dependency>
52       <groupId>io.netty</groupId>
53       <artifactId>netty-transport</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.slf4j</groupId>
57       <artifactId>slf4j-api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.controller</groupId>
61       <artifactId>config-api</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.controller</groupId>
65       <artifactId>sal-binding-api</artifactId>
66     </dependency>
67
68     <!-- Testing Dependencies -->
69     <dependency>
70       <groupId>junit</groupId>
71       <artifactId>junit</artifactId>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>org.slf4j</groupId>
76       <artifactId>slf4j-simple</artifactId>
77       <scope>test</scope>
78     </dependency>
79     <dependency>
80       <groupId>org.mockito</groupId>
81       <artifactId>mockito-all</artifactId>
82       <scope>test</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.codehaus.sonar-plugins.java</groupId>
86       <artifactId>sonar-jacoco-listeners</artifactId>
87       <version>${sonar-jacoco-listeners.version}</version>
88       <scope>test</scope>
89     </dependency>
90   </dependencies>
91
92   <build>
93     <testResources>
94       <testResource>
95         <filtering>true</filtering>
96         <directory>src/test/resources</directory>
97       </testResource>
98     </testResources>
99     <plugins>
100       <plugin>
101         <groupId>org.apache.felix</groupId>
102         <artifactId>maven-bundle-plugin</artifactId>
103         <extensions>true</extensions>
104         <configuration>
105           <instructions>
106             <Export-Package>
107               org.opendaylight.ovsdb.lib,
108               org.opendaylight.ovsdb.lib.*,
109               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210
110             </Export-Package>
111           </instructions>
112         </configuration>
113       </plugin>
114       <plugin>
115         <groupId>org.apache.maven.plugins</groupId>
116         <artifactId>maven-checkstyle-plugin</artifactId>
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.jacoco</groupId>
132         <artifactId>jacoco-maven-plugin</artifactId>
133       </plugin>
134     </plugins>
135   </build>
136
137   <!--
138       Maven Site Configuration
139
140       The following configuration is necessary for maven-site-plugin to
141       correctly identify the correct deployment path for OpenDaylight Maven
142       sites.
143   -->
144   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
145
146   <distributionManagement>
147     <site>
148       <id>opendaylight-site</id>
149       <url>${nexus.site.url}/${project.artifactId}/</url>
150     </site>
151   </distributionManagement>
152 </project>