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.10.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.10.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>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>org.slf4j</groupId>
69       <artifactId>slf4j-api</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.aaa</groupId>
73       <artifactId>aaa-cert</artifactId>
74       <version>0.11.0-SNAPSHOT</version>
75     </dependency>
76     <dependency>
77       <groupId>javax.inject</groupId>
78       <artifactId>javax.inject</artifactId>
79     </dependency>
80
81     <!-- Testing Dependencies -->
82     <dependency>
83       <groupId>org.slf4j</groupId>
84       <artifactId>slf4j-simple</artifactId>
85       <scope>test</scope>
86     </dependency>
87     <dependency>
88       <groupId>org.sonarsource.java</groupId>
89       <artifactId>sonar-jacoco-listeners</artifactId>
90       <version>${sonar-jacoco-listeners.version}</version>
91       <scope>test</scope>
92     </dependency>
93   </dependencies>
94
95   <build>
96     <testResources>
97       <testResource>
98         <filtering>true</filtering>
99         <directory>src/test/resources</directory>
100       </testResource>
101     </testResources>
102     <plugins>
103       <plugin>
104         <groupId>org.apache.aries.blueprint</groupId>
105         <artifactId>blueprint-maven-plugin</artifactId>
106         <configuration>
107           <scanPaths>org.opendaylight.ovsdb.lib</scanPaths>
108         </configuration>
109       </plugin>
110       <plugin>
111         <groupId>org.apache.felix</groupId>
112         <artifactId>maven-bundle-plugin</artifactId>
113         <extensions>true</extensions>
114         <configuration>
115           <instructions>
116             <Export-Package>
117               org.opendaylight.ovsdb.lib,
118               org.opendaylight.ovsdb.lib.*,
119               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210
120             </Export-Package>
121           </instructions>
122         </configuration>
123       </plugin>
124       <plugin>
125         <groupId>org.apache.maven.plugins</groupId>
126         <artifactId>maven-surefire-plugin</artifactId>
127         <configuration>
128           <properties>
129             <property>
130               <name>listener</name>
131               <value>org.sonar.java.jacoco.JUnitListener</value>
132             </property>
133           </properties>
134         </configuration>
135       </plugin>
136       <plugin>
137         <groupId>org.jacoco</groupId>
138         <artifactId>jacoco-maven-plugin</artifactId>
139       </plugin>
140       <plugin>
141         <groupId>org.codehaus.mojo</groupId>
142         <artifactId>build-helper-maven-plugin</artifactId>
143         <executions>
144           <execution>
145             <id>attach-artifacts</id>
146             <goals>
147               <goal>attach-artifact</goal>
148             </goals>
149             <phase>package</phase>
150             <configuration>
151               <artifacts>
152                 <artifact>
153                   <file>${project.build.directory}/classes/initial/library.cfg</file>
154                   <type>cfg</type>
155                   <classifier>config</classifier>
156                 </artifact>
157               </artifacts>
158             </configuration>
159           </execution>
160         </executions>
161       </plugin>
162     </plugins>
163   </build>
164
165   <!--
166       Maven Site Configuration
167
168       The following configuration is necessary for maven-site-plugin to
169       correctly identify the correct deployment path for OpenDaylight Maven
170       sites.
171   -->
172   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
173
174   <distributionManagement>
175     <site>
176       <id>opendaylight-site</id>
177       <url>${nexus.site.url}/${project.artifactId}/</url>
178     </site>
179   </distributionManagement>
180 </project>