02f25e841d5b774914d63a938de4a7e0e0e22de3
[ovsdb.git] / library / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2014, 2016 Cisco Systems, Inc. and others.  All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12   <parent>
13     <groupId>org.opendaylight.ovsdb</groupId>
14     <artifactId>ovsdb-binding-parent</artifactId>
15     <version>1.8.0-SNAPSHOT</version>
16     <relativePath>../../commons/binding-parent</relativePath>
17   </parent>
18
19   <modelVersion>4.0.0</modelVersion>
20   <groupId>org.opendaylight.ovsdb</groupId>
21   <artifactId>library</artifactId>
22   <version>1.8.0-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24   <!-- <name> formatting is used by autorelease to parse and notify projects on
25        build failure. Please do not modify this unless you have a good reason. -->
26   <name>ODL :: ovsdb :: ${project.artifactId}</name>
27
28   <properties>
29     <sonar.jacoco.itReportPath>../it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
30   </properties>
31
32   <dependencies>
33     <dependency>
34       <groupId>com.fasterxml.jackson.core</groupId>
35       <artifactId>jackson-annotations</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>com.fasterxml.jackson.core</groupId>
39       <artifactId>jackson-core</artifactId>
40     </dependency>
41
42     <dependency>
43       <groupId>com.fasterxml.jackson.core</groupId>
44       <artifactId>jackson-databind</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.osgi</groupId>
48       <artifactId>org.osgi.core</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>com.google.guava</groupId>
52       <artifactId>guava</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>io.netty</groupId>
56       <artifactId>netty-handler</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>io.netty</groupId>
60       <artifactId>netty-transport</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.slf4j</groupId>
64       <artifactId>slf4j-api</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.aaa</groupId>
68       <artifactId>aaa-cert</artifactId>
69       <version>0.9.0-SNAPSHOT</version>
70     </dependency>
71
72     <!-- Testing Dependencies -->
73     <dependency>
74       <groupId>junit</groupId>
75       <artifactId>junit</artifactId>
76       <scope>test</scope>
77     </dependency>
78     <dependency>
79       <groupId>org.slf4j</groupId>
80       <artifactId>slf4j-simple</artifactId>
81       <scope>test</scope>
82     </dependency>
83     <dependency>
84       <groupId>org.mockito</groupId>
85       <artifactId>mockito-core</artifactId>
86       <scope>test</scope>
87     </dependency>
88     <dependency>
89       <groupId>org.sonarsource.java</groupId>
90       <artifactId>sonar-jacoco-listeners</artifactId>
91       <version>${sonar-jacoco-listeners.version}</version>
92       <scope>test</scope>
93     </dependency>
94   </dependencies>
95
96   <build>
97     <testResources>
98       <testResource>
99         <filtering>true</filtering>
100         <directory>src/test/resources</directory>
101       </testResource>
102     </testResources>
103     <plugins>
104       <plugin>
105         <groupId>org.apache.felix</groupId>
106         <artifactId>maven-bundle-plugin</artifactId>
107         <extensions>true</extensions>
108         <configuration>
109           <instructions>
110             <Export-Package>
111               org.opendaylight.ovsdb.lib,
112               org.opendaylight.ovsdb.lib.*,
113               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210
114             </Export-Package>
115           </instructions>
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.jacoco</groupId>
132         <artifactId>jacoco-maven-plugin</artifactId>
133       </plugin>
134       <plugin>
135         <groupId>org.codehaus.mojo</groupId>
136         <artifactId>build-helper-maven-plugin</artifactId>
137         <executions>
138           <execution>
139             <id>attach-artifacts</id>
140             <goals>
141               <goal>attach-artifact</goal>
142             </goals>
143             <phase>package</phase>
144             <configuration>
145               <artifacts>
146                 <artifact>
147                   <file>${project.build.directory}/classes/initial/library.cfg</file>
148                   <type>cfg</type>
149                   <classifier>config</classifier>
150                 </artifact>
151               </artifacts>
152             </configuration>
153           </execution>
154         </executions>
155       </plugin>
156     </plugins>
157   </build>
158
159   <!--
160       Maven Site Configuration
161
162       The following configuration is necessary for maven-site-plugin to
163       correctly identify the correct deployment path for OpenDaylight Maven
164       sites.
165   -->
166   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
167
168   <distributionManagement>
169     <site>
170       <id>opendaylight-site</id>
171       <url>${nexus.site.url}/${project.artifactId}/</url>
172     </site>
173   </distributionManagement>
174 </project>