Inject the certificate manager in the constructor
[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.8.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.8.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     <sonar.jacoco.itReportPath>../it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
30   </properties>
31
32   <dependencies>
33     <dependency>
34       <groupId>com.fasterxml.jackson.core</groupId>
35       <artifactId>jackson-annotations</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>com.fasterxml.jackson.core</groupId>
39       <artifactId>jackson-core</artifactId>
40     </dependency>
41
42     <dependency>
43       <groupId>com.fasterxml.jackson.core</groupId>
44       <artifactId>jackson-databind</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.osgi</groupId>
48       <artifactId>org.osgi.core</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>com.google.guava</groupId>
52       <artifactId>guava</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>io.netty</groupId>
56       <artifactId>netty-handler</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>io.netty</groupId>
60       <artifactId>netty-transport</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.slf4j</groupId>
64       <artifactId>slf4j-api</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.aaa</groupId>
68       <artifactId>aaa-cert</artifactId>
69       <version>0.9.0-SNAPSHOT</version>
70     </dependency>
71     <dependency>
72       <groupId>javax.inject</groupId>
73       <artifactId>javax.inject</artifactId>
74     </dependency>
75
76     <!-- Testing Dependencies -->
77     <dependency>
78       <groupId>junit</groupId>
79       <artifactId>junit</artifactId>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>org.slf4j</groupId>
84       <artifactId>slf4j-simple</artifactId>
85       <scope>test</scope>
86     </dependency>
87     <dependency>
88       <groupId>org.mockito</groupId>
89       <artifactId>mockito-core</artifactId>
90       <scope>test</scope>
91     </dependency>
92     <dependency>
93       <groupId>org.sonarsource.java</groupId>
94       <artifactId>sonar-jacoco-listeners</artifactId>
95       <version>${sonar-jacoco-listeners.version}</version>
96       <scope>test</scope>
97     </dependency>
98   </dependencies>
99
100   <build>
101     <testResources>
102       <testResource>
103         <filtering>true</filtering>
104         <directory>src/test/resources</directory>
105       </testResource>
106     </testResources>
107     <plugins>
108       <plugin>
109         <groupId>org.apache.felix</groupId>
110         <artifactId>maven-bundle-plugin</artifactId>
111         <extensions>true</extensions>
112         <configuration>
113           <instructions>
114             <Export-Package>
115               org.opendaylight.ovsdb.lib,
116               org.opendaylight.ovsdb.lib.*,
117               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210
118             </Export-Package>
119           </instructions>
120         </configuration>
121       </plugin>
122       <plugin>
123         <groupId>org.apache.maven.plugins</groupId>
124         <artifactId>maven-surefire-plugin</artifactId>
125         <configuration>
126           <properties>
127             <property>
128               <name>listener</name>
129               <value>org.sonar.java.jacoco.JUnitListener</value>
130             </property>
131           </properties>
132         </configuration>
133       </plugin>
134       <plugin>
135         <groupId>org.jacoco</groupId>
136         <artifactId>jacoco-maven-plugin</artifactId>
137       </plugin>
138       <plugin>
139         <groupId>org.codehaus.mojo</groupId>
140         <artifactId>build-helper-maven-plugin</artifactId>
141         <executions>
142           <execution>
143             <id>attach-artifacts</id>
144             <goals>
145               <goal>attach-artifact</goal>
146             </goals>
147             <phase>package</phase>
148             <configuration>
149               <artifacts>
150                 <artifact>
151                   <file>${project.build.directory}/classes/initial/library.cfg</file>
152                   <type>cfg</type>
153                   <classifier>config</classifier>
154                 </artifact>
155               </artifacts>
156             </configuration>
157           </execution>
158         </executions>
159       </plugin>
160     </plugins>
161   </build>
162
163   <!--
164       Maven Site Configuration
165
166       The following configuration is necessary for maven-site-plugin to
167       correctly identify the correct deployment path for OpenDaylight Maven
168       sites.
169   -->
170   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
171
172   <distributionManagement>
173     <site>
174       <id>opendaylight-site</id>
175       <url>${nexus.site.url}/${project.artifactId}/</url>
176     </site>
177   </distributionManagement>
178 </project>