Bump versions by x.(y+1).z
[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.14.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.14.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     <!-- Fails build for copy/pasted code -->
30     <pmd.cpd.fail>true</pmd.cpd.fail>
31
32     <sonar.jacoco.itReportPath>../it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
33   </properties>
34
35   <dependencies>
36     <dependency>
37       <groupId>org.apache.aries.blueprint</groupId>
38       <artifactId>blueprint-maven-plugin-annotation</artifactId>
39       <optional>true</optional>
40     </dependency>
41     <dependency>
42       <groupId>com.fasterxml.jackson.core</groupId>
43       <artifactId>jackson-annotations</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>com.fasterxml.jackson.core</groupId>
47       <artifactId>jackson-core</artifactId>
48     </dependency>
49
50     <dependency>
51       <groupId>com.fasterxml.jackson.core</groupId>
52       <artifactId>jackson-databind</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.osgi</groupId>
56       <artifactId>osgi.core</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>com.google.guava</groupId>
60       <artifactId>guava</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>io.netty</groupId>
64       <artifactId>netty-handler</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>io.netty</groupId>
68       <artifactId>netty-transport</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>io.netty</groupId>
72       <artifactId>netty-transport-native-epoll</artifactId>
73       <classifier>linux-x86_64</classifier>
74     </dependency>
75
76     <dependency>
77       <groupId>org.slf4j</groupId>
78       <artifactId>slf4j-api</artifactId>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.aaa</groupId>
82       <artifactId>aaa-cert</artifactId>
83     </dependency>
84     <dependency>
85       <groupId>com.guicedee.services</groupId>
86       <artifactId>javax.inject</artifactId>
87       <optional>true</optional>
88     </dependency>
89     <dependency>
90       <groupId>javax.annotation</groupId>
91       <artifactId>javax.annotation-api</artifactId>
92       <optional>true</optional>
93     </dependency>
94
95     <!-- Testing Dependencies -->
96     <dependency>
97       <groupId>org.slf4j</groupId>
98       <artifactId>slf4j-simple</artifactId>
99       <scope>test</scope>
100     </dependency>
101     <dependency>
102       <groupId>org.sonarsource.java</groupId>
103       <artifactId>sonar-jacoco-listeners</artifactId>
104       <version>${sonar-jacoco-listeners.version}</version>
105       <scope>test</scope>
106     </dependency>
107   </dependencies>
108
109   <build>
110     <testResources>
111       <testResource>
112         <filtering>true</filtering>
113         <directory>src/test/resources</directory>
114       </testResource>
115     </testResources>
116     <plugins>
117       <plugin>
118         <groupId>org.apache.aries.blueprint</groupId>
119         <artifactId>blueprint-maven-plugin</artifactId>
120         <configuration>
121           <scanPaths>org.opendaylight.ovsdb.lib</scanPaths>
122         </configuration>
123       </plugin>
124       <plugin>
125         <groupId>org.apache.felix</groupId>
126         <artifactId>maven-bundle-plugin</artifactId>
127         <extensions>true</extensions>
128         <configuration>
129           <instructions>
130             <Export-Package>
131               org.opendaylight.ovsdb.lib,
132               org.opendaylight.ovsdb.lib.*,
133               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210
134             </Export-Package>
135           </instructions>
136         </configuration>
137       </plugin>
138       <plugin>
139         <groupId>org.apache.maven.plugins</groupId>
140         <artifactId>maven-surefire-plugin</artifactId>
141         <configuration>
142           <properties>
143             <property>
144               <name>listener</name>
145               <value>org.sonar.java.jacoco.JUnitListener</value>
146             </property>
147           </properties>
148         </configuration>
149       </plugin>
150       <plugin>
151         <groupId>org.jacoco</groupId>
152         <artifactId>jacoco-maven-plugin</artifactId>
153       </plugin>
154       <plugin>
155         <groupId>org.codehaus.mojo</groupId>
156         <artifactId>build-helper-maven-plugin</artifactId>
157         <executions>
158           <execution>
159             <id>attach-artifacts</id>
160             <goals>
161               <goal>attach-artifact</goal>
162             </goals>
163             <phase>package</phase>
164             <configuration>
165               <artifacts>
166                 <artifact>
167                   <file>${project.build.directory}/classes/initial/library.cfg</file>
168                   <type>cfg</type>
169                   <classifier>config</classifier>
170                 </artifact>
171               </artifacts>
172             </configuration>
173           </execution>
174         </executions>
175       </plugin>
176     </plugins>
177   </build>
178
179   <!--
180       Maven Site Configuration
181
182       The following configuration is necessary for maven-site-plugin to
183       correctly identify the correct deployment path for OpenDaylight Maven
184       sites.
185   -->
186   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
187
188   <distributionManagement>
189     <site>
190       <id>opendaylight-site</id>
191       <url>${nexus.site.url}/${project.artifactId}/</url>
192     </site>
193   </distributionManagement>
194 </project>