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