ef51ed89b6c0596288dedb7ecdf6a69e0c6b41cb
[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.1-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.1-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     <dependency>
101       <groupId>org.osgi</groupId>
102       <artifactId>org.osgi.service.component.annotations</artifactId>
103     </dependency>
104
105     <!-- Testing Dependencies -->
106     <dependency>
107       <groupId>org.slf4j</groupId>
108       <artifactId>slf4j-simple</artifactId>
109       <scope>test</scope>
110     </dependency>
111     <dependency>
112       <groupId>org.apache.commons</groupId>
113       <artifactId>commons-lang3</artifactId>
114       <scope>test</scope>
115     </dependency>
116     <dependency>
117       <groupId>org.sonarsource.java</groupId>
118       <artifactId>sonar-jacoco-listeners</artifactId>
119       <version>${sonar-jacoco-listeners.version}</version>
120       <scope>test</scope>
121     </dependency>
122   </dependencies>
123
124   <build>
125     <testResources>
126       <testResource>
127         <filtering>true</filtering>
128         <directory>src/test/resources</directory>
129       </testResource>
130     </testResources>
131     <plugins>
132       <plugin>
133         <groupId>org.apache.felix</groupId>
134         <artifactId>maven-bundle-plugin</artifactId>
135         <extensions>true</extensions>
136         <configuration>
137           <instructions>
138             <Export-Package>
139               org.opendaylight.ovsdb.lib,
140               org.opendaylight.ovsdb.lib.*,
141               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210
142             </Export-Package>
143           </instructions>
144         </configuration>
145       </plugin>
146       <plugin>
147         <groupId>org.apache.maven.plugins</groupId>
148         <artifactId>maven-surefire-plugin</artifactId>
149         <configuration>
150           <properties>
151             <property>
152               <name>listener</name>
153               <value>org.sonar.java.jacoco.JUnitListener</value>
154             </property>
155           </properties>
156         </configuration>
157       </plugin>
158       <plugin>
159         <groupId>org.jacoco</groupId>
160         <artifactId>jacoco-maven-plugin</artifactId>
161       </plugin>
162       <plugin>
163         <groupId>org.codehaus.mojo</groupId>
164         <artifactId>build-helper-maven-plugin</artifactId>
165         <executions>
166           <execution>
167             <id>attach-artifacts</id>
168             <goals>
169               <goal>attach-artifact</goal>
170             </goals>
171             <phase>package</phase>
172             <configuration>
173               <artifacts>
174                 <artifact>
175                   <file>${project.build.directory}/classes/initial/library.cfg</file>
176                   <type>cfg</type>
177                   <classifier>config</classifier>
178                 </artifact>
179               </artifacts>
180             </configuration>
181           </execution>
182         </executions>
183       </plugin>
184     </plugins>
185   </build>
186
187   <!--
188       Maven Site Configuration
189
190       The following configuration is necessary for maven-site-plugin to
191       correctly identify the correct deployment path for OpenDaylight Maven
192       sites.
193   -->
194   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
195
196   <distributionManagement>
197     <site>
198       <id>opendaylight-site</id>
199       <url>${nexus.site.url}/${project.artifactId}/</url>
200     </site>
201   </distributionManagement>
202 </project>