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