Bug 5306: Enable the SSL connection for ovs manager
[ovsdb.git] / library / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3 Copyright © 2014, 2016 Cisco Systems, Inc. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10
11   <parent>
12     <groupId>org.opendaylight.controller</groupId>
13     <artifactId>config-parent</artifactId>
14     <version>0.6.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.ovsdb</groupId>
20   <artifactId>library</artifactId>
21   <version>1.4.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23
24   <properties>
25     <sonar.jacoco.itReportPath>../it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
26   </properties>
27
28   <dependencies>
29     <dependency>
30       <groupId>com.fasterxml.jackson.core</groupId>
31       <artifactId>jackson-annotations</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>com.fasterxml.jackson.core</groupId>
35       <artifactId>jackson-core</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>com.fasterxml.jackson.core</groupId>
39       <artifactId>jackson-databind</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.osgi</groupId>
43       <artifactId>org.osgi.core</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>com.google.guava</groupId>
47       <artifactId>guava</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>io.netty</groupId>
51       <artifactId>netty-handler</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>io.netty</groupId>
55       <artifactId>netty-transport</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>org.slf4j</groupId>
59       <artifactId>slf4j-api</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.controller</groupId>
63       <artifactId>config-api</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.controller</groupId>
67       <artifactId>sal-binding-api</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.aaa</groupId>
71       <artifactId>aaa-cert</artifactId>
72       <version>0.5.0-SNAPSHOT</version>
73     </dependency>
74
75     <!-- Testing Dependencies -->
76     <dependency>
77       <groupId>junit</groupId>
78       <artifactId>junit</artifactId>
79       <scope>test</scope>
80     </dependency>
81     <dependency>
82       <groupId>org.slf4j</groupId>
83       <artifactId>slf4j-simple</artifactId>
84       <scope>test</scope>
85     </dependency>
86     <dependency>
87       <groupId>org.mockito</groupId>
88       <artifactId>mockito-all</artifactId>
89       <scope>test</scope>
90     </dependency>
91     <dependency>
92       <groupId>org.codehaus.sonar-plugins.java</groupId>
93       <artifactId>sonar-jacoco-listeners</artifactId>
94       <version>${sonar-jacoco-listeners.version}</version>
95       <scope>test</scope>
96     </dependency>
97   </dependencies>
98
99   <build>
100     <testResources>
101       <testResource>
102         <filtering>true</filtering>
103         <directory>src/test/resources</directory>
104       </testResource>
105     </testResources>
106     <plugins>
107       <plugin>
108         <groupId>org.apache.felix</groupId>
109         <artifactId>maven-bundle-plugin</artifactId>
110         <extensions>true</extensions>
111         <configuration>
112           <instructions>
113             <Export-Package>
114               org.opendaylight.ovsdb.lib,
115               org.opendaylight.ovsdb.lib.*,
116               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210
117             </Export-Package>
118           </instructions>
119         </configuration>
120       </plugin>
121       <plugin>
122         <groupId>org.apache.maven.plugins</groupId>
123         <artifactId>maven-checkstyle-plugin</artifactId>
124         <configuration>
125           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
126         </configuration>
127       </plugin>
128       <plugin>
129         <groupId>org.apache.maven.plugins</groupId>
130         <artifactId>maven-surefire-plugin</artifactId>
131         <configuration>
132           <properties>
133             <property>
134               <name>listener</name>
135               <value>org.sonar.java.jacoco.JUnitListener</value>
136             </property>
137           </properties>
138         </configuration>
139       </plugin>
140       <plugin>
141         <groupId>org.jacoco</groupId>
142         <artifactId>jacoco-maven-plugin</artifactId>
143       </plugin>
144       <plugin>
145         <groupId>org.codehaus.mojo</groupId>
146         <artifactId>build-helper-maven-plugin</artifactId>
147         <executions>
148           <execution>
149             <id>attach-artifacts</id>
150             <goals>
151               <goal>attach-artifact</goal>
152             </goals>
153             <phase>package</phase>
154             <configuration>
155               <artifacts>
156                 <artifact>
157                   <file>${project.build.directory}/classes/initial/library.cfg</file>
158                   <type>cfg</type>
159                   <classifier>config</classifier>
160                 </artifact>
161               </artifacts>
162             </configuration>
163           </execution>
164         </executions>
165       </plugin>
166     </plugins>
167   </build>
168
169   <!--
170       Maven Site Configuration
171
172       The following configuration is necessary for maven-site-plugin to
173       correctly identify the correct deployment path for OpenDaylight Maven
174       sites.
175   -->
176   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
177
178   <distributionManagement>
179     <site>
180       <id>opendaylight-site</id>
181       <url>${nexus.site.url}/${project.artifactId}/</url>
182     </site>
183   </distributionManagement>
184 </project>