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