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