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