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