Add NettyBootstrapFactory to hold OVSDB network threads
[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     <!-- 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>org.apache.aries.blueprint</groupId>
38       <artifactId>blueprint-maven-plugin-annotation</artifactId>
39       <optional>true</optional>
40     </dependency>
41     <dependency>
42       <groupId>com.fasterxml.jackson.core</groupId>
43       <artifactId>jackson-annotations</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>com.fasterxml.jackson.core</groupId>
47       <artifactId>jackson-core</artifactId>
48     </dependency>
49
50     <dependency>
51       <groupId>com.fasterxml.jackson.core</groupId>
52       <artifactId>jackson-databind</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.osgi</groupId>
56       <artifactId>org.osgi.core</artifactId>
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-handler</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>io.netty</groupId>
68       <artifactId>netty-transport</artifactId>
69     </dependency>
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       <version>0.11.0-SNAPSHOT</version>
78     </dependency>
79     <dependency>
80       <groupId>javax.inject</groupId>
81       <artifactId>javax.inject</artifactId>
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.aries.blueprint</groupId>
113         <artifactId>blueprint-maven-plugin</artifactId>
114         <configuration>
115           <scanPaths>org.opendaylight.ovsdb.lib</scanPaths>
116         </configuration>
117       </plugin>
118       <plugin>
119         <groupId>org.apache.felix</groupId>
120         <artifactId>maven-bundle-plugin</artifactId>
121         <extensions>true</extensions>
122         <configuration>
123           <instructions>
124             <Export-Package>
125               org.opendaylight.ovsdb.lib,
126               org.opendaylight.ovsdb.lib.*,
127               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210
128             </Export-Package>
129           </instructions>
130         </configuration>
131       </plugin>
132       <plugin>
133         <groupId>org.apache.maven.plugins</groupId>
134         <artifactId>maven-surefire-plugin</artifactId>
135         <configuration>
136           <properties>
137             <property>
138               <name>listener</name>
139               <value>org.sonar.java.jacoco.JUnitListener</value>
140             </property>
141           </properties>
142         </configuration>
143       </plugin>
144       <plugin>
145         <groupId>org.jacoco</groupId>
146         <artifactId>jacoco-maven-plugin</artifactId>
147       </plugin>
148       <plugin>
149         <groupId>org.codehaus.mojo</groupId>
150         <artifactId>build-helper-maven-plugin</artifactId>
151         <executions>
152           <execution>
153             <id>attach-artifacts</id>
154             <goals>
155               <goal>attach-artifact</goal>
156             </goals>
157             <phase>package</phase>
158             <configuration>
159               <artifacts>
160                 <artifact>
161                   <file>${project.build.directory}/classes/initial/library.cfg</file>
162                   <type>cfg</type>
163                   <classifier>config</classifier>
164                 </artifact>
165               </artifacts>
166             </configuration>
167           </execution>
168         </executions>
169       </plugin>
170     </plugins>
171   </build>
172
173   <!--
174       Maven Site Configuration
175
176       The following configuration is necessary for maven-site-plugin to
177       correctly identify the correct deployment path for OpenDaylight Maven
178       sites.
179   -->
180   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
181
182   <distributionManagement>
183     <site>
184       <id>opendaylight-site</id>
185       <url>${nexus.site.url}/${project.artifactId}/</url>
186     </site>
187   </distributionManagement>
188 </project>